1 |
# $Id: smeserver-hylafax.spec,v 1.4 2016/05/05 04:03:55 unnilennium Exp $ |
# $Id: smeserver-hylafax.spec,v 1.1 2020/12/18 12:12:07 brianr Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-hylafax |
%define name smeserver-hylafax |
6 |
%define version 0.9 |
%define version 0.9 |
7 |
%define release 9 |
%define release 10 |
8 |
Summary: Set up hylafax for sending and receiving facsimiles. |
Summary: Set up hylafax for sending and receiving facsimiles. |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch1: smeserver-hylafax-0.9-6.symlink.patch |
Patch1: smeserver-hylafax-0.9-6.symlink.patch |
17 |
Patch2: smeserver-hylafax-0.9.sme9.patch |
Patch2: smeserver-hylafax-0.9.sme9.patch |
18 |
|
Patch3: smeserver-hylafax-0.9-Take-out-initd-calls-in-createlinks-file.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
HylaFAX is an enterprise-class system for sending and receiving facsimiles |
HylaFAX is an enterprise-class system for sending and receiving facsimiles |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Fri Dec 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.9-10.sme |
31 |
|
- Initial import to SME10 [SME:11269 ] |
32 |
|
- Take-out-initd-calls-in-createlinks-file |
33 |
|
|
34 |
* Wed May 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.9-9.sme |
* Wed May 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.9-9.sme |
35 |
- fix permission problem on xferfaxlog [SME: 7828] |
- fix permission problem on xferfaxlog [SME: 7828] |
36 |
- r9: avoid xferfaxlog from being replaced on update |
- r9: avoid xferfaxlog from being replaced on update |
72 |
|
|
73 |
%patch1 -p1 |
%patch1 -p1 |
74 |
%patch2 -p1 |
%patch2 -p1 |
75 |
|
%patch3 -p1 |
76 |
|
|
77 |
|
|
78 |
%build |
%build |
82 |
echo "service" > root/etc/e-smith/db/configuration/defaults/hylafax/type |
echo "service" > root/etc/e-smith/db/configuration/defaults/hylafax/type |
83 |
echo "enabled" > root/etc/e-smith/db/configuration/defaults/hylafax/status |
echo "enabled" > root/etc/e-smith/db/configuration/defaults/hylafax/status |
84 |
echo "ttyS0" > root/etc/e-smith/db/configuration/defaults/hylafax/port |
echo "ttyS0" > root/etc/e-smith/db/configuration/defaults/hylafax/port |
85 |
/bin/touch root/var/spool/hylafax/etc/xferfaxlog |
#/bin/touch root/var/spool/hylafax/etc/xferfaxlog |
86 |
|
|
87 |
%install |
%install |
88 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
93 |
--file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \ |
--file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \ |
94 |
--file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \ |
--file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \ |
95 |
--file '/var/spool/hylafax/etc/mailfax' 'attr(0755,root,root)' \ |
--file '/var/spool/hylafax/etc/mailfax' 'attr(0755,root,root)' \ |
96 |
--file '/var/spool/hylafax/etc/xferfaxlog' 'config(noreplace) %attr(0755,uucp,uucp)' \ |
--ignoredir '/var/spool/hylafax' \ |
97 |
|
--ignoredir '/var/spool/hylafax/etc' \ |
98 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
99 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
100 |
|
|