/[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 1129751 - (show annotations) (download)
Sun Jul 23 23:07:36 2017 UTC (6 years, 8 months ago) by cjw
File size: 20201 byte(s)
- patch0: fix build

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

  ViewVC Help
Powered by ViewVC 1.1.30