/[packages]/cauldron/cyrus-imapd/current/SPECS/cyrus-imapd.spec
ViewVC logotype

Contents of /cauldron/cyrus-imapd/current/SPECS/cyrus-imapd.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30