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

Revision 10252, 6.9 KB checked in by iwaim, 8 years ago (diff)

courier-imap 4.17.0-1

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