/[smecontribs]/rpms/smeserver-hylafax/contribs10/smeserver-hylafax.spec
ViewVC logotype

Contents of /rpms/smeserver-hylafax/contribs10/smeserver-hylafax.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Fri Oct 15 10:41:16 2021 UTC (2 years, 7 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-hylafax-0_9-13_el7_sme
Changes since 1.4: +7 -4 lines
* Fri Oct 15 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-13.sme
- Reverse out release 12 changes. [SME: 11269]

1 # $Id: smeserver-hylafax.spec,v 1.4 2021/10/14 12:24:11 brianr Exp $
2 # Authority: dungog
3 # Name: Stephen Noble
4
5 %define name smeserver-hylafax
6 %define version 0.9
7 %define release 13
8 Summary: Set up hylafax for sending and receiving facsimiles.
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GNU GPL version 2
13 URL: http://www.hylafax.org/
14 Group: SMEserver/addon
15 Source: %{name}-%{version}.tar.gz
16 Patch1: smeserver-hylafax-0.9-6.symlink.patch
17 Patch2: smeserver-hylafax-0.9.sme9.patch
18 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
22 BuildRoot: /var/tmp/%{name}-%{version}
23 BuildArchitectures: noarch
24 BuildRequires: e-smith-devtools >= 1.13.1-03
25 Requires: e-smith-release >= 7.1
26 Requires: hylafax >= 4.3
27 AutoReqProv: no
28
29 %description
30 HylaFAX is an enterprise-class system for sending and receiving facsimiles
31
32 %changelog
33 * Fri Oct 15 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-13.sme
34 - Reverse out release 12 changes. [SME: 11269]
35
36 * Wed Oct 13 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-12.sme
37 - Add restart event without conf expand as faxsetup writes to it [SME: 11269]
38
39 * Mon Oct 11 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-11.sme
40 - Add-Update-event-to-createlinks.patch [SME: 11269]
41
42 * Fri Dec 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.9-10.sme
43 - Initial import to SME10 [SME:11269 ]
44 - Take-out-initd-calls-in-createlinks-file
45
46 * Wed May 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.9-9.sme
47 - fix permission problem on xferfaxlog [SME: 7828]
48 - r9: avoid xferfaxlog from being replaced on update
49
50 * Tue May 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.9-7.sme
51 - fix hylafax does not start on SME9 [SME: 9485]
52 - thank to bunkobugsy for reporting and providing the solution
53
54 * Wed Sep 12 2007 John H. Bennett III <bennettj@johnbennettservices.com> 0.9-6
55 - Patch to move the files that were being copied to
56 /etc/hylafax/etx to var/spool/hylafax/etc/ so that
57 a yum install will install all RPM's without any errors
58 - Modify spec file to change directory where the permissions
59 are applied to for mailfax
60
61 * Thu Jul 05 2007 Stephen Noble <support@dungog.net>
62 - Build on lordsfam
63
64 * Mon Jun 11 2007 Stephen Noble <support@dungog.net> 0.9-5
65 - mimetype/application/pdf fixed [SME: 3000]
66 - FaxNotify fixed [SME: 3000]
67 - if (status eq disabled) hylafax is removed from inittab
68
69 * Wed Feb 28 2007 Stephen Noble <support@dungog.net> 0.9-4
70 - rename to /var/spool/hylafax/mimetype/image/tiff
71 - touch /var/spool/hylafax/etc/xferfaxlog
72
73 * Wed Feb 14 2007 Stephen Noble <support@dungog.net> 0.9-3
74 - FaxSender user added
75
76 * Sun Feb 11 2007 Stephen Noble <support@dungog.net> 0.9-2
77 - FaxNotify added, virtualdomains altered
78
79 * Sat Feb 10 2007 Stephen Noble <support@dungog.net> 0.9-1
80 - initial release
81
82 %prep
83 %setup
84
85 %patch1 -p1
86 %patch2 -p1
87 %patch3 -p1
88 %patch4 -p1
89 #%patch5 -p1 - Reverse out rleease 12 changes.
90
91
92 %build
93 perl createlinks
94
95 mkdir -p root/etc/e-smith/db/configuration/defaults/hylafax
96 echo "service" > root/etc/e-smith/db/configuration/defaults/hylafax/type
97 echo "enabled" > root/etc/e-smith/db/configuration/defaults/hylafax/status
98 echo "ttyS0" > root/etc/e-smith/db/configuration/defaults/hylafax/port
99 #/bin/touch root/var/spool/hylafax/etc/xferfaxlog
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
104 rm -f %{name}-%{version}-filelist
105 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
106 --file '/var/spool/hylafax/mimetype/application/pdf' 'attr(0755,root,root)' \
107 --file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \
108 --file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \
109 --file '/var/spool/hylafax/etc/mailfax' 'attr(0755,root,root)' \
110 --ignoredir '/var/spool/hylafax' \
111 --ignoredir '/var/spool/hylafax/etc' \
112 > %{name}-%{version}-filelist
113 echo "%doc COPYING" >> %{name}-%{version}-filelist
114
115 %clean
116 cd ..
117 rm -rf %{name}-%{version}
118
119 %pre
120 %preun
121 %post
122 # remarq as this should not be here
123 #/sbin/e-smith/expand-template /etc/hylafax/hyla.conf
124 #/sbin/e-smith/expand-template /etc/init/ttyS0.conf
125 #/bin/rm -f /etc/cron.daily/hylafax
126 #/bin/touch /var/spool/hylafax/etc/xferfaxlog
127 echo "*****************************************"
128 echo "* See http://wiki.contribs.org/HylaFax *"
129 echo "* Remember to run /usr/sbin/faxsetup *"
130 echo "*****************************************"
131
132 %postun
133 #/sbin/e-smith/expand-template /etc/inittab
134 #/sbin/init q
135
136 %files -f %{name}-%{version}-filelist
137 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed