/[smeserver]/rpms/e-smith-pop3/sme7/e-smith-pop3.spec
ViewVC logotype

Contents of /rpms/e-smith-pop3/sme7/e-smith-pop3.spec

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


Revision 1.1 - (show annotations) (download)
Tue Jun 12 15:57:11 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-pop3-1_2_0-3_el4_sme
Import on branch sme7 of package e-smith-pop3-1.2.0-3.el4.sme.src.rpm

1 Summary: startup scripts for pop3 package
2 %define name e-smith-pop3
3 Name: %{name}
4 %define version 1.2.0
5 %define release 3
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GPL
9 Group: Networking/Daemons
10 Source: %{name}-%{version}.tar.gz
11 Patch0: e-smith-pop3-1.2.0-startstop.patch
12 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13 BuildRequires: e-smith-devtools >= 1.13.0-04
14 BuildArchitectures: noarch
15 Requires: e-smith-email
16 Requires: runit
17 Requires: qmail
18 Requires: checkpassword
19 Obsoletes: e-smith-ssl-popd
20 AutoReqProv: no
21
22 %changelog
23 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
24 - Clean up spec so package can be built by koji/plague
25
26 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
27 - Update to new release naming. No functional changes.
28 - Make Packager generic
29
30 * Fri Mar 24 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-02
31 - Ensure that pop3 and pop3s are started or stopped if required,
32 during email-update event. [SME: 1125]
33
34 * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01
35 - Roll stable stream version. [SME: 1016]
36
37 * Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-04
38 - Move pop3[s] defaults from e-smith-email [SME: 561]
39
40 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-03
41 - Bump release number only
42
43 * Thu Sep 15 2005 Charlie Brady <charlieb@e-smith.com>
44 - [1.1.0-02]
45 - Fix port name pop->pop3 (to match change in /etc/services).
46 [SF: 1291836]
47
48 * Wed Aug 10 2001 Shad L. Lords <slords@mail.com>
49 - [1.1.0-01]
50 - initial release (split from e-smith-email-4.15.2-27).
51
52 %description
53 Startup scripts for pop3 package.
54
55 %prep
56 %setup
57 %patch0 -p1
58
59 %build
60 perl createlinks
61
62 mkdir -p root/service
63 for i in pop3 pop3s
64 do
65 mkdir -p root/var/service/$i/peers
66 mkdir -p root/etc/e-smith/templates/var/service/$i/peers
67 mkdir -p root/etc/e-smith/templates/var/service/$i/peers/{0,local}
68 touch root/etc/e-smith/templates/var/service/$i/peers/{0,local}/template-begin
69 touch root/var/service/$i/down
70 ln -s /var/service/$i root/service/$i
71 done
72 mkdir -p root/var/log/pop3
73 mkdir -p root/var/log/pop3s
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
78 rm -f %{name}-%{version}-%{release}-filelist
79 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
80 --dir /var/log/pop3 'attr(0750,smelog,smelog)' \
81 --dir /var/service/pop3 'attr(01755,root,root)' \
82 --dir /var/service/pop3/control 'attr(01755,root,root)' \
83 --file /var/service/pop3/control/1 'attr(0750,root,root)' \
84 --file /var/service/pop3s/run 'attr(0750,root,root)' \
85 --file /var/service/pop3s/log/run 'attr(0750,root,root)' \
86 --dir '/var/log/pop3s' 'attr(2750,smelog,smelog)' \
87 --file /var/service/pop3/run 'attr(0750,root,root)' \
88 --file /var/service/pop3/log/run 'attr(0750,root,root)' \
89 > %{name}-%{version}-%{release}-filelist
90 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %pre
96 %preun
97 %post
98 %postun
99
100 %files -f %{name}-%{version}-%{release}-filelist
101 %defattr(-,root,root)

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