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

Contents of /rpms/smeserver-hylafax/contribs7/smeserver-hylafax-0.9.spec

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


Revision 1.3 - (show annotations) (download)
Sat Dec 22 22:18:30 2007 UTC (16 years, 5 months ago) by slords
Branch: MAIN
Changes since 1.2: +0 -2 lines
Remove Packager/Distribution (added by buildsys)

1 Summary: Set up hylafax for sending and receiving facsimiles.
2 %define name smeserver-hylafax
3 Name: %{name}
4 %define version 0.9
5 %define release 4
6 Version: %{version}
7 Release: %{release}%{?dist}
8 Vendor: http://www.hylafax.org/
9 License: GPL
10 URL: http://www.hylafax.org/
11 Group: Mitel/addon
12 Source: %{name}-%{version}.tar.gz
13 BuildRoot: /var/tmp/%{name}-%{version}
14 BuildArchitectures: noarch
15 Requires: e-smith-release >= 7.1
16 Requires: hylafax >= 4.3
17 AutoReqProv: no
18
19 %description
20 HylaFAX is an enterprise-class system for sending and receiving facsimiles
21
22 %changelog
23 * Wed Feb 28 2007 Stephen Noble <stephen@dungog.net> 0.9-4
24 - rename to /var/spool/hylafax/mimetype/image/tiff
25 - touch /var/spool/hylafax/etc/xferfaxlog
26
27 * Wed Feb 14 2007 Stephen Noble <stephen@dungog.net> 0.9-3
28 - FaxSender user added
29
30 * Sun Feb 11 2007 Stephen Noble <stephen@dungog.net> 0.9-2
31 - FaxNotify added, virtualdomains altered
32
33 * Sat Feb 10 2007 Stephen Noble <stephen@dungog.net> 0.9-1
34 - initial release
35
36 %prep
37 %setup
38
39 %build
40 perl createlinks
41
42 mkdir -p root/etc/e-smith/db/configuration/defaults/hylafax
43 echo "service" > root/etc/e-smith/db/configuration/defaults/hylafax/type
44 echo "enabled" > root/etc/e-smith/db/configuration/defaults/hylafax/status
45 echo "ttyS0" > root/etc/e-smith/db/configuration/defaults/hylafax/port
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
50 rm -f %{name}-%{version}-filelist
51 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
52 --file '/var/spool/hylafax/mimetype/application/pdf' 'attr(0755,root,root)' \
53 --file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \
54 --file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \
55 --file '/etc/hylafax/etc/mailfax' 'attr(0755,root,root)' \
56 > %{name}-%{version}-filelist
57 echo "%doc COPYING" >> %{name}-%{version}-filelist
58
59 %clean
60 cd ..
61 rm -rf %{name}-%{version}
62
63 %pre
64 %preun
65 %post
66 /sbin/e-smith/expand-template /etc/hylafax/hyla.conf
67 /sbin/e-smith/expand-template /etc/inittab
68 /bin/rm -f /etc/cron.daily/hylafax
69 /bin/touch /var/spool/hylafax/etc/xferfaxlog
70 echo "see http://wiki.contribs.org/HylaFax"
71
72 %postun
73 /sbin/e-smith/expand-template /etc/inittab
74 /sbin/init q
75
76 %files -f %{name}-%{version}-filelist
77 %defattr(-,root,root)

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