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

  ViewVC Help
Powered by ViewVC 1.1.30