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

Revision 9924, 6.8 KB checked in by iwaim, 8 years ago (diff)

courier-imap-4.16.2-1

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