source: projects/specs/trunk/c/courier-imap/courier-imap-vl.spec @ 3277

Revision 3277, 5.8 KB checked in by iwaim, 13 years ago (diff)

courier-imap-4.8.1-1

Line 
1Summary: Courier-IMAP IMAP server
2Name: courier-imap
3Version: 4.8.1
4Release: 1%{?_dist_release}
5License: GPL
6Group: System Environment/Daemons
7Source: http://prdownloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
8Patch: courier-imap-startconf.patch
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10Requires: /sbin/chkconfig
11Requires: courier-authlib
12BuildRequires: openssl-devel gdbm-devel pam-devel
13BuildRequires: courier-authlib-devel
14BuildRequires: libidn-devel
15
16Vendor: Project Vine
17Distribution: Vine Linux
18Packager: iwaim
19
20%description
21Courier-IMAP is an IMAP server for Maildir mailboxes.  This package contains
22the standalone version of the IMAP server that's included in the Courier
23mail server package.  This package is a standalone version for use with
24other mail servers.  Do not install this package if you intend to install the
25full Courier mail server.  Install the Courier package instead.
26
27
28%prep
29%setup -q
30%patch -b .orig
31
32cp imap/README README.imap
33cp imap/README.proxy* .
34cp maildir/README.maildirquota.txt README.maildirquota
35cp maildir/README.sharedfolders.txt README.sharedfolders
36
37
38%build
39%configure \
40        --bindir=%{_sbindir} \
41        --sysconfdir=%{_sysconfdir}/%{name} \
42        --libexecdir=%{_libexecdir}/%{name} \
43        --datadir=%{_datadir}/%{name} \
44        --localstatedir=/var/run \
45        --enable-unicode \
46        --with-redhat
47        #--with-authdaemonvar=/var/run/authdaemon.%{name} \
48        #--without-authldap \
49        #--without-authmysql \
50        #--without-authpgsql \
51
52make
53make check
54
55%install
56rm -rf %{buildroot}
57mkdir -p %{buildroot}/etc/pam.d
58make install-strip DESTDIR=%{buildroot}
59
60mkdir -p %{buildroot}/%{_initdir}
61install -m 755 courier-imap.sysvinit %{buildroot}%{_initdir}/courier-imap
62
63
64cd %{buildroot}/%{_sysconfdir}/%{name}
65for dist in *.dist; do
66        mv $dist ${dist%.dist}
67done
68cd -
69
70touch %{buildroot}/var/run/imapd.pid
71touch %{buildroot}/var/run/imapd-ssl.pid
72touch %{buildroot}/var/run/imapd.pid.lock
73touch %{buildroot}/var/run/imapd-ssl.pid.lock
74
75touch %{buildroot}/var/run/pop3d.pid
76touch %{buildroot}/var/run/pop3d-ssl.pid
77touch %{buildroot}/var/run/pop3d.pid.lock
78touch %{buildroot}/var/run/pop3d-ssl.pid.lock
79
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84
85%post
86/sbin/chkconfig --del courier-imap
87/sbin/chkconfig --add courier-imap
88
89
90%preun
91if test "$1" = "0"
92then
93        rm -f /var/run/couriersslcache
94        /sbin/chkconfig --del courier-imap
95fi
96
97%{_libexecdir}/%{name}/imapd.rc stop
98%{_libexecdir}/%{name}/imapd-ssl.rc stop
99%{_libexecdir}/%{name}/pop3d.rc stop
100%{_libexecdir}/%{name}/pop3d-ssl.rc stop
101
102
103
104%files
105%defattr(-,root,root)
106%doc NEWS AUTHORS COPYING imap/BUGS README README.imap README.maildirquota
107%doc README.sharedfolders
108%doc README.proxy*
109%dir %{_sysconfdir}/%{name}
110%config %{_sysconfdir}/%{name}/*
111%config %{_sysconfdir}/pam.d/imap
112%config %{_sysconfdir}/pam.d/pop3
113%{_initdir}/courier-imap
114%{_libexecdir}/courier-imap/
115%{_sbindir}/*
116%{_datadir}/courier-imap/
117%{_mandir}/man*/*
118%ghost /var/run/*.pid
119%ghost /var/run/*.lock
120
121
122%changelog
123* Sun Apr  3 2011 IWAI, Masaharu <iwai@alib.jp> 4.8.1-1
124- new upstream release
125- drop APOP patch (Patch2)
126- add Packager tag
127- add Vendor and Distribution tags
128
129* Sun Feb 07 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.7.0-1
130- new upstream release.
131- added "BR: libidn-devel".
132
133* Sun Nov 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.0-1
134- new upstream release.
135- updated APOP patch.
136
137* Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 4.0.3-1vl5
138- applied new versioning policy
139
140* Sun May 22 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.3-0vl2
141- new upstream release
142
143* Mon Mar 21 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.2-0vl2
144- new upstream release
145
146* Wed Jan 12 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.1-0vl3
147- new upstream release
148- authentication library is separated from this package
149- add README.proxy* to %doc
150- revise apop patch
151
152* Mon Sep 20 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.8-0vl1
153- new upstream version
154
155* Mon Jun 15 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.5-0vl1
156- new upstream version
157
158* Sat May 22 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.4-0vl1
159- new upstream version
160- revise apop patch
161
162* Thu Apr 01 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.3-0vl1
163- new upstream version
164
165* Sun Mar 28 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.2-0vl2
166- build with openssl-0.9.7d
167
168* Sat Mar 27 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.2-0vl1
169- new upstream version
170
171* Fri Mar 12 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.1-0vl1
172- new upstream version
173
174* Tue Mar 09 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.0-0vl1
175- new upstream version
176- revise courier-imap-startconf.patch
177- use wildcard in files section (%{_sbindir}, %{_sysconfig}/%{name})
178
179* Fri Nov 28 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2.1-0vl1
180- new upstream version
181- add --with-redhat option to configure script
182
183* Fri Oct 31 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2.0-0vl1
184- new upstream version
185
186* Tue Sep 30 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.1.2-0vl1
187- new upstream version
188
189* Mon Aug 18 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.1.0-0vl1
190- new upstream version
191
192* Sat May 17 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 1.7.3-0vl1
193- new upstream version
194- fix apop patch for 1.7.3
195
196* Tue Apr 22 2003 HOTTA Michihide <hotta@net-newbie.com> 1.7.1-0vl2
197- add apop patch
198
199* Wed Mar 26 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 1.7.1-0vl1
200- new upstream version
201
202* Tue Dec 31 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.2-0vl1
203- new upstream version
204
205* Sun Dec 01 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.1-0vl2
206- use --enable-unicode in configure script
207
208* Tue Nov 12 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.1-0vl1
209- new upstream release
210
211* Sat Oct 26 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.0-0vl1
212- new upstream releas
213- /usr/bin/* moved to /usr/sbin/
214
215* Fri Aug  9 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.5.3-0vl1
216- version up to 1.5.3
217
218* Wed Mar 20 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.4.3-0vl1
219- initial release
Note: See TracBrowser for help on using the repository browser.