]>
Commit | Line | Data |
---|---|---|
070fb878 AF |
1 | # |
2 | # TODO: | |
3 | # - fix path in .init for lib64 | |
4 | # | |
6920db12 | 5 | %include /usr/lib/rpm/macros.perl |
1097b491 | 6 | Summary: High-performance mail store with imap and pop3 |
bdb0c67b ER |
7 | Summary(pl.UTF-8): Wysoko wydajny serwer IMAP i POP3 |
8 | Summary(pt_BR.UTF-8): Um servidor de mail de alto desempenho que suporta IMAP e POP3 | |
1be9fbde | 9 | Name: cyrus-imapd |
a3bbdeb1 | 10 | Version: 2.3.9 |
72073223 | 11 | Release: 0.3 |
06468c41 | 12 | License: BSD-like |
1be9fbde | 13 | Group: Networking/Daemons |
f3b9d127 | 14 | Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/%{name}-%{version}.tar.gz |
a3bbdeb1 | 15 | # Source0-md5: 113433c1fdc777e3b0466b5ce643b8bc |
1be9fbde AF |
16 | Source1: cyrus-README |
17 | Source2: cyrus-procmailrc | |
18 | Source3: cyrus-deliver-wrapper.c | |
19 | Source4: cyrus-user-procmailrc.template | |
c2419b53 | 20 | Source5: %{name}-procmail+cyrus.mc |
21 | Source6: %{name}.logrotate | |
22 | Source7: %{name}.conf | |
c2419b53 | 23 | Source9: %{name}.pamd |
24 | Source10: %{name}-pop.pamd | |
25 | Source11: %{name}.init | |
26 | Source12: cyrus.conf | |
72073223 | 27 | Source13: cyrus-sync.init |
abe5625f JB |
28 | Patch0: %{name}-et.patch |
29 | Patch1: %{name}-shared.patch | |
1be9fbde | 30 | URL: http://andrew2.andrew.cmu.edu/cyrus/imapd/ |
69c226d2 | 31 | BuildRequires: autoconf >= 2.54 |
1097b491 | 32 | BuildRequires: automake |
812a9b8c | 33 | BuildRequires: cyrus-sasl-devel >= 1.5.27 |
8a851b4f | 34 | BuildRequires: db-devel >= 4.1.25 |
332c28a6 | 35 | BuildRequires: flex |
c0ac4d51 | 36 | BuildRequires: libcom_err-devel >= 1.21 |
9db9f97b | 37 | BuildRequires: libtool |
f7a838f6 | 38 | BuildRequires: net-snmp-devel |
ed3b9bc8 | 39 | BuildRequires: openssl-devel >= 0.9.7d |
f0928209 | 40 | BuildRequires: perl-devel >= 1:5.8.0 |
da46a1f1 | 41 | BuildRequires: rpm-perlprov |
df8a13f2 ER |
42 | BuildRequires: rpmbuild(macros) >= 1.268 |
43 | Requires(post,preun): /sbin/chkconfig | |
44 | Requires(postun): /usr/sbin/userdel | |
ff3301e7 | 45 | Requires(pre): /bin/id |
850e0d61 | 46 | Requires(pre): /usr/sbin/useradd |
9db9f97b | 47 | Requires: %{name}-libs = %{version}-%{release} |
df8a13f2 | 48 | Requires: rc-scripts |
9b5ae120 | 49 | # needed by scripts from %{_bindir} |
237fec00 | 50 | Requires: pam >= 0.79.0 |
df8a13f2 | 51 | Requires: perl-%{name} = %{version}-%{release} |
f5c1cf30 AF |
52 | Provides: imapdaemon |
53 | Provides: pop3daemon | |
ff3301e7 | 54 | Provides: user(cyrus) |
9db9f97b JB |
55 | Obsoletes: imap |
56 | Obsoletes: imapd | |
57 | Obsoletes: imapdaemon | |
58 | Obsoletes: pop3daemon | |
d0ca46fe JB |
59 | Conflicts: courier-imap |
60 | Conflicts: courier-imap-common | |
61 | Conflicts: courier-imap-pop3 | |
06468c41 JB |
62 | Conflicts: imap |
63 | Conflicts: imap-common | |
64 | Conflicts: imap-pop2 | |
65 | Conflicts: imap-pop3 | |
4dd0ee92 | 66 | Conflicts: qpopper |
4dd0ee92 | 67 | Conflicts: qpopper6 |
06468c41 | 68 | Conflicts: solid-pop3d |
d0ca46fe | 69 | Conflicts: tpop3d |
9db9f97b | 70 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1be9fbde | 71 | |
144454c2 | 72 | %define _libexecdir %{_libdir}/cyrus |
f3b9d127 | 73 | |
1be9fbde | 74 | %description |
cb1cf368 | 75 | The Cyrus IMAP server is a scalable enterprise mail system designed |
948af35e | 76 | for use from small to large enterprise environments using |
1be9fbde AF |
77 | standards-based technologies. |
78 | ||
79 | A full Cyrus IMAP implementation allows a seamless mail and bulletin | |
948af35e | 80 | board environment to be set up across multiple servers. It differs |
81 | from other IMAP server implementations in that it is run on "sealed" | |
1be9fbde AF |
82 | servers, where users are not normally permitted to log in. The mailbox |
83 | database is stored in parts of the filesystem that are private to the | |
84 | Cyrus IMAP system. All user access to mail is through software using | |
85 | the IMAP, POP3, or KPOP protocols. | |
86 | ||
04d4eab0 | 87 | %description -l pl.UTF-8 |
948af35e | 88 | Serwer Cyrus IMAP jest skalowalnym systemem e-mail dla |
04d4eab0 JR |
89 | przedsiębiorstwa, zaprojektowanym dla małych i dużych firm i |
90 | wykorzystującym oparte na standardach technologie. | |
91 | ||
92 | Pełna implementacja Cyrus IMAP pozwala na bezproblemowe ustawienie | |
93 | środowiska poczty i elektronicznej tablicy ogłoszeniowej na kilku | |
94 | serwerach. Tym się różni od innych implementacji serwerów IMAP, że | |
95 | jest uruchamiany na "opieczętowanych" serwerach, na które w normalnych | |
96 | warunkach użytkownicy nie mogą się zalogować. Baza danych skrzynek | |
97 | pocztowych jest przechowywana w tych częściach systemu plików, które | |
98 | są dostępne jedynie dla systemu IMAP Cyrus. Wszelki dostęp do poczty | |
99 | ma miejsce poprzez oprogramowanie wykorzystujące protokoły IMAP, POP3 | |
948af35e | 100 | oraz KPOP. |
101 | ||
04d4eab0 JR |
102 | %description -l pt_BR.UTF-8 |
103 | O servidor IMAP Cyrus é um sistema de mail corporativo escalável | |
797aec93 | 104 | projetado para uso por pequenos a grandes ambientes corporativos |
04d4eab0 | 105 | usando tecnologias baseadas em padrões abertos. |
797aec93 | 106 | |
04d4eab0 JR |
107 | Uma implementação completa do Cyrus permite se configurar um ambiente |
108 | transparente de mail e bulletin board entre múltiplos servidores. Ele | |
797aec93 | 109 | difere de outros servidores IMAP por rodar em servidores "selados", |
04d4eab0 JR |
110 | onde usuários não possuem normalmente a permissão de log in. O banco |
111 | de dados de caixas de mail é armazenado em partes do sistema de | |
112 | arquivos que são privativos do sistema Cyrus. Todo o acesso de | |
113 | usuários aos mails se dá através de software usando os protocolos | |
797aec93 | 114 | IMAP, POP3 ou KPOP. |
115 | ||
9db9f97b JB |
116 | %package libs |
117 | Summary: Shared cyrus-imapd libraries | |
bdb0c67b | 118 | Summary(pl.UTF-8): Współdzielone biblioteki cyrus-imapd |
9db9f97b JB |
119 | Group: Libraries |
120 | ||
121 | %description libs | |
122 | Shared cyrus-imapd libraries. | |
123 | ||
04d4eab0 JR |
124 | %description libs -l pl.UTF-8 |
125 | Współdzielone biblioteki cyrus-imapd. | |
9db9f97b | 126 | |
26aa5f83 | 127 | %package devel |
9db9f97b | 128 | Summary: Header files for developing with cyrus-imapd libraries |
bdb0c67b | 129 | Summary(pl.UTF-8): Pliki nagłówkowe do programowania z użyciem bibliotek cyrus-imapd |
26aa5f83 | 130 | Group: Development/Libraries |
9db9f97b | 131 | Requires: %{name}-libs = %{version}-%{release} |
26aa5f83 | 132 | |
133 | %description devel | |
9db9f97b JB |
134 | This package provides the necessary header files files to allow you to |
135 | develop with cyrus-imapd libraries. | |
26aa5f83 | 136 | |
04d4eab0 JR |
137 | %description devel -l pl.UTF-8 |
138 | Ten pakiet zawiera pliki nagłówkowe niezbędne do tworzenia | |
9db9f97b | 139 | oprogramowania z wykorzystaniem bibliotek cyrus-imapd. |
26aa5f83 | 140 | |
141 | %package static | |
142 | Summary: Static cyrus-imapd libraries | |
bdb0c67b | 143 | Summary(pl.UTF-8): Biblioteki statyczne cyrus-imapd |
26aa5f83 | 144 | Group: Development/Libraries |
144454c2 | 145 | Requires: %{name}-devel = %{version}-%{release} |
26aa5f83 | 146 | |
147 | %description static | |
148 | Static cyrus-imapd libraries | |
149 | ||
04d4eab0 | 150 | %description static -l pl.UTF-8 |
26aa5f83 | 151 | Biblioteki statyczne cyrus-imapd |
152 | ||
f7cc6fbe | 153 | %package -n perl-%{name} |
154 | Summary: Perl interface to cyrus-imapd library | |
bdb0c67b | 155 | Summary(pl.UTF-8): Perlowy interfejs do biblioteki cyrus-imapd |
f7cc6fbe | 156 | Group: Development/Languages/Perl |
9db9f97b | 157 | Requires: %{name}-libs = %{version}-%{release} |
f7cc6fbe | 158 | |
159 | %description -n perl-%{name} | |
160 | Perl interface to cyrus-imapd library. | |
161 | ||
04d4eab0 | 162 | %description -n perl-%{name} -l pl.UTF-8 |
f7cc6fbe | 163 | Perlowy interfejs do biblioteki cyrus-imapd. |
164 | ||
1be9fbde | 165 | %prep |
e846e561 | 166 | %setup -q |
6920db12 | 167 | %patch0 -p1 |
c2419b53 | 168 | %patch1 -p1 |
144454c2 JB |
169 | |
170 | rm -rf autom4te.cache | |
3750750a | 171 | |
1be9fbde | 172 | %build |
1be9fbde | 173 | cd makedepend |
e25dce16 | 174 | %{__aclocal} |
2fbf581c | 175 | %{__autoconf} |
e846e561 | 176 | %configure |
07550cdb | 177 | %{__make} |
06468c41 | 178 | PATH=$PATH:`pwd`; export PATH |
1be9fbde | 179 | cd .. |
9db9f97b | 180 | %{__libtoolize} |
e25dce16 | 181 | %{__aclocal} -I cmulocal |
182 | %{__autoheader} | |
2fbf581c | 183 | %{__autoconf} |
e3159f00 | 184 | cp -f %{_datadir}/automake/config.* . |
808aa207 | 185 | cp -f %{_datadir}/automake/install-sh . |
f3b9d127 | 186 | %configure \ |
c2419b53 | 187 | --with-auth=unix \ |
3c6d33dc | 188 | --without-libwrap \ |
9d1481eb | 189 | --with-cyrus-prefix=%{_libexecdir} \ |
144454c2 | 190 | --with-service-path=%{_libexecdir} \ |
573b6024 | 191 | --with-com_err=/usr \ |
2b0160ed | 192 | --with-perl=%{__perl} \ |
ad180cab ER |
193 | --enable-nntp \ |
194 | --enable-replication | |
573b6024 | 195 | %{__make} \ |
196 | INSTALLDIRS=vendor | |
1be9fbde | 197 | |
4dd0ee92 | 198 | %{__cc} %{rpmcflags} \ |
1097b491 | 199 | -DLIBEXECDIR="\"%{_libexecdir}\"" %{rpmldflags} -Wall -o deliver-wrapper %{SOURCE3} |
1be9fbde AF |
200 | |
201 | %install | |
f3b9d127 | 202 | rm -rf $RPM_BUILD_ROOT |
f3b9d127 AF |
203 | install -d \ |
204 | $RPM_BUILD_ROOT{%{_sbindir},%{_libexecdir},%{_mandir}} \ | |
6cd9161b | 205 | $RPM_BUILD_ROOT%{_sysconfdir}/{logrotate.d,sysconfig/rc-inetd} \ |
f3b9d127 | 206 | $RPM_BUILD_ROOT/var/spool/imap/stage. \ |
758683a1 | 207 | $RPM_BUILD_ROOT/var/lib/imap/{user,quota,proc,log,msg,deliverdb/db,sieve,db,socket} \ |
c2419b53 | 208 | $RPM_BUILD_ROOT/etc/{security,pam.d,rc.d/init.d} |
6920db12 | 209 | |
e5822417 JR |
210 | touch $RPM_BUILD_ROOT/var/lib/imap/mailboxes \ |
211 | $RPM_BUILD_ROOT/var/lib/imap/faillog \ | |
84577b34 | 212 | $RPM_BUILD_ROOT/etc/security/blacklist.imap \ |
e5f127bb | 213 | $RPM_BUILD_ROOT/etc/security/blacklist.pop3 |
f3b9d127 | 214 | |
573b6024 | 215 | %{__make} install \ |
216 | DESTDIR=$RPM_BUILD_ROOT \ | |
217 | CYRUS_USER="`id -u`" \ | |
218 | CYRUS_GROUP="`id -g`" \ | |
573b6024 | 219 | INSTALLDIRS=vendor |
f3b9d127 | 220 | |
3c6d33dc | 221 | install deliver-wrapper $RPM_BUILD_ROOT%{_libexecdir}/deliver-wrapper |
f3b9d127 | 222 | |
3750750a | 223 | install %{SOURCE1} %{SOURCE2} %{SOURCE4} %{SOURCE5} . |
c2419b53 | 224 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/logrotate.d/cyrus-imapd |
225 | install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/imapd.conf | |
c2419b53 | 226 | install %{SOURCE9} $RPM_BUILD_ROOT/etc/pam.d/imap |
227 | install %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/pop | |
c38a6f02 | 228 | sed -e 's,/''usr/lib/cyrus,%{_libexecdir},' %{SOURCE11} > $RPM_BUILD_ROOT/etc/rc.d/init.d/cyrus-imapd |
72073223 | 229 | sed -e 's,/''usr/lib/cyrus,%{_libexecdir},' %{SOURCE13} > $RPM_BUILD_ROOT/etc/rc.d/init.d/cyrus-sync |
c2419b53 | 230 | install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/cyrus.conf |
1be9fbde | 231 | |
3750750a | 232 | mv -f $RPM_BUILD_ROOT%{_libexecdir}/master $RPM_BUILD_ROOT%{_libexecdir}/cyrus-master |
baa6c6f4 | 233 | mv -f $RPM_BUILD_ROOT%{_mandir}/man8/master.8 $RPM_BUILD_ROOT%{_mandir}/man8/cyrus-master.8 |
c38a6f02 ER |
234 | rm -f $RPM_BUILD_ROOT%{_mandir}/man8/idled.8 |
235 | rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod | |
3c6d33dc | 236 | |
e5f127bb | 237 | touch $RPM_BUILD_ROOT/etc/security/blacklist.{imap,pop3} |
1be9fbde | 238 | |
c38a6f02 | 239 | find $RPM_BUILD_ROOT%{perl_vendorarch} -name .packlist | xargs rm -v |
9d1481eb | 240 | |
f3b9d127 | 241 | # make hashed dirs |
610cc4ce | 242 | for i in `%{__perl} -le 'print for "a".."z"'`; do |
c38a6f02 ER |
243 | install -d $RPM_BUILD_ROOT%{_var}/lib/imap/user/$i |
244 | install -d $RPM_BUILD_ROOT%{_var}/lib/imap/quota/$i | |
245 | install -d $RPM_BUILD_ROOT%{_var}/lib/imap/sieve/$i | |
246 | install -d $RPM_BUILD_ROOT%{_var}/spool/imap/$i | |
610cc4ce | 247 | done |
1be9fbde | 248 | |
c0ac4d51 JB |
249 | %clean |
250 | rm -rf $RPM_BUILD_ROOT | |
251 | ||
a2e343ee | 252 | %pre |
8cb0dfcd | 253 | %useradd -u 76 -d /var/spool/imap -s /bin/false -c "Cyrus User" -g mail cyrus |
a2e343ee | 254 | |
1be9fbde | 255 | %post |
e5822417 | 256 | touch /var/lib/imap/faillog |
67fb57cd | 257 | chown cyrus:mail /var/lib/imap/faillog |
e5822417 | 258 | chmod 640 /var/lib/imap/faillog |
e5822417 | 259 | cd /var/lib/imap |
ff3301e7 | 260 | chattr +S . user quota user/* quota/* 2>/dev/null ||: |
261 | chattr +S /var/spool/imap /var/spool/imap/* 2>/dev/null ||: | |
8ad6112d ER |
262 | |
263 | /sbin/chkconfig --add cyrus-imapd | |
c38a6f02 | 264 | %service cyrus-imapd restart "cyrus imap daemon" |
72073223 | 265 | %service cyrus-sync restart "cyrus replication service" |
c2419b53 | 266 | |
267 | %preun | |
e2f602fa | 268 | if [ "$1" = "0" ]; then |
df8a13f2 | 269 | %service cyrus-imapd stop |
72073223 | 270 | %service cyrus-sync stop |
e2f602fa | 271 | /sbin/chkconfig --del cyrus-imapd |
72073223 | 272 | /sbin/chkconfig --del cyrus-sync |
e2f602fa | 273 | fi |
c2419b53 | 274 | |
a2e343ee | 275 | %postun |
276 | if [ "$1" = "0" ]; then | |
ff3301e7 | 277 | %userremove cyrus |
a2e343ee | 278 | fi |
279 | ||
9db9f97b JB |
280 | %post libs -p /sbin/ldconfig |
281 | %postun libs -p /sbin/ldconfig | |
282 | ||
f3b9d127 AF |
283 | %files |
284 | %defattr(644,root,root,755) | |
1097b491 | 285 | %doc cyrus-README cyrus-procmailrc cyrus-user-procmailrc.template |
8a851b4f | 286 | %doc cyrus-imapd-procmail+cyrus.mc COPYRIGHT doc/*.html tools |
41919aea ER |
287 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf |
288 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/cyrus-imapd | |
289 | %attr(440,cyrus,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/* | |
290 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.* | |
b5845dff | 291 | %attr(754,root,root) /etc/rc.d/init.d/cyrus-imapd |
72073223 | 292 | %attr(754,root,root) /etc/rc.d/init.d/cyrus-sync |
c2419b53 | 293 | %attr(640,cyrus,mail) %ghost /var/lib/imap/faillog |
c2419b53 | 294 | %attr(755,root,root) %{_bindir}/* |
c38a6f02 | 295 | %dir %{_libexecdir} |
3750750a | 296 | %attr(4754,cyrus,mail) %{_libexecdir}/deliver |
f3b9d127 | 297 | %attr(2755,cyrus,mail) %{_libexecdir}/deliver-wrapper |
c648b02a | 298 | %attr(755,root,root) %{_libexecdir}/arbitron |
144454c2 | 299 | %attr(755,root,root) %{_libexecdir}/chk_cyrus |
070fb878 | 300 | %attr(755,root,root) %{_libexecdir}/ctl_cyrusdb |
c2419b53 | 301 | %attr(755,root,root) %{_libexecdir}/ctl_deliver |
302 | %attr(755,root,root) %{_libexecdir}/ctl_mboxlist | |
8a851b4f | 303 | %attr(755,root,root) %{_libexecdir}/cvt_cyrusdb |
070fb878 | 304 | %attr(755,root,root) %{_libexecdir}/cyr_dbtool |
9d1481eb | 305 | %attr(755,root,root) %{_libexecdir}/cyrdump |
070fb878 | 306 | %attr(755,root,root) %{_libexecdir}/cyr_expire |
144454c2 | 307 | %attr(755,root,root) %{_libexecdir}/cyrus-master |
070fb878 | 308 | %attr(755,root,root) %{_libexecdir}/fetchnews |
c2419b53 | 309 | %attr(755,root,root) %{_libexecdir}/fud |
310 | %attr(755,root,root) %{_libexecdir}/imapd | |
311 | %attr(755,root,root) %{_libexecdir}/ipurge | |
312 | %attr(755,root,root) %{_libexecdir}/lmtpd | |
070fb878 | 313 | %attr(755,root,root) %{_libexecdir}/lmtpproxyd |
ad180cab ER |
314 | %attr(755,root,root) %{_libexecdir}/make_md5 |
315 | %attr(755,root,root) %{_libexecdir}/sync_client | |
316 | %attr(755,root,root) %{_libexecdir}/sync_reset | |
317 | %attr(755,root,root) %{_libexecdir}/sync_server | |
808aa207 | 318 | %attr(755,root,root) %{_libexecdir}/mbexamine |
c2419b53 | 319 | %attr(755,root,root) %{_libexecdir}/mbpath |
070fb878 | 320 | %attr(755,root,root) %{_libexecdir}/nntpd |
144454c2 | 321 | %attr(755,root,root) %{_libexecdir}/notifyd |
c2419b53 | 322 | %attr(755,root,root) %{_libexecdir}/pop3d |
144454c2 | 323 | %attr(755,root,root) %{_libexecdir}/pop3proxyd |
070fb878 | 324 | %attr(755,root,root) %{_libexecdir}/proxyd |
c2419b53 | 325 | %attr(755,root,root) %{_libexecdir}/quota |
326 | %attr(755,root,root) %{_libexecdir}/reconstruct | |
144454c2 JB |
327 | %attr(755,root,root) %{_libexecdir}/sievec |
328 | %attr(755,root,root) %{_libexecdir}/smmapd | |
329 | %attr(755,root,root) %{_libexecdir}/squatter | |
c2419b53 | 330 | %attr(755,root,root) %{_libexecdir}/timsieved |
144454c2 | 331 | %attr(755,root,root) %{_libexecdir}/tls_prune |
070fb878 AF |
332 | %attr(755,root,root) %{_libexecdir}/unexpunge |
333 | ||
f3b9d127 | 334 | |
c2419b53 | 335 | %attr(750,cyrus,mail) /var/spool/imap |
336 | %attr(750,cyrus,mail) %dir /var/lib/imap | |
758683a1 | 337 | %attr(750,cyrus,mail) %dir /var/lib/imap/deliverdb |
338 | %attr(750,cyrus,mail) /var/lib/imap/deliverdb/db | |
339 | %attr(750,cyrus,mail) /var/lib/imap/quota | |
340 | %attr(750,cyrus,mail) /var/lib/imap/user | |
341 | %attr(750,cyrus,mail) /var/lib/imap/sieve | |
342 | %attr(750,cyrus,mail) /var/lib/imap/log | |
343 | %attr(750,cyrus,mail) /var/lib/imap/msg | |
344 | %attr(750,cyrus,mail) /var/lib/imap/proc | |
345 | %attr(750,cyrus,mail) /var/lib/imap/db | |
346 | %attr(750,cyrus,mail) /var/lib/imap/socket | |
41919aea | 347 | %attr(750,cyrus,mail) %config(noreplace) %verify(not md5 mtime size) /var/lib/imap/mailboxes |
f3b9d127 | 348 | |
1be9fbde | 349 | %{_mandir}/man*/* |
26aa5f83 | 350 | |
9db9f97b JB |
351 | %files libs |
352 | %defattr(644,root,root,755) | |
353 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
354 | ||
26aa5f83 | 355 | %files devel |
356 | %defattr(644,root,root,755) | |
9db9f97b JB |
357 | %attr(755,root,root) %{_libdir}/lib*.so |
358 | %{_libdir}/lib*.la | |
f3b9d127 | 359 | %{_includedir}/cyrus |
26aa5f83 | 360 | |
361 | %files static | |
362 | %defattr(644,root,root,755) | |
f3b9d127 | 363 | %{_libdir}/lib*.a |
f7cc6fbe | 364 | |
365 | %files -n perl-%{name} | |
366 | %defattr(644,root,root,755) | |
573b6024 | 367 | %{perl_vendorarch}/Cyrus |
808aa207 JB |
368 | %dir %{perl_vendorarch}/auto/Cyrus |
369 | %dir %{perl_vendorarch}/auto/Cyrus/IMAP | |
370 | %attr(755,root,root) %{perl_vendorarch}/auto/Cyrus/IMAP/IMAP.so | |
371 | %{perl_vendorarch}/auto/Cyrus/IMAP/IMAP.bs | |
372 | %dir %{perl_vendorarch}/auto/Cyrus/SIEVE | |
373 | %dir %{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve | |
374 | %attr(755,root,root) %{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve/managesieve.so | |
375 | %{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve/managesieve.bs |