1 |
%global with_systemd 1 |
2 |
|
3 |
%global _name cyrus-imapd |
4 |
|
5 |
%global ssl_pem_file %{_sysconfdir}/pki/%{_name}/%{_name}.pem |
6 |
|
7 |
|
8 |
## this needs work. |
9 |
%global uid 76 |
10 |
%global gid 76 |
11 |
|
12 |
%global _cyrususer cyrus |
13 |
%global _cyrusgroup mail |
14 |
%global _cyrexecdir %{_exec_prefix}/lib/%{_name} |
15 |
|
16 |
%global real_version 2.5.7 |
17 |
|
18 |
## |
19 |
## Options |
20 |
## |
21 |
|
22 |
%global with_bdb 1 |
23 |
%global with_mysql 1 |
24 |
%global with_pgsql 1 |
25 |
|
26 |
%global with_dav 1 |
27 |
%global with_tcpwrap 1 |
28 |
|
29 |
Name: cyrus-imapd |
30 |
Summary: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support |
31 |
Version: %{real_version} |
32 |
Release: %mkrel 1 |
33 |
License: BSD |
34 |
Group: System/Servers |
35 |
URL: http://www.cyrusimap.org |
36 |
|
37 |
# Upstream sources |
38 |
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus/%{_name}-%{real_version}.tar.gz |
39 |
Source1: cyrus-imapd.imap-2.3.x-conf |
40 |
Source2: cyrus-imapd.cvt_cyrusdb_all |
41 |
Source3: cyrus-imapd.magic |
42 |
|
43 |
# Distribution specific sources |
44 |
Source11: cyrus-imapd.logrotate |
45 |
Source12: cyrus-imapd.pam-config |
46 |
Source13: cyrus-imapd.cron-daily |
47 |
|
48 |
|
49 |
# Systemd support |
50 |
Source21: cyrus-imapd.service |
51 |
Source22: cyr_systemd_helper |
52 |
|
53 |
## |
54 |
## Patches |
55 |
## |
56 |
|
57 |
Provides: imap |
58 |
Provides: imap-server |
59 |
|
60 |
## |
61 |
## Build Requirements |
62 |
## |
63 |
BuildRequires: autoconf |
64 |
BuildRequires: automake |
65 |
BuildRequires: bison |
66 |
BuildRequires: pkgconfig(libsasl2) |
67 |
BuildRequires: pkgconfig(cunit) |
68 |
BuildRequires: sasl-plug-digestmd5 |
69 |
BuildRequires: sasl-plug-plain |
70 |
|
71 |
%if 0%{?with_bdb} |
72 |
BuildRequires: db-devel |
73 |
%endif |
74 |
BuildRequires: flex |
75 |
#BuildRequires: gcc-c++ |
76 |
BuildRequires: gcc |
77 |
BuildRequires: groff |
78 |
BuildRequires: pkgconfig(jansson) |
79 |
BuildRequires: pkgconfig(krb5) |
80 |
|
81 |
%if 0%{?with_dav} |
82 |
BuildRequires: pkgconfig(libical) |
83 |
%endif |
84 |
|
85 |
BuildRequires: libtool |
86 |
BuildRequires: pkgconfig(uuid) |
87 |
|
88 |
%if 0%{?with_mysql} |
89 |
BuildRequires: mysql-devel |
90 |
%endif |
91 |
BuildRequires: openldap-devel |
92 |
BuildRequires: openssl-devel |
93 |
BuildRequires: perl(ExtUtils::MakeMaker) |
94 |
|
95 |
BuildRequires: perl-devel |
96 |
BuildRequires: pkgconfig |
97 |
|
98 |
%if 0%{?with_pgsql} |
99 |
BuildRequires: postgresql-devel |
100 |
%endif |
101 |
|
102 |
%if 0%{?with_dav} |
103 |
BuildRequires: sqlite-devel |
104 |
%endif |
105 |
|
106 |
%if 0%{?with_tcpwrap} |
107 |
BuildRequires: tcp_wrappers |
108 |
%endif |
109 |
|
110 |
BuildRequires: transfig |
111 |
%if 0 |
112 |
# Disable the xapian-core requirement |
113 |
BuildRequires: xapian-core-devel |
114 |
%endif |
115 |
|
116 |
Requires: db-utils |
117 |
|
118 |
Requires: file |
119 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
120 |
|
121 |
Requires(post): coreutils |
122 |
Requires(post): e2fsprogs |
123 |
Requires(post): findutils |
124 |
Requires(post): grep |
125 |
Requires(post): make |
126 |
Requires(post): openssl |
127 |
Requires(post): perl |
128 |
Requires(preun): coreutils |
129 |
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd |
130 |
Requires(preun): /usr/sbin/userdel /usr/sbin/groupdel |
131 |
Requires(post): rpm-helper >= 0.24.8-1 |
132 |
Requires(preun): rpm-helper >= 0.24.8-1 |
133 |
|
134 |
|
135 |
Obsoletes: %{name}-perl < %{version}-%{release} |
136 |
Provides: %{name}-perl = %{version}-%{release} |
137 |
Obsoletes: %{name}-utils < %{version}-%{release} |
138 |
Provides: %{name}-utils = %{version}-%{release} |
139 |
|
140 |
%description |
141 |
The %{name} package contains the core of the Cyrus IMAP server. |
142 |
It is a scaleable enterprise mail system designed for use from |
143 |
small to large enterprise environments using standards-based |
144 |
internet mail technologies. |
145 |
|
146 |
A full Cyrus IMAP implementation allows a seamless mail and bulletin |
147 |
board environment to be set up across multiple servers. It differs from |
148 |
other IMAP server implementations in that it is run on "sealed" |
149 |
servers, where users are not normally permitted to log in and have no |
150 |
system account on the server. The mailbox database is stored in parts |
151 |
of the filesystem that are private to the Cyrus IMAP server. All user |
152 |
access to mail is through software using the IMAP, POP3 or KPOP |
153 |
protocols. It also includes support for virtual domains, NNTP, |
154 |
mailbox annotations, and much more. The private mailbox database design |
155 |
gives the server large advantages in efficiency, scalability and |
156 |
administratability. Multiple concurrent read/write connections to the |
157 |
same mailbox are permitted. The server supports access control lists on |
158 |
mailboxes and storage quotas on mailbox hierarchies. |
159 |
|
160 |
The Cyrus IMAP server supports the IMAP4rev1 protocol described |
161 |
in RFC 3501. IMAP4rev1 has been approved as a proposed standard. |
162 |
It supports any authentication mechanism available from the SASL |
163 |
library, imaps/pop3s/nntps (IMAP/POP3/NNTP encrypted using SSL and |
164 |
TLSv1) can be used for security. The server supports single instance |
165 |
store where possible when an email message is addressed to multiple |
166 |
recipients, SIEVE provides server side email filtering. |
167 |
|
168 |
%package devel |
169 |
Group: Development/Libraries |
170 |
Summary: Cyrus IMAP server development files |
171 |
|
172 |
%description devel |
173 |
The %{name}-devel package contains header files and libraries |
174 |
necessary for developing applications which use the imclient library. |
175 |
|
176 |
%prep |
177 |
%setup -q -n %{_name}-%{real_version}%{?dot_snapshot_version} |
178 |
|
179 |
%if 0%{?with_bdb} < 1 |
180 |
sed -i -e 's/,berkeley//g' cunit/db.testc |
181 |
sed -r -i -e 's/"berkeley(|-[a-z-]+)", //g' lib/imapoptions |
182 |
%endif |
183 |
|
184 |
# only to update config.* files |
185 |
autoreconf -vi || (libtoolize --force && autoreconf -vi) |
186 |
|
187 |
# Modify docs master --> cyrus-master |
188 |
%{__perl} -pi -e "s@master\(8\)@cyrus-master(8)@" man/*5 man/*8 lib/imapoptions |
189 |
%{__sed} -i -e 's|\([^-]\)master|\1cyrus-master|g;s|^master|cyrus-master|g;s|Master|Cyrus-master|g;s|MASTER|CYRUS-MASTER|g' \ |
190 |
man/master.8 doc/man.html |
191 |
|
192 |
%if 0%{?with_dav} |
193 |
# Modify docs httpd --> cyrus-httpd |
194 |
%{__perl} -pi -e "s@httpd\(8\)@cyrus-httpd(8)@" man/*5 man/*8 lib/imapoptions |
195 |
%{__sed} -i -e 's|\([^-]\)httpd|\1cyrus-httpd|g;s|^httpd|cyrus-httpd|g;s|Httpd|Cyrus-httpd|g;s|HTTPD|CYRUS-HTTPD|g' \ |
196 |
man/httpd.8 doc/man.html |
197 |
%endif |
198 |
|
199 |
# Modify path in perl scripts |
200 |
find . -type f -name "*.pl" | xargs %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" |
201 |
|
202 |
# modify lmtp socket path in .conf files |
203 |
%{__perl} -pi -e "s@/var/imap/@%{_var}/lib/imap/@" master/conf/*.conf doc/cyrusv2.mc doc/m4/%{name}-sendmail-8.12.9-cyrusv2.m4 |
204 |
|
205 |
# enable idled in .conf files to prevent error messages |
206 |
%{__perl} -pi -e "s/# idled/ idled/" master/conf/*.conf |
207 |
|
208 |
%build |
209 |
CPPFLAGS="-I%{_includedir}/et -I%{_includedir}/kerberosIV" |
210 |
export CPPFLAGS |
211 |
CFLAGS="$RPM_OPT_FLAGS -fPIC" |
212 |
export CFLAGS |
213 |
CXXFLAGS="$RPM_OPT_FLAGS -fPIC"; |
214 |
export CXXFLAGS |
215 |
CCDLFLAGS="-rdynamic" |
216 |
export CCDLFLAGS |
217 |
LDFLAGS="-L%{_libdir}" |
218 |
export LDFLAGS |
219 |
|
220 |
%configure2_5x \ |
221 |
--enable-event-notification \ |
222 |
--enable-gssapi \ |
223 |
--enable-idled \ |
224 |
--enable-murder \ |
225 |
--enable-netscapehack \ |
226 |
--enable-nntp \ |
227 |
--enable-replication \ |
228 |
--enable-unit-tests \ |
229 |
%if 0 |
230 |
--enable-xapian \ |
231 |
%endif |
232 |
%if 0%{?with_bdb} |
233 |
--with-bdb-incdir=%{_includedir}/db4 \ |
234 |
%else |
235 |
--without-bdb \ |
236 |
%endif |
237 |
--with-cyrus-prefix=%{_cyrexecdir} \ |
238 |
--with-extraident="Kolab-%{version}-%{release}" \ |
239 |
%if 0%{?with_tcpwrap} < 1 |
240 |
--without-wrap \ |
241 |
%endif |
242 |
%if 0%{?with_dav} |
243 |
--with-http \ |
244 |
%endif |
245 |
--with-krbimpl=mit \ |
246 |
--with-ldap=/usr \ |
247 |
%if 0%{?with_mysql} |
248 |
--with-mysql=%{_prefix} \ |
249 |
--with-mysql-incdir=%{_includedir}/mysql/ \ |
250 |
--with-mysql-libdir=%{_libdir}/mysql/ \ |
251 |
%endif |
252 |
--with-perl=%{__perl} \ |
253 |
%if 0%{?with_pgsql} |
254 |
--with-pgsql=%{_includedir} \ |
255 |
%endif |
256 |
--with-service-path=%{_cyrexecdir} \ |
257 |
--with-syslogfacility=MAIL |
258 |
|
259 |
%make |
260 |
|
261 |
%install |
262 |
%{__rm} -rf %{buildroot} |
263 |
|
264 |
# Fix permissions on perl programs |
265 |
find . -type f -name "*.pl" -exec %{__chmod} 755 {} \; |
266 |
|
267 |
# Do what the regular make install does |
268 |
%{__make} install DESTDIR=%{buildroot} PREFIX=%{_prefix} mandir=%{_mandir} INSTALLDIRS=vendor |
269 |
|
270 |
# Install tools |
271 |
for tool in tools/* ; do |
272 |
test -f ${tool} && %{__install} -m 755 ${tool} %{buildroot}%{_cyrexecdir}/ |
273 |
done |
274 |
|
275 |
# Create directories |
276 |
%{__install} -d \ |
277 |
%{buildroot}%{_sysconfdir}/{logrotate.d,pam.d,cron.daily} \ |
278 |
%{buildroot}%{_libdir}/sasl \ |
279 |
%{buildroot}%{_var}/spool/imap \ |
280 |
%{buildroot}%{_var}/lib/imap/{user,quota,proc,log,msg,socket,db,sieve,sync,md5,rpm,backup,meta} \ |
281 |
%{buildroot}%{_var}/lib/imap/ptclient \ |
282 |
%{buildroot}%{_sysconfdir}/pki/%{_name} \ |
283 |
doc/contrib |
284 |
|
285 |
# Install additional files |
286 |
%{__install} -p -m 644 master/conf/prefork.conf %{buildroot}%{_sysconfdir}/cyrus.conf |
287 |
%{__install} -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/imapd.conf |
288 |
%{__install} -p -m 755 %{SOURCE2} %{buildroot}%{_cyrexecdir}/cvt_cyrusdb_all |
289 |
%{__install} -p -m 644 %{SOURCE3} %{buildroot}%{_var}/lib/imap/rpm/magic |
290 |
%{__install} -p -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/logrotate.d/%{_name} |
291 |
%{__install} -p -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/pam.d/pop |
292 |
%{__install} -p -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/pam.d/imap |
293 |
%{__install} -p -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/pam.d/sieve |
294 |
%{__install} -p -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/pam.d/mupdate |
295 |
%{__install} -p -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/pam.d/lmtp |
296 |
%{__install} -p -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/pam.d/nntp |
297 |
%{__install} -p -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/pam.d/csync |
298 |
%{__install} -p -m 755 %{SOURCE13} %{buildroot}%{_sysconfdir}/cron.daily/%{_name} |
299 |
%{__install} -d %{buildroot}%{_sysconfdir}/sysconfig/ |
300 |
%{__install} -p -m 644 %{SOURCE22} %{buildroot}%{_sysconfdir}/sysconfig/%{_name} |
301 |
%{__install} -p -D -m 644 %{SOURCE21} %{buildroot}%{_unitdir}/cyrus-imapd.service |
302 |
%{__install} -p -D -m 755 %{SOURCE22} %{buildroot}%{_cyrexecdir}/cyr_systemd_helper |
303 |
|
304 |
|
305 |
# Cleanup of doc dir |
306 |
find doc perl -name CVS -type d | xargs -r %{__rm} -rf |
307 |
find doc perl -name .cvsignore -type f | xargs -r %{__rm} -f |
308 |
%{__rm} -f doc/Makefile.dist* |
309 |
%{__rm} -f doc/text/htmlstrip.c |
310 |
%{__rm} -f doc/text/Makefile |
311 |
%{__rm} -rf doc/man |
312 |
|
313 |
# fix permissions on perl .so files |
314 |
find %{buildroot}%{perl_vendorarch} -type f -name "*.so" -exec %{__chmod} 755 {} \; |
315 |
|
316 |
# fix conflicts with uw-imap |
317 |
mv %{buildroot}%{_mandir}/man8/imapd.8 %{buildroot}%{_mandir}/man8/imapd.8cyrus |
318 |
mv %{buildroot}%{_mandir}/man8/pop3d.8 %{buildroot}%{_mandir}/man8/pop3d.8cyrus |
319 |
|
320 |
# Install templates |
321 |
%{__install} -m 755 -d doc/conf |
322 |
%{__install} -m 644 master/conf/*.conf doc/conf/ |
323 |
|
324 |
# Generate db config file |
325 |
( grep '^{' lib/imapoptions | grep _db | grep -v _db_path | cut -d'"' -f 2,4 | \ |
326 |
sed -e 's/^ *//' -e 's/-nosync//' -e 's/ *$//' -e 's/"/=/' |
327 |
echo sieve_version=2.2.3 ) | sort > %{buildroot}%{_var}/lib/imap/rpm/db.cfg |
328 |
|
329 |
# create the ghost pem file |
330 |
touch %{buildroot}%{ssl_pem_file} |
331 |
|
332 |
# Rename 'master' binary and manpage to avoid clash with postfix |
333 |
%{__mv} -f %{buildroot}%{_cyrexecdir}/master %{buildroot}%{_cyrexecdir}/cyrus-master |
334 |
%{__mv} -f %{buildroot}%{_mandir}/man8/master.8 %{buildroot}%{_mandir}/man8/cyrus-master.8 |
335 |
|
336 |
# Rename 'httpd' binary and manpage to avoid clash with apache httpd |
337 |
%if 0%{?with_dav} |
338 |
%{__mv} -f %{buildroot}%{_cyrexecdir}/httpd %{buildroot}%{_cyrexecdir}/cyrus-httpd |
339 |
%{__mv} -f %{buildroot}%{_mandir}/man8/httpd.8 %{buildroot}%{_mandir}/man8/cyrus-httpd.8 |
340 |
%endif |
341 |
|
342 |
# Rename 'fetchnews' binary and manpage to avoid clash with leafnode |
343 |
%{__mv} -f %{buildroot}%{_cyrexecdir}/fetchnews %{buildroot}%{_cyrexecdir}/cyrfetchnews |
344 |
%{__mv} -f %{buildroot}%{_mandir}/man8/fetchnews.8 %{buildroot}%{_mandir}/man8/cyrfetchnews.8 |
345 |
%{__perl} -pi -e 's|fetchnews|cyrfetchnews|g;s|Fetchnews|Cyrfetchnews|g;s/FETCHNEWS/CYRFETCHNEWS/g' \ |
346 |
%{buildroot}%{_mandir}/man8/cyrfetchnews.8 |
347 |
|
348 |
# compress manpages |
349 |
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
350 |
|
351 |
# remove executable bit from docs |
352 |
for ddir in doc perl/imap/examples |
353 |
do |
354 |
find $ddir -type f -exec %{__chmod} -x {} \; |
355 |
done |
356 |
|
357 |
# Remove installed but not packaged files |
358 |
%{__rm} -f %{buildroot}%{_cyrexecdir}/not-mkdep |
359 |
%{__rm} -f %{buildroot}%{_cyrexecdir}/config2header* |
360 |
%{__rm} -f %{buildroot}%{_cyrexecdir}/config2man |
361 |
%{__rm} -f %{buildroot}%{_cyrexecdir}/pop3proxyd |
362 |
find %{buildroot} -type f -name "perllocal.pod" -exec %{__rm} -vf {} \; |
363 |
find %{buildroot} -type f -name ".packlist" -exec %{__rm} -vf {} \; |
364 |
find %{buildroot} -type f -name ".gitignore" -exec %{__rm} -vf {} \; |
365 |
%{__rm} -f %{buildroot}%{_mandir}/man8/syncnews.8* |
366 |
find %{buildroot}%{perl_vendorarch} -type f -name "*.bs" -exec %{__rm} -vf {} \; |
367 |
|
368 |
%check |
369 |
make check || : |
370 |
|
371 |
|
372 |
%pre |
373 |
if [ $1 == 1 ]; then |
374 |
# Create 'cyrus' user on target host |
375 |
/usr/sbin/groupadd -g %{gid} -r saslauth 2> /dev/null || : |
376 |
/usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_var}/lib/imap -g %{_cyrusgroup} \ |
377 |
-G saslauth -s /sbin/nologin -u %{uid} -r %{_cyrususer} 2> /dev/null || : |
378 |
fi |
379 |
|
380 |
%post |
381 |
CHATTRSYNC=0 |
382 |
|
383 |
if [ -f "%{_sysconfdir}/sysconfig/cyrus-imapd" ]; then |
384 |
source %{_sysconfdir}/sysconfig/cyrus-imapd |
385 |
fi |
386 |
|
387 |
if [ $CHATTRSYNC -eq 1 ]; then |
388 |
# Force synchronous updates of files in the following directories |
389 |
chattr -R +S \ |
390 |
$(grep ^configdirectory: /etc/imapd.conf | cut -d':' -f2) \ |
391 |
$(grep ^partition- /etc/imapd.conf | cut -d':' -f2) \ |
392 |
$(grep ^metapartition- /etc/imapd.conf | cut -d':' -f2) 2>/dev/null ||: |
393 |
fi |
394 |
|
395 |
# Create SSL certificates |
396 |
exec > /dev/null 2> /dev/null |
397 |
|
398 |
if [ ! -z "%{ssl_pem_file}" -a -z "$(cat %{ssl_pem_file})" ]; then |
399 |
%{__rm} -f "%{ssl_pem_file}" || : |
400 |
fi |
401 |
|
402 |
if [ ! -f %{ssl_pem_file} -a -d "%{_sysconfdir}/pki/tls/certs" ]; then |
403 |
pushd %{_sysconfdir}/pki/tls/certs |
404 |
umask 077 |
405 |
%{__cat} << EOF | make %{_name}.pem |
406 |
-- |
407 |
SomeState |
408 |
SomeCity |
409 |
SomeOrganization |
410 |
SomeOrganizationalUnit |
411 |
localhost.localdomain |
412 |
root@localhost.localdomain |
413 |
EOF |
414 |
|
415 |
%{__chown} root.%{_cyrusgroup} %{_name}.pem |
416 |
%{__chmod} 640 %{_name}.pem |
417 |
mv %{_name}.pem %{ssl_pem_file} |
418 |
popd |
419 |
fi |
420 |
|
421 |
# These commands may fail in a docker container, which may not |
422 |
# have a /usr/bin/systemctl with a 'preset' command |
423 |
%systemd_post cyrus-imapd.service || : |
424 |
|
425 |
|
426 |
%preun |
427 |
%systemd_preun cyrus-imapd.service >/dev/null 2>&1 || : |
428 |
|
429 |
|
430 |
%postun |
431 |
%systemd_postun_with_restart cyrus-imapd.service |
432 |
|
433 |
%files |
434 |
%doc COPYING README |
435 |
%doc doc/* |
436 |
%config(noreplace) %{_sysconfdir}/cyrus.conf |
437 |
%config(noreplace) %{_sysconfdir}/imapd.conf |
438 |
%{_unitdir}/cyrus-imapd.service |
439 |
%{_cyrexecdir}/cyr_systemd_helper |
440 |
%dir %{_sysconfdir}/pki |
441 |
%config(noreplace) %{_sysconfdir}/logrotate.d/%{_name} |
442 |
%attr(0640,root,%{_cyrusgroup}) %config(noreplace) %{_sysconfdir}/sysconfig/%{_name} |
443 |
%config(noreplace) %{_sysconfdir}/pam.d/pop |
444 |
%config(noreplace) %{_sysconfdir}/pam.d/imap |
445 |
%config(noreplace) %{_sysconfdir}/pam.d/sieve |
446 |
%config(noreplace) %{_sysconfdir}/pam.d/lmtp |
447 |
%config(noreplace) %{_sysconfdir}/pam.d/mupdate |
448 |
%config(noreplace) %{_sysconfdir}/pam.d/csync |
449 |
%config(noreplace) %{_sysconfdir}/pam.d/nntp |
450 |
%attr(0755,root,root) %{_bindir}/cyradm |
451 |
%{_bindir}/imtest |
452 |
%{_bindir}/installsieve |
453 |
%{_bindir}/lmtptest |
454 |
%{_bindir}/mupdatetest |
455 |
%{_bindir}/nntptest |
456 |
%{_bindir}/pop3test |
457 |
%{_bindir}/sieveshell |
458 |
%{_bindir}/sivtest |
459 |
%{_bindir}/smtptest |
460 |
%{_bindir}/synctest |
461 |
%{_sysconfdir}/cron.daily/%{_name} |
462 |
%dir %{_cyrexecdir} |
463 |
%{_cyrexecdir}/arbitron |
464 |
%{_cyrexecdir}/arbitronsort.pl |
465 |
%{_cyrexecdir}/chk_cyrus |
466 |
%{_cyrexecdir}/compile_st.pl |
467 |
%{_cyrexecdir}/convert-sieve.pl |
468 |
%{_cyrexecdir}/cyr_deny |
469 |
%{_cyrexecdir}/cyr_df |
470 |
%{_cyrexecdir}/cyr_info |
471 |
#%%{_cyrexecdir}/ctl_conversationsdb |
472 |
%{_cyrexecdir}/ctl_cyrusdb |
473 |
%{_cyrexecdir}/ctl_deliver |
474 |
%{_cyrexecdir}/ctl_mboxlist |
475 |
%{_cyrexecdir}/cvt_cyrusdb |
476 |
%{_cyrexecdir}/cyr_dbtool |
477 |
%{_cyrexecdir}/cyr_expire |
478 |
%{_cyrexecdir}/cyr_sequence |
479 |
%{_cyrexecdir}/cyr_synclog |
480 |
%{_cyrexecdir}/cyr_userseen |
481 |
%{_cyrexecdir}/cyrdump |
482 |
%if 0%{?with_dav} |
483 |
%{_cyrexecdir}/cyrus-httpd |
484 |
%endif |
485 |
%{_cyrexecdir}/cyrus-master |
486 |
%{_cyrexecdir}/deliver |
487 |
%{_cyrexecdir}/dohash |
488 |
%{_cyrexecdir}/fixsearchpath.pl |
489 |
%{_cyrexecdir}/fud |
490 |
#%%{_cyrexecdir}/hammer_cyrusdb |
491 |
%{_cyrexecdir}/imapd |
492 |
%{_cyrexecdir}/ipurge |
493 |
%exclude %{_cyrexecdir}/jenkins-build.sh |
494 |
%{_cyrexecdir}/lmtpd |
495 |
%{_cyrexecdir}/lmtpproxyd |
496 |
%{_cyrexecdir}/masssievec |
497 |
%{_cyrexecdir}/mbexamine |
498 |
%{_cyrexecdir}/mbpath |
499 |
%{_cyrexecdir}/mbtool |
500 |
#%{_cyrexecdir}/message_test |
501 |
%{_cyrexecdir}/migrate-metadata |
502 |
%{_cyrexecdir}/mkimap |
503 |
%{_cyrexecdir}/mknewsgroups |
504 |
%{_cyrexecdir}/notifyd |
505 |
%{_cyrexecdir}/pop3d |
506 |
%{_cyrexecdir}/quota |
507 |
%{_cyrexecdir}/reconstruct |
508 |
%{_cyrexecdir}/rehash |
509 |
#%%{_cyrexecdir}/search_test |
510 |
%{_cyrexecdir}/sievec |
511 |
%{_cyrexecdir}/sieved |
512 |
%{_cyrexecdir}/smmapd |
513 |
#%%{_cyrexecdir}/squat_dump |
514 |
%{_cyrexecdir}/squatter |
515 |
%{_cyrexecdir}/timsieved |
516 |
%{_cyrexecdir}/tls_prune |
517 |
%{_cyrexecdir}/translatesieve |
518 |
%{_cyrexecdir}/undohash |
519 |
%{_cyrexecdir}/unexpunge |
520 |
%{_cyrexecdir}/upgradesieve |
521 |
%{_cyrexecdir}/cvt_cyrusdb_all |
522 |
%{_cyrexecdir}/idled |
523 |
%{_cyrexecdir}/mupdate |
524 |
%{_cyrexecdir}/mupdate-loadgen.pl |
525 |
%{_cyrexecdir}/proxyd |
526 |
%{_cyrexecdir}/sync_client |
527 |
%{_cyrexecdir}/sync_reset |
528 |
%{_cyrexecdir}/sync_server |
529 |
%{_cyrexecdir}/cyrfetchnews |
530 |
%{_cyrexecdir}/nntpd |
531 |
%{_cyrexecdir}/ptdump |
532 |
%{_cyrexecdir}/ptexpire |
533 |
%{_cyrexecdir}/ptloader |
534 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap |
535 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/backup |
536 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/db |
537 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/log |
538 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/meta |
539 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/md5 |
540 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/msg |
541 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/proc |
542 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/ptclient |
543 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/quota |
544 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/rpm |
545 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/sieve |
546 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/socket |
547 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/sync |
548 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/user |
549 |
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/spool/imap |
550 |
%{_libdir}/*.so.* |
551 |
%{_var}/lib/imap/rpm/* |
552 |
%doc perl/imap/README |
553 |
%doc perl/imap/Changes |
554 |
%doc perl/imap/examples |
555 |
%dir %{perl_vendorarch}/Cyrus |
556 |
%dir %{perl_vendorarch}/Cyrus/IMAP |
557 |
%{perl_vendorarch}/Cyrus/IMAP/Admin.pm |
558 |
%{perl_vendorarch}/Cyrus/IMAP/Shell.pm |
559 |
%{perl_vendorarch}/Cyrus/IMAP/IMSP.pm |
560 |
%{perl_vendorarch}/Cyrus/IMAP.pm |
561 |
%dir %{perl_vendorarch}/Cyrus/SIEVE |
562 |
%{perl_vendorarch}/Cyrus/SIEVE/managesieve.pm |
563 |
%dir %{perl_vendorlib}/Cyrus/ |
564 |
%dir %{perl_vendorlib}/Cyrus/Annotator |
565 |
%{perl_vendorlib}/Cyrus/Annotator/Daemon.pm |
566 |
%{perl_vendorlib}/Cyrus/Annotator/Message.pm |
567 |
%dir %{perl_vendorarch}/auto |
568 |
%dir %{perl_vendorarch}/auto/Cyrus |
569 |
%dir %{perl_vendorarch}/auto/Cyrus/IMAP |
570 |
%{perl_vendorarch}/auto/Cyrus/IMAP/IMAP.so |
571 |
%dir %{perl_vendorarch}/auto/Cyrus/SIEVE |
572 |
%dir %{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve |
573 |
%{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve/managesieve.so |
574 |
%{_mandir}/man1/* |
575 |
%{_mandir}/man3/* |
576 |
%{_mandir}/man5/* |
577 |
%{_mandir}/man8/* |
578 |
%dir %{_sysconfdir}/pki/%{_name} |
579 |
%attr(0640,root,%{_cyrusgroup}) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssl_pem_file} |
580 |
|
581 |
%files devel |
582 |
%defattr(0644,root,root,0755) |
583 |
%{_includedir}/cyrus |
584 |
%{_libdir}/pkgconfig/*cyrus*.pc |
585 |
%{_libdir}/*.so |
586 |
%{_libdir}/*.la |