1 | Summary: Courier-IMAP IMAP server |
---|
2 | Name: courier-imap |
---|
3 | Version: 4.9.3 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPL |
---|
6 | Group: System Environment/Daemons |
---|
7 | Source: http://prdownloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
---|
8 | Patch: courier-imap-startconf.patch |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | Requires: /sbin/chkconfig |
---|
11 | Requires: courier-authlib |
---|
12 | BuildRequires: openssl-devel gdbm-devel pam-devel |
---|
13 | BuildRequires: courier-authlib-devel |
---|
14 | BuildRequires: libidn-devel |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | Packager: iwaim |
---|
19 | |
---|
20 | %description |
---|
21 | Courier-IMAP is an IMAP server for Maildir mailboxes. This package contains |
---|
22 | the standalone version of the IMAP server that's included in the Courier |
---|
23 | mail server package. This package is a standalone version for use with |
---|
24 | other mail servers. Do not install this package if you intend to install the |
---|
25 | full Courier mail server. Install the Courier package instead. |
---|
26 | |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q |
---|
30 | %patch -b .orig |
---|
31 | |
---|
32 | cp imap/README README.imap |
---|
33 | cp imap/README.proxy* . |
---|
34 | cp maildir/README.maildirquota.txt README.maildirquota |
---|
35 | cp 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 | |
---|
52 | make |
---|
53 | make check |
---|
54 | |
---|
55 | %install |
---|
56 | rm -rf %{buildroot} |
---|
57 | mkdir -p %{buildroot}/etc/pam.d |
---|
58 | make install-strip DESTDIR=%{buildroot} |
---|
59 | |
---|
60 | mkdir -p %{buildroot}/%{_initdir} |
---|
61 | install -m 755 courier-imap.sysvinit %{buildroot}%{_initdir}/courier-imap |
---|
62 | |
---|
63 | |
---|
64 | cd %{buildroot}/%{_sysconfdir}/%{name} |
---|
65 | for dist in *.dist; do |
---|
66 | mv $dist ${dist%.dist} |
---|
67 | done |
---|
68 | cd - |
---|
69 | |
---|
70 | touch %{buildroot}/var/run/imapd.pid |
---|
71 | touch %{buildroot}/var/run/imapd-ssl.pid |
---|
72 | touch %{buildroot}/var/run/imapd.pid.lock |
---|
73 | touch %{buildroot}/var/run/imapd-ssl.pid.lock |
---|
74 | |
---|
75 | touch %{buildroot}/var/run/pop3d.pid |
---|
76 | touch %{buildroot}/var/run/pop3d-ssl.pid |
---|
77 | touch %{buildroot}/var/run/pop3d.pid.lock |
---|
78 | touch %{buildroot}/var/run/pop3d-ssl.pid.lock |
---|
79 | |
---|
80 | |
---|
81 | %clean |
---|
82 | rm -rf $RPM_BUILD_ROOT |
---|
83 | |
---|
84 | |
---|
85 | %post |
---|
86 | /sbin/chkconfig --del courier-imap |
---|
87 | /sbin/chkconfig --add courier-imap |
---|
88 | |
---|
89 | |
---|
90 | %preun |
---|
91 | if test "$1" = "0" |
---|
92 | then |
---|
93 | rm -f /var/run/couriersslcache |
---|
94 | /sbin/chkconfig --del courier-imap |
---|
95 | fi |
---|
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 | * Tue May 31 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.3-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Fri Apr 15 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.1-1 |
---|
127 | - new upstream release |
---|
128 | |
---|
129 | * Thu Apr 7 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.0-1 |
---|
130 | - new upstream release |
---|
131 | - noreplace config files |
---|
132 | |
---|
133 | * Sun Apr 3 2011 IWAI, Masaharu <iwai@alib.jp> 4.8.1-1 |
---|
134 | - new upstream release |
---|
135 | - drop APOP patch (Patch2) |
---|
136 | - add Packager tag |
---|
137 | - add Vendor and Distribution tags |
---|
138 | |
---|
139 | * Sun Feb 07 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.7.0-1 |
---|
140 | - new upstream release. |
---|
141 | - added "BR: libidn-devel". |
---|
142 | |
---|
143 | * Sun Nov 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.0-1 |
---|
144 | - new upstream release. |
---|
145 | - updated APOP patch. |
---|
146 | |
---|
147 | * Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 4.0.3-1vl5 |
---|
148 | - applied new versioning policy |
---|
149 | |
---|
150 | * Sun May 22 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.3-0vl2 |
---|
151 | - new upstream release |
---|
152 | |
---|
153 | * Mon Mar 21 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.2-0vl2 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Wed Jan 12 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.1-0vl3 |
---|
157 | - new upstream release |
---|
158 | - authentication library is separated from this package |
---|
159 | - add README.proxy* to %doc |
---|
160 | - revise apop patch |
---|
161 | |
---|
162 | * Mon Sep 20 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.8-0vl1 |
---|
163 | - new upstream version |
---|
164 | |
---|
165 | * Mon Jun 15 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.5-0vl1 |
---|
166 | - new upstream version |
---|
167 | |
---|
168 | * Sat May 22 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.4-0vl1 |
---|
169 | - new upstream version |
---|
170 | - revise apop patch |
---|
171 | |
---|
172 | * Thu Apr 01 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.3-0vl1 |
---|
173 | - new upstream version |
---|
174 | |
---|
175 | * Sun Mar 28 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.2-0vl2 |
---|
176 | - build with openssl-0.9.7d |
---|
177 | |
---|
178 | * Sat Mar 27 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.2-0vl1 |
---|
179 | - new upstream version |
---|
180 | |
---|
181 | * Fri Mar 12 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.1-0vl1 |
---|
182 | - new upstream version |
---|
183 | |
---|
184 | * Tue Mar 09 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.0-0vl1 |
---|
185 | - new upstream version |
---|
186 | - revise courier-imap-startconf.patch |
---|
187 | - use wildcard in files section (%{_sbindir}, %{_sysconfig}/%{name}) |
---|
188 | |
---|
189 | * Fri Nov 28 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2.1-0vl1 |
---|
190 | - new upstream version |
---|
191 | - add --with-redhat option to configure script |
---|
192 | |
---|
193 | * Fri Oct 31 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2.0-0vl1 |
---|
194 | - new upstream version |
---|
195 | |
---|
196 | * Tue Sep 30 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.1.2-0vl1 |
---|
197 | - new upstream version |
---|
198 | |
---|
199 | * Mon Aug 18 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.1.0-0vl1 |
---|
200 | - new upstream version |
---|
201 | |
---|
202 | * Sat May 17 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 1.7.3-0vl1 |
---|
203 | - new upstream version |
---|
204 | - fix apop patch for 1.7.3 |
---|
205 | |
---|
206 | * Tue Apr 22 2003 HOTTA Michihide <hotta@net-newbie.com> 1.7.1-0vl2 |
---|
207 | - add apop patch |
---|
208 | |
---|
209 | * Wed Mar 26 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 1.7.1-0vl1 |
---|
210 | - new upstream version |
---|
211 | |
---|
212 | * Tue Dec 31 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.2-0vl1 |
---|
213 | - new upstream version |
---|
214 | |
---|
215 | * Sun Dec 01 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.1-0vl2 |
---|
216 | - use --enable-unicode in configure script |
---|
217 | |
---|
218 | * Tue Nov 12 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.1-0vl1 |
---|
219 | - new upstream release |
---|
220 | |
---|
221 | * Sat Oct 26 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.0-0vl1 |
---|
222 | - new upstream releas |
---|
223 | - /usr/bin/* moved to /usr/sbin/ |
---|
224 | |
---|
225 | * Fri Aug 9 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.5.3-0vl1 |
---|
226 | - version up to 1.5.3 |
---|
227 | |
---|
228 | * Wed Mar 20 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.4.3-0vl1 |
---|
229 | - initial release |
---|