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

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

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

Revision 1.1 by unnilennium, Tue May 3 05:09:48 2016 UTC Revision 1.4 by unnilennium, Thu May 5 04:03:55 2016 UTC
# Line 1  Line 1 
1  # $Id: smeserver-hylafax.spec,v 1.1 2013/05/24 20:46:32 unnilennium Exp $  # $Id: smeserver-hylafax.spec,v 1.3 2016/05/05 03:25:19 unnilennium 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 6  %define release 9
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 14  URL: http://www.hylafax.org/ Line 14  URL: http://www.hylafax.org/
14  Group: SMEserver/addon  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
18  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
19  BuildArchitectures: noarch  BuildArchitectures: noarch
20  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
# Line 25  AutoReqProv: no Line 26  AutoReqProv: no
26  HylaFAX is an enterprise-class system for sending and receiving facsimiles  HylaFAX is an enterprise-class system for sending and receiving facsimiles
27    
28  %changelog  %changelog
29    * Wed May 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.9-9.sme
30    - fix permission problem on xferfaxlog [SME: 7828]
31    - r9: avoid xferfaxlog from being replaced on update
32    
33    * Tue May 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.9-7.sme
34    - fix hylafax does not start on SME9 [SME: 9485]
35    - thank to bunkobugsy for reporting and providing the solution
36    
37  * Wed Sep 12 2007 John H. Bennett III <bennettj@johnbennettservices.com> 0.9-6  * Wed Sep 12 2007 John H. Bennett III <bennettj@johnbennettservices.com> 0.9-6
38  - Patch to move the files that were being copied to  - Patch to move the files that were being copied to
39    /etc/hylafax/etx to var/spool/hylafax/etc/ so that    /etc/hylafax/etx to var/spool/hylafax/etc/ so that
# Line 57  HylaFAX is an enterprise-class system fo Line 66  HylaFAX is an enterprise-class system fo
66  %setup  %setup
67    
68  %patch1 -p1  %patch1 -p1
69    %patch2 -p1
70    
71    
72  %build  %build
73  perl createlinks  perl createlinks
# Line 65  mkdir -p          root/etc/e-smith/db/co Line 76  mkdir -p          root/etc/e-smith/db/co
76  echo "service"  > root/etc/e-smith/db/configuration/defaults/hylafax/type  echo "service"  > root/etc/e-smith/db/configuration/defaults/hylafax/type
77  echo "enabled"  > root/etc/e-smith/db/configuration/defaults/hylafax/status  echo "enabled"  > root/etc/e-smith/db/configuration/defaults/hylafax/status
78  echo "ttyS0"    > root/etc/e-smith/db/configuration/defaults/hylafax/port  echo "ttyS0"    > root/etc/e-smith/db/configuration/defaults/hylafax/port
79    /bin/touch        root/var/spool/hylafax/etc/xferfaxlog
80    
81  %install  %install
82  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 75  rm -f %{name}-%{version}-filelist Line 87  rm -f %{name}-%{version}-filelist
87       --file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \       --file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \
88       --file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \       --file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \
89       --file '/var/spool/hylafax/etc/mailfax' 'attr(0755,root,root)' \       --file '/var/spool/hylafax/etc/mailfax' 'attr(0755,root,root)' \
90         --file '/var/spool/hylafax/etc/xferfaxlog' 'config(noreplace) %attr(0755,uucp,uucp)' \
91       > %{name}-%{version}-filelist       > %{name}-%{version}-filelist
92  echo "%doc COPYING" >> %{name}-%{version}-filelist  echo "%doc COPYING" >> %{name}-%{version}-filelist
93    
# Line 85  rm -rf %{name}-%{version} Line 98  rm -rf %{name}-%{version}
98  %pre  %pre
99  %preun  %preun
100  %post  %post
101  /sbin/e-smith/expand-template /etc/hylafax/hyla.conf  # remarq as this should not be here
102  /sbin/e-smith/expand-template /etc/inittab  #/sbin/e-smith/expand-template /etc/hylafax/hyla.conf
103  /bin/rm -f /etc/cron.daily/hylafax  #/sbin/e-smith/expand-template /etc/init/ttyS0.conf
104  /bin/touch /var/spool/hylafax/etc/xferfaxlog  #/bin/rm -f /etc/cron.daily/hylafax
105  echo "see http://wiki.contribs.org/HylaFax"  #/bin/touch /var/spool/hylafax/etc/xferfaxlog
106    #echo "see http://wiki.contribs.org/HylaFax"
107    
108  %postun  %postun
109  /sbin/e-smith/expand-template /etc/inittab  /sbin/e-smith/expand-template /etc/inittab


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