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

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

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


Revision 1.6 - (hide annotations) (download)
Fri Oct 15 11:37:54 2021 UTC (2 years, 7 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-hylafax-0_9-14_el7_sme
Changes since 1.5: +10 -3 lines
* Fri Oct 15 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-14.sme
- Add conf fragment for faxsetup fonts [SME: ]
- Edit in Mailfax changes from wiki

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

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