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

Revision 11086, 7.0 KB checked in by iwaim, 7 years ago (diff)

courier-imap 4.17.3-1

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