/[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.3 - (hide annotations) (download)
Tue Oct 12 08:47:52 2021 UTC (3 years ago) by brianr
Branch: MAIN
CVS Tags: smeserver-hylafax-0_9-11_el7_sme
Changes since 1.2: +14 -5 lines
* Mon Oct 11 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-11.sme
- Add-Update-event-to-createlinks.patch [SME: 11269]

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

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