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

Revision 7391, 6.3 KB checked in by iwaim, 11 years ago (diff)

courier-imap 4.12.0-1

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