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

Revision 7216, 6.2 KB checked in by iwaim, 11 years ago (diff)

courier-imap 4.11.0-1

Line 
1Summary: Courier-IMAP IMAP server
2Name: courier-imap
3Version: 4.11.0
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 packaging/systemd/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(noreplace) %{_sysconfdir}/%{name}/*
111%config(noreplace) %{_sysconfdir}/pam.d/imap
112%config(noreplace) %{_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* Wed Dec  5 2012 IWAI, Masaharu <iwai@alib.jp> 4.11.0
124- new upstream release
125
126* Tue May 31 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.3-1
127- new upstream release
128
129* Fri Apr 15 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.1-1
130- new upstream release
131
132* Thu Apr  7 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.0-1
133- new upstream release
134- noreplace config files
135
136* Sun Apr  3 2011 IWAI, Masaharu <iwai@alib.jp> 4.8.1-1
137- new upstream release
138- drop APOP patch (Patch2)
139- add Packager tag
140- add Vendor and Distribution tags
141
142* Sun Feb 07 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.7.0-1
143- new upstream release.
144- added "BR: libidn-devel".
145
146* Sun Nov 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.0-1
147- new upstream release.
148- updated APOP patch.
149
150* Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 4.0.3-1vl5
151- applied new versioning policy
152
153* Sun May 22 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.3-0vl2
154- new upstream release
155
156* Mon Mar 21 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.2-0vl2
157- new upstream release
158
159* Wed Jan 12 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.1-0vl3
160- new upstream release
161- authentication library is separated from this package
162- add README.proxy* to %doc
163- revise apop patch
164
165* Mon Sep 20 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.8-0vl1
166- new upstream version
167
168* Mon Jun 15 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.5-0vl1
169- new upstream version
170
171* Sat May 22 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.4-0vl1
172- new upstream version
173- revise apop patch
174
175* Thu Apr 01 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.3-0vl1
176- new upstream version
177
178* Sun Mar 28 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.2-0vl2
179- build with openssl-0.9.7d
180
181* Sat Mar 27 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.2-0vl1
182- new upstream version
183
184* Fri Mar 12 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.1-0vl1
185- new upstream version
186
187* Tue Mar 09 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.0-0vl1
188- new upstream version
189- revise courier-imap-startconf.patch
190- use wildcard in files section (%{_sbindir}, %{_sysconfig}/%{name})
191
192* Fri Nov 28 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2.1-0vl1
193- new upstream version
194- add --with-redhat option to configure script
195
196* Fri Oct 31 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2.0-0vl1
197- new upstream version
198
199* Tue Sep 30 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.1.2-0vl1
200- new upstream version
201
202* Mon Aug 18 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.1.0-0vl1
203- new upstream version
204
205* Sat May 17 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 1.7.3-0vl1
206- new upstream version
207- fix apop patch for 1.7.3
208
209* Tue Apr 22 2003 HOTTA Michihide <hotta@net-newbie.com> 1.7.1-0vl2
210- add apop patch
211
212* Wed Mar 26 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 1.7.1-0vl1
213- new upstream version
214
215* Tue Dec 31 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.2-0vl1
216- new upstream version
217
218* Sun Dec 01 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.1-0vl2
219- use --enable-unicode in configure script
220
221* Tue Nov 12 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.1-0vl1
222- new upstream release
223
224* Sat Oct 26 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.0-0vl1
225- new upstream releas
226- /usr/bin/* moved to /usr/sbin/
227
228* Fri Aug  9 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.5.3-0vl1
229- version up to 1.5.3
230
231* Wed Mar 20 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.4.3-0vl1
232- initial release
Note: See TracBrowser for help on using the repository browser.