/[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 994682 - (show annotations) (download)
Wed Mar 23 21:30:06 2016 UTC (8 years, 1 month ago) by spuhler
File size: 20490 byte(s)
- fixed Source numbers
- updated Requires and BuildRequires to db5
  * BS linked ageains db53 anyway
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 12
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 exec > /dev/null 2> /dev/null
435
436 if [ ! -z "%{ssl_pem_file}" -a -z "$(cat %{ssl_pem_file})" ]; then
437 %{__rm} -f "%{ssl_pem_file}" || :
438 fi
439
440 if [ ! -f %{ssl_pem_file} -a -d "%{_sysconfdir}/pki/tls/certs" ]; then
441 pushd %{_sysconfdir}/pki/tls/certs
442 umask 077
443 %{__cat} << EOF | make %{_name}.pem
444 --
445 SomeState
446 SomeCity
447 SomeOrganization
448 SomeOrganizationalUnit
449 localhost.localdomain
450 root@localhost.localdomain
451 EOF
452
453 %{__chown} root.%{_cyrusgroup} %{_name}.pem
454 %{__chmod} 640 %{_name}.pem
455 mv %{_name}.pem %{ssl_pem_file}
456 popd
457 fi
458
459 # These commands may fail in a docker container, which may not
460 # have a /usr/bin/systemctl with a 'preset' command
461 %_post_service cyrus-imapd
462
463 %preun
464 %_preun_service cyrus-imapd
465
466 %files
467 %doc COPYING README
468 %doc doc/*
469 %config(noreplace) %{_sysconfdir}/cyrus.conf
470 %config(noreplace) %{_sysconfdir}/imapd.conf
471 %{_unitdir}/cyrus-imapd.service
472 %{_cyrexecdir}/cyr_systemd_helper
473 %dir %{_sysconfdir}/pki
474 %config(noreplace) %{_sysconfdir}/logrotate.d/%{_name}
475 %attr(0640,root,%{_cyrusgroup}) %config(noreplace) %{_sysconfdir}/sysconfig/%{_name}
476 %config(noreplace) %{_sysconfdir}/pam.d/pop
477 %config(noreplace) %{_sysconfdir}/pam.d/imap
478 %config(noreplace) %{_sysconfdir}/pam.d/sieve
479 %config(noreplace) %{_sysconfdir}/pam.d/lmtp
480 %config(noreplace) %{_sysconfdir}/pam.d/mupdate
481 %config(noreplace) %{_sysconfdir}/pam.d/csync
482 %config(noreplace) %{_sysconfdir}/pam.d/nntp
483 %attr(0755,root,root) %{_bindir}/cyradm
484 %{_bindir}/imtest
485 %{_bindir}/installsieve
486 %{_bindir}/lmtptest
487 %{_bindir}/mupdatetest
488 %{_bindir}/nntptest
489 %{_bindir}/pop3test
490 %{_bindir}/sieveshell
491 %{_bindir}/sivtest
492 %{_bindir}/smtptest
493 %{_bindir}/synctest
494 %{_sysconfdir}/cron.daily/%{_name}
495 %dir %{_cyrexecdir}
496 %{_cyrexecdir}/arbitron
497 %{_cyrexecdir}/arbitronsort.pl
498 %{_cyrexecdir}/chk_cyrus
499 %{_cyrexecdir}/compile_st.pl
500 %{_cyrexecdir}/convert-sieve.pl
501 %{_cyrexecdir}/cyr_deny
502 %{_cyrexecdir}/cyr_df
503 %{_cyrexecdir}/cyr_info
504 #%%{_cyrexecdir}/ctl_conversationsdb
505 %{_cyrexecdir}/ctl_cyrusdb
506 %{_cyrexecdir}/ctl_deliver
507 %{_cyrexecdir}/ctl_mboxlist
508 #%%{_cyrexecdir}/ctl_zoneinfo
509 %{_cyrexecdir}/cvt_cyrusdb
510 %{_cyrexecdir}/cyr_dbtool
511 %{_cyrexecdir}/cyr_expire
512 %{_cyrexecdir}/cyr_sequence
513 %{_cyrexecdir}/cyr_synclog
514 %{_cyrexecdir}/cyr_userseen
515 %{_cyrexecdir}/cyrdump
516 %if 0%{?with_dav}
517 %{_cyrexecdir}/cyrus-httpd
518 %{_cyrexecdir}/dav_reconstruct
519 %endif
520 %{_cyrexecdir}/cyrus-master
521 %{_cyrexecdir}/deliver
522 %{_cyrexecdir}/dohash
523 %{_cyrexecdir}/fixsearchpath.pl
524 %{_cyrexecdir}/fud
525 #%%{_cyrexecdir}/hammer_cyrusdb
526 %{_cyrexecdir}/imapd
527 %{_cyrexecdir}/ipurge
528 %exclude %{_cyrexecdir}/jenkins-build.sh
529 %{_cyrexecdir}/lmtpd
530 %{_cyrexecdir}/lmtpproxyd
531 %{_cyrexecdir}/masssievec
532 %{_cyrexecdir}/mbexamine
533 %{_cyrexecdir}/mbpath
534 %{_cyrexecdir}/mbtool
535 #%%{_cyrexecdir}/message_test
536 %{_cyrexecdir}/migrate-metadata
537 %{_cyrexecdir}/mkimap
538 %{_cyrexecdir}/mknewsgroups
539 %{_cyrexecdir}/notifyd
540 %{_cyrexecdir}/pop3d
541 %{_cyrexecdir}/quota
542 %{_cyrexecdir}/reconstruct
543 %{_cyrexecdir}/rehash
544 #%%{_cyrexecdir}/search_test
545 %{_cyrexecdir}/sievec
546 %{_cyrexecdir}/sieved
547 %{_cyrexecdir}/smmapd
548 #%%{_cyrexecdir}/squat_dump
549 %{_cyrexecdir}/squatter
550 %{_cyrexecdir}/timsieved
551 %{_cyrexecdir}/tls_prune
552 %{_cyrexecdir}/translatesieve
553 %{_cyrexecdir}/undohash
554 %{_cyrexecdir}/unexpunge
555 %{_cyrexecdir}/upgradesieve
556 %{_cyrexecdir}/cvt_cyrusdb_all
557 %{_cyrexecdir}/idled
558 %{_cyrexecdir}/mupdate
559 %{_cyrexecdir}/mupdate-loadgen.pl
560 %{_cyrexecdir}/proxyd
561 %{_cyrexecdir}/sync_client
562 %{_cyrexecdir}/sync_reset
563 %{_cyrexecdir}/sync_server
564 %{_cyrexecdir}/cyrfetchnews
565 %{_cyrexecdir}/nntpd
566 %{_cyrexecdir}/ptdump
567 %{_cyrexecdir}/ptexpire
568 %{_cyrexecdir}/ptloader
569 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap
570 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/backup
571 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/db
572 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/log
573 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/meta
574 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/md5
575 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/msg
576 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/proc
577 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/ptclient
578 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/quota
579 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/rpm
580 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/sieve
581 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/socket
582 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/sync
583 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/user
584 %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/spool/imap
585 %{_libdir}/*.so.*
586 %{_var}/lib/imap/rpm/*
587 %doc perl/imap/README
588 %doc perl/imap/Changes
589 %doc perl/imap/examples
590 %dir %{perl_vendorarch}/Cyrus
591 %dir %{perl_vendorarch}/Cyrus/IMAP
592 %{perl_vendorarch}/Cyrus/IMAP/Admin.pm
593 %{perl_vendorarch}/Cyrus/IMAP/Shell.pm
594 %{perl_vendorarch}/Cyrus/IMAP/IMSP.pm
595 %{perl_vendorarch}/Cyrus/IMAP.pm
596 %dir %{perl_vendorarch}/Cyrus/SIEVE
597 %{perl_vendorarch}/Cyrus/SIEVE/managesieve.pm
598 %dir %{perl_vendorlib}/Cyrus/
599 %dir %{perl_vendorlib}/Cyrus/Annotator
600 %{perl_vendorlib}/Cyrus/Annotator/Daemon.pm
601 %{perl_vendorlib}/Cyrus/Annotator/Message.pm
602 %dir %{perl_vendorarch}/auto
603 %dir %{perl_vendorarch}/auto/Cyrus
604 %dir %{perl_vendorarch}/auto/Cyrus/IMAP
605 %{perl_vendorarch}/auto/Cyrus/IMAP/IMAP.so
606 %dir %{perl_vendorarch}/auto/Cyrus/SIEVE
607 %dir %{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve
608 %{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve/managesieve.so
609 %{_mandir}/man1/*
610 %{_mandir}/man3/*
611 %{_mandir}/man5/*
612 %{_mandir}/man8/*
613 %dir %{_sysconfdir}/pki/%{_name}
614 %attr(0640,root,%{_cyrusgroup}) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssl_pem_file}
615
616
617 %files -n %{libname}
618 %{_libdir}/*.so.%{major}*
619
620 %files -n %{develname}
621 %defattr(0644,root,root,0755)
622 %{_includedir}/cyrus
623 %{_libdir}/pkgconfig/*cyrus*.pc
624 %{_libdir}/*.so
625 %{_libdir}/lib*.la
626
627 %files -n perl-Cyrus
628 %doc perl/imap/README perl/imap/Changes perl/imap/examples
629 %{perl_vendorarch}/auto/Cyrus
630 %{perl_vendorarch}/Cyrus
631 %{_mandir}/man3/Cyrus*

  ViewVC Help
Powered by ViewVC 1.1.30