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

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

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

Revision 1.1 by brianr, Fri Dec 18 12:12:07 2020 UTC Revision 1.4 by brianr, Thu Oct 14 12:24:11 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-hylafax.spec,v 1.4 2016/05/05 04:03:55 unnilennium Exp $  # $Id: smeserver-hylafax.spec,v 1.3 2021/10/12 08:47:52 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 12
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}
# Line 15  Group: SMEserver/addon Line 15  Group: SMEserver/addon
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    Patch4: smeserver-hylafax-0.9-Add-Update-event-to-createlinks.patch
20    Patch5: smeserver-hylafax-0.9-Add-restart-event-without-conf-expand.patch
21    
22  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
23  BuildArchitectures: noarch  BuildArchitectures: noarch
24  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
# Line 26  AutoReqProv: no Line 30  AutoReqProv: no
30  HylaFAX is an enterprise-class system for sending and receiving facsimiles  HylaFAX is an enterprise-class system for sending and receiving facsimiles
31    
32  %changelog  %changelog
33    * Wed Oct 13 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-12.sme
34    - Add restart event without conf expand as faxsetup writes to it [SME: 11269]
35    
36    * Mon Oct 11 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-11.sme
37    - Add-Update-event-to-createlinks.patch [SME: 11269]
38    
39    * Fri Dec 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.9-10.sme
40    - Initial import to SME10 [SME:11269 ]
41    - Take-out-initd-calls-in-createlinks-file
42    
43  * 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
44  - fix permission problem on xferfaxlog [SME: 7828]  - fix permission problem on xferfaxlog [SME: 7828]
45  - r9: avoid xferfaxlog from being replaced on update  - r9: avoid xferfaxlog from being replaced on update
# Line 67  HylaFAX is an enterprise-class system fo Line 81  HylaFAX is an enterprise-class system fo
81    
82  %patch1 -p1  %patch1 -p1
83  %patch2 -p1  %patch2 -p1
84    %patch3 -p1
85    %patch4 -p1
86    %patch5 -p1
87    
88    
89  %build  %build
# Line 76  mkdir -p          root/etc/e-smith/db/co Line 93  mkdir -p          root/etc/e-smith/db/co
93  echo "service"  > root/etc/e-smith/db/configuration/defaults/hylafax/type  echo "service"  > root/etc/e-smith/db/configuration/defaults/hylafax/type
94  echo "enabled"  > root/etc/e-smith/db/configuration/defaults/hylafax/status  echo "enabled"  > root/etc/e-smith/db/configuration/defaults/hylafax/status
95  echo "ttyS0"    > root/etc/e-smith/db/configuration/defaults/hylafax/port  echo "ttyS0"    > root/etc/e-smith/db/configuration/defaults/hylafax/port
96  /bin/touch        root/var/spool/hylafax/etc/xferfaxlog  #/bin/touch       root/var/spool/hylafax/etc/xferfaxlog
97    
98  %install  %install
99  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 87  rm -f %{name}-%{version}-filelist Line 104  rm -f %{name}-%{version}-filelist
104       --file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \       --file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \
105       --file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \       --file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \
106       --file '/var/spool/hylafax/etc/mailfax' 'attr(0755,root,root)' \       --file '/var/spool/hylafax/etc/mailfax' 'attr(0755,root,root)' \
107       --file '/var/spool/hylafax/etc/xferfaxlog' 'config(noreplace) %attr(0755,uucp,uucp)' \       --ignoredir '/var/spool/hylafax' \
108         --ignoredir '/var/spool/hylafax/etc' \
109       > %{name}-%{version}-filelist       > %{name}-%{version}-filelist
110  echo "%doc COPYING" >> %{name}-%{version}-filelist  echo "%doc COPYING" >> %{name}-%{version}-filelist
111    
# Line 103  rm -rf %{name}-%{version} Line 121  rm -rf %{name}-%{version}
121  #/sbin/e-smith/expand-template /etc/init/ttyS0.conf  #/sbin/e-smith/expand-template /etc/init/ttyS0.conf
122  #/bin/rm -f /etc/cron.daily/hylafax  #/bin/rm -f /etc/cron.daily/hylafax
123  #/bin/touch /var/spool/hylafax/etc/xferfaxlog  #/bin/touch /var/spool/hylafax/etc/xferfaxlog
124  #echo "see http://wiki.contribs.org/HylaFax"  echo "*****************************************"
125    echo "*  See http://wiki.contribs.org/HylaFax  *"
126    echo "*  Remember to run /usr/sbin/faxsetup    *"
127    echo "*****************************************"
128    
129  %postun  %postun
130  /sbin/e-smith/expand-template /etc/inittab  #/sbin/e-smith/expand-template /etc/inittab
131  /sbin/init q  #/sbin/init q
132    
133  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
134  %defattr(-,root,root)  %defattr(-,root,root)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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