1 |
# $Id: smeserver-hylafax.spec,v 1.1 2020/12/18 12:12:07 brianr Exp $ |
# $Id: smeserver-hylafax.spec,v 1.5 2021/10/15 10:41:16 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 10 |
%define release 14 |
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} |
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 |
Patch3: smeserver-hylafax-0.9-Take-out-initd-calls-in-createlinks-file.patch |
19 |
|
Patch4: smeserver-hylafax-0.9-Add-Update-event-to-createlinks.patch |
20 |
|
#Patch5: smeserver-hylafax-0.9-Add-restart-event-without-conf-expand.patch - reverse out Release 12 |
21 |
|
Patch5: smeserver-hylafax-0.9-Add-mailfax-change-from-wiki-and-faxsetup-conf-additions.patch |
22 |
|
|
23 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
31 |
HylaFAX is an enterprise-class system for sending and receiving facsimiles |
HylaFAX is an enterprise-class system for sending and receiving facsimiles |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Fri Oct 15 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-14.sme |
35 |
|
- Add conf fragment for faxsetup fonts [SME: ] |
36 |
|
- Edit in Mailfax changes from wiki |
37 |
|
|
38 |
|
|
39 |
|
* Fri Oct 15 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-13.sme |
40 |
|
- Reverse out release 12 changes. [SME: 11269] |
41 |
|
|
42 |
|
* Wed Oct 13 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-12.sme |
43 |
|
- Add restart event without conf expand as faxsetup writes to it [SME: 11269] |
44 |
|
|
45 |
|
* Mon Oct 11 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-11.sme |
46 |
|
- Add-Update-event-to-createlinks.patch [SME: 11269] |
47 |
|
|
48 |
* Fri Dec 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.9-10.sme |
* Fri Dec 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.9-10.sme |
49 |
- Initial import to SME10 [SME:11269 ] |
- Initial import to SME10 [SME:11269 ] |
50 |
- Take-out-initd-calls-in-createlinks-file |
- Take-out-initd-calls-in-createlinks-file |
91 |
%patch1 -p1 |
%patch1 -p1 |
92 |
%patch2 -p1 |
%patch2 -p1 |
93 |
%patch3 -p1 |
%patch3 -p1 |
94 |
|
%patch4 -p1 |
95 |
|
#%patch5 -p1 - Reverse out release 12 changes. |
96 |
|
%patch5 -p1 |
97 |
|
|
98 |
|
|
99 |
%build |
%build |
131 |
#/sbin/e-smith/expand-template /etc/init/ttyS0.conf |
#/sbin/e-smith/expand-template /etc/init/ttyS0.conf |
132 |
#/bin/rm -f /etc/cron.daily/hylafax |
#/bin/rm -f /etc/cron.daily/hylafax |
133 |
#/bin/touch /var/spool/hylafax/etc/xferfaxlog |
#/bin/touch /var/spool/hylafax/etc/xferfaxlog |
134 |
#echo "see http://wiki.contribs.org/HylaFax" |
echo "*****************************************" |
135 |
|
echo "* See http://wiki.contribs.org/HylaFax *" |
136 |
|
echo "* Remember to run /usr/sbin/faxsetup *" |
137 |
|
echo "*****************************************" |
138 |
|
|
139 |
%postun |
%postun |
140 |
/sbin/e-smith/expand-template /etc/inittab |
#/sbin/e-smith/expand-template /etc/inittab |
141 |
/sbin/init q |
#/sbin/init q |
142 |
|
|
143 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
144 |
%defattr(-,root,root) |
%defattr(-,root,root) |