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

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

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


Revision 1.2 - (hide annotations) (download)
Tue May 3 05:29:10 2016 UTC (8 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-hylafax-0_9-7_el6_sme
Changes since 1.1: +9 -2 lines
* Tue May 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.9-7.sme
- fix hylafax does not start on SME9 [SME: 9485]
- thank to bunkobugsy for reporting and providing the solution

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

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