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

Revision 8136, 6.5 KB checked in by iwaim, 10 years ago (diff)

courier-imap 4.15-1

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