]> git.pld-linux.org Git - packages/dovecot.git/blame - dovecot.spec
Release 3 (by relup.sh)
[packages/dovecot.git] / dovecot.spec
CommitLineData
6865becd
JB
1#
2# Conditional build:
3ee251c0 3%bcond_without gssapi # without GSSAPI support
f4230487 4%bcond_without ldap # without LDAP auth
05561653 5%bcond_without lua # without Lua auth
f4230487
JB
6%bcond_without mysql # without MySQL auth
7%bcond_without pgsql # without PostgreSQL auth
b60b3e8a 8%bcond_without sqlite # without SQLite3 auth
f4230487 9%bcond_without sasl # without SASL auth
f5d18128 10%bcond_without tests # tests
8e04a4c1 11
b8f6d56a 12Summary: IMAP and POP3 server written with security primarily in mind
7ad305a6 13Summary(pl.UTF-8): Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
b8f6d56a 14Name: dovecot
90b6ba96 15Version: 2.3.21
31c8b554 16Release: 3
660b9616 17Epoch: 1
ba932ed4 18License: MIT (libraries), LGPL v2.1 (the rest)
b8f6d56a 19Group: Networking/Daemons
750df5ea 20Source0: http://dovecot.org/releases/2.3/%{name}-%{version}.tar.gz
90b6ba96 21# Source0-md5: 8961c3dafd845a25fd55e7903ffc3755
8d47df47
TO
22Source1: %{name}.pamd
23Source2: %{name}.init
24Source3: %{name}.sysconfig
1fd90052 25Source4: %{name}.tmpfiles
8d47df47 26Patch0: %{name}-config.patch
469a4531 27Patch1: %{name}-rpath.patch
4d482294 28Patch2: %{name}-shebang.patch
11ff587d 29Patch3: proc-status.patch
1fb23094 30Patch4: openssl3.patch
027cb77c 31URL: http://dovecot.org/
0928494a
JB
32BuildRequires: autoconf
33BuildRequires: automake
d9e4e4b3 34BuildRequires: bzip2-devel
b9750edc 35BuildRequires: clucene-core-devel >= 2.3.3.4
b8cf09c1 36BuildRequires: curl-devel
f4230487 37%{?with_sasl:BuildRequires: cyrus-sasl-devel >= 2.0}
b8cf09c1 38BuildRequires: expat-devel
06acc771 39BuildRequires: gettext-tools
1ab66923 40%{?with_gssapi:BuildRequires: heimdal-devel}
2e9fa550 41BuildRequires: libapparmor-devel
d9e4e4b3 42BuildRequires: libcap-devel
d5662119 43BuildRequires: libicu-devel
b8cf09c1
AM
44BuildRequires: libstemmer-devel
45BuildRequires: libexttextcat-devel
0928494a 46BuildRequires: libtool
05561653 47%{?with_lua:BuildRequires: lua53-devel}
b8cf09c1 48BuildRequires: lz4-devel
f4230487 49%{?with_mysql:BuildRequires: mysql-devel}
2e75e92c 50%{?with_ldap:BuildRequires: openldap-devel >= 2.3.3}
6ceb4d17 51BuildRequires: openssl-devel >= 0.9.7d
6865becd 52BuildRequires: pam-devel
b7e03084 53BuildRequires: pkgconfig
6fca25bf 54BuildRequires: pkgconfig(lua) >= 5.1
f4230487 55%{?with_pgsql:BuildRequires: postgresql-devel}
9f0e9eb5 56BuildRequires: rpmbuild(macros) >= 1.647
930a78ad 57BuildRequires: sed >= 4.0
a0260ad9 58%{?with_sqlite:BuildRequires: sqlite3-devel}
d5662119 59BuildRequires: xz-devel
d9e4e4b3 60BuildRequires: zlib-devel
739a4a9a 61BuildRequires: zstd-devel
8d47df47 62Requires(post,preun): /sbin/chkconfig
c1df1ed1
KK
63Requires(postun): /usr/sbin/groupdel
64Requires(postun): /usr/sbin/userdel
65Requires(pre): /bin/id
66Requires(pre): /usr/bin/getgid
67Requires(pre): /usr/sbin/groupadd
68Requires(pre): /usr/sbin/useradd
147a541c 69Requires: %{name}-libs = %{epoch}:%{version}-%{release}
50c4e802 70Requires: pam >= 0.79.0
c1df1ed1 71Provides: group(dovecot)
8d47df47 72Provides: imapdaemon
23beb95b 73Provides: pop3daemon
660b9616 74Provides: user(dovecot)
23beb95b
JB
75# heimdal-daemons in PLD contained only "popper" (kerberized POP3 daemon)
76%{?with_gssapi:Obsoletes: heimdal-daemons}
b8f6d56a
JB
77BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78
4bf55e2e
JR
79%define no_install_post_check_so 1
80
b8f6d56a
JB
81%description
82Dovecot is an IMAP and POP3 server for Linux/UNIX-like systems,
83written with security primarily in mind. Although it's written with C,
84it uses several coding techniques to avoid most of the common
85pitfalls.
86
87Dovecot can work with standard mbox and maildir formats and it's fully
88compatible with UW-IMAP and Courier IMAP servers as well as mail
89clients accessing the mailboxes directly. It's also planned to support
90storing mails in SQL databases.
91
92Dovecot is easy to set up and doesn't require special maintenance.
93Only thing you need is to get the authentication working properly - if
94your users are in /etc/passwd there's hardly anything you have to do.
95
96Dovecot should be pretty fast, mostly because of index files that
97Dovecot maintains; instead of having to scan through all the data in
8d47df47
TO
98mailbox, Dovecot can get most of the wanted information from index
99with little effort.
b8f6d56a
JB
100
101Status:
ddfebb5d 102- should be quite ready for use with normal IMAP clients
3fcc147b
KK
103- complete IMAP4rev1 and POP3 support
104- supports THREAD, SORT and IDLE extensions, required by many IMAP
105 webmails
106- complete TLS/SSL support
ddfebb5d 107- IPv6 ready
108- shared mailboxes aren't yet supported
3fcc147b
KK
109- Maildir++ quota is supported, bad hard filesystem quota can be
110 problematic
b8f6d56a 111
db6f7644
JR
112%description -l pl.UTF-8
113Dovecot to serwer IMAP i POP3 dla systemów linuksowych/uniksowych,
114pisany głównie z myślą o bezpieczeństwie. Chociaż jest pisany w C,
115używa kilku technik kodowania zapobiegających większości popularnych
116pułapek.
0928494a 117
db6f7644
JR
118Dovecot może działać ze standardowymi formatami mbox i maildir, jest
119całkowicie kompatybilny z serwerami UW-IMAP i Courier IMAP, a także z
120klientami pocztowymi bezpośrednio dostającymi się do skrzynek.
121Planowana jest także obsługa przechowywania listów w bazach SQL.
0928494a 122
db6f7644
JR
123Dovecot jest łatwy do skonfigurowania i nie wymaga specjalnego
124nadzoru. Wystarczy tylko doprowadzić do działania uwierzytelnianie -
125jeśli użytkownicy są w /etc/passwd, to właściwie nie trzeba nic
126zmieniać.
0928494a 127
db6f7644 128Dovecot powinien być w miarę szybki, głównie z powodu plików
0928494a 129indeksowych utrzymywanych przez serwer; zamiast potrzeby skanowania
db6f7644
JR
130wszystkich danych w skrzynce, Dovecot może małym kosztem uzyskać
131większość potrzebnych informacji z indeksu.
0928494a
JB
132
133Stan:
db6f7644
JR
134- powinien być gotowy do użycia ze zwykłymi klientami IMAP
135- pełna obsługa IMAP4rev1 i POP3
136- obsługa rozszerzeń THREAD, SORT i IDLE, wymaganych przez wiele
3fcc147b 137 webmaili IMAP
db6f7644
JR
138- obsługa IPv6
139- pełna obsługa TLS/SSL
140- quota Maildir++ jest obsługiwana, ale twarda quota na systemach
141 plików może być problematyczna
0928494a 142
23beb95b
JB
143%package libs
144Summary: Dovecot shared libraries
145Summary(pl.UTF-8): Współdzielone biblioteki Dovecota
146Group: Development/Libraries
147
148%description libs
149Dovecot shared libraries.
150
151%description libs -l pl.UTF-8
152Współdzielone biblioteki Dovecota.
153
ee9bfb11 154%package devel
f4f4ea9e 155Summary: Development package for Dovecot plugins
156Summary(pl.UTF-8): Pakiet programistyczny do tworzenia wtyczek dla Dovecota
1f7b33f9 157Group: Development/Libraries
7fbaf96b 158Requires: %{name}-libs = %{epoch}:%{version}-%{release}
ee9bfb11
JS
159
160%description devel
f4f4ea9e 161Development package for Dovecot plugins.
d3be9b82
JB
162
163%description devel -l pl.UTF-8
f4f4ea9e 164Pakiet programistyczny do tworzenia wtyczek dla Dovecota.
ee9bfb11 165
b8f6d56a
JB
166%prep
167%setup -q
8d47df47 168%patch0 -p1
469a4531 169%patch1 -p1
4d482294 170%patch2 -p1
11ff587d 171%patch3 -p1
1fb23094 172%patch4 -p1
9f6c4ad4 173
301d0b92 174%{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' doc/example-config/*.conf doc/example-config/conf.d/*.conf
b8f6d56a 175
a28d32a7
AM
176%{__sed} -i 's,#!/usr/bin/env bash,#!/bin/bash,' src/util/health-check.sh
177
b8f6d56a 178%build
06cf0ac5 179touch config.rpath
b8f6d56a 180%{__libtoolize}
edea71d0 181%{__aclocal} -I . -I m4
b8f6d56a
JB
182%{__autoconf}
183%{__autoheader}
184%{__automake}
6865becd 185%configure \
014fb737 186 ac_cv_path_VALGRIND=reject \
0d8cffe3 187 CPPFLAGS="%{rpmcppflags} -I/usr/include/libstemmer -D_LINUX_QUOTA_VERSION=2" \
ba932ed4 188 --disable-static \
5d7b06ff 189 --enable-hardening \
6865becd 190 %{?debug:--enable-debug} \
3082a74f 191 %{?with_ldap:--with-ldap=yes} \
f4230487
JB
192 %{?with_mysql:--with-mysql} \
193 %{?with_pgsql:--with-pgsql} \
a0260ad9 194 %{?with_sqlite:--with-sqlite} \
ff3fede5 195 %{?with_gssapi:--with-gssapi=plugin} \
05561653 196 %{?with_lua:--with-lua=plugin} \
b8cf09c1
AM
197 --with-lucene \
198 --with-stemmer \
199 --with-solr \
ff3fede5
AM
200 --with-sql=plugin \
201 --with-pam \
d9e4e4b3
AM
202 --with-zlib \
203 --with-bzlib \
204 --with-libcap \
6865becd 205 --with-ssl=openssl \
739a4a9a 206 --with-zstd \
c58c659d
JR
207%ifarch x32
208 --without-libunwind \
209%endif
d3f43412 210 --with-moduledir=%{_libdir}/%{name}/plugins \
d9e4e4b3 211 --with-ssldir=/var/lib/openssl \
5152fa81 212 --sysconfdir=%{_sysconfdir} \
9f0e9eb5 213 --with-systemdsystemunitdir=%{systemdunitdir}
b8f6d56a
JB
214
215%{__make}
216
f5d18128
AM
217%{?with_tests:%{__make} check}
218
b8f6d56a
JB
219%install
220rm -rf $RPM_BUILD_ROOT
1fd90052
JR
221install -d $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,sysconfig,security} \
222 $RPM_BUILD_ROOT{/var/lib/dovecot,/var/run/dovecot/login} \
223 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
b8f6d56a
JB
224
225%{__make} install \
226 DESTDIR=$RPM_BUILD_ROOT
227
d3f43412 228mv -f $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/example-config/* $RPM_BUILD_ROOT%{_sysconfdir}/dovecot
b8f6d56a 229
8e04a4c1
ER
230cp -a %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/%{name}
231install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
232cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
1fd90052 233install %{SOURCE4} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
8d47df47
TO
234
235touch $RPM_BUILD_ROOT/etc/security/blacklist.imap
236
4aef4380 237find $RPM_BUILD_ROOT%{_libdir}/%{name} -name '*.la' | xargs rm
bb75c55c 238
1fd90052
JR
239%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
240%{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/README
1f7b33f9 241
b8f6d56a
JB
242%clean
243rm -rf $RPM_BUILD_ROOT
244
c1df1ed1
KK
245%pre
246%groupadd -g 172 dovecot
247%useradd -u 172 -d /usr/share/empty -s /bin/false -c "Dovecot server" -g dovecot dovecot
74a997c5
AM
248%groupadd -g 254 dovenull
249%useradd -u 254 -d /usr/share/empty -s /bin/false -c "Dovecot server" -g dovenull dovenull
c1df1ed1 250
8d47df47
TO
251%post
252/sbin/chkconfig --add dovecot
0182c7a5 253%service dovecot restart
9f0e9eb5 254%systemd_post dovecot.socket dovecot.service
8d47df47
TO
255
256%preun
257if [ "$1" = "0" ]; then
65d55d28 258 %service dovecot stop
8d47df47
TO
259 /sbin/chkconfig --del dovecot
260fi
9f0e9eb5 261%systemd_preun dovecot.service dovecot.socket
8d47df47 262
c1df1ed1
KK
263%postun
264if [ "$1" = "0" ]; then
265 %userremove dovecot
266 %groupremove dovecot
74a997c5
AM
267 %userremove dovenull
268 %groupremove dovenull
c1df1ed1 269fi
9f0e9eb5 270%systemd_reload
c1df1ed1 271
bc5d3bcd
AM
272%post libs -p /sbin/ldconfig
273%postun libs -p /sbin/ldconfig
274
a6b782c0
JR
275%triggerin -- pam
276# restart devocot if pam is upgraded
277# (dovecot is linked with old libpam but tries to open modules linked with new libpam)
278if [ "$2" != 1 ]; then
279 %service -q dovecot restart
280fi
281
28c2da72
JR
282%triggerpostun -- dovecot < 1:2.0.0
283# upgrading dovecot < 1.1
fdaf3880
PG
284echo "Configuration change default_mail_env -> mail_location"
285%{__sed} -i -e "s/^default_mail_env/mail_location/" /etc/dovecot/dovecot.conf
28c2da72 286# upgrading dovecot < 2.0
b897a7bd 287i=0
687a6849
AM
288for a in /etc/dovecot/dovecot-db-example.conf \
289 /etc/dovecot/dovecot-dict-sql-example.conf \
290 /etc/dovecot/dovecot-ldap-example.conf \
291 /etc/dovecot/dovecot-sql-example.conf \
292 /etc/dovecot/dovecot.conf; do
293 if [ -f "$a" ]; then
b897a7bd
AM
294 [ "$i" -eq 0 ] && echo "Read http://wiki2.dovecot.org/Upgrading/2.0"
295 i=1
687a6849 296 echo "Trying to migrate $a config file to dovecot 2."
8c43f42b 297 cp -a "$a" "$a-1.2.org"
d31b09de
AM
298 :> "$a.log"
299 chmod 600 "$a.log"
8c43f42b 300 # convert config and prefix stderr lines with #
d31b09de 301 %{_bindir}/doveconf -n -c "$a-1.2.org" > "$a" 2> "$a.log" || :
687a6849
AM
302 fi
303done
8c43f42b
AM
304if [ "$i" -eq 1 ]; then
305 echo "Please verify contents of %{_sysconfdir}/%{name}/* files."
306fi
fdaf3880 307
d2bda8e3 308# < 1:2.2.4-2
9f0e9eb5
AF
309%systemd_trigger dovecot.service dovecot.socket
310
b8f6d56a
JB
311%files
312%defattr(644,root,root,755)
313# COPYING contains some notes, not actual LGPL text
caf88cd1 314%doc AUTHORS COPYING ChangeLog NEWS README TODO doc/*.txt doc/*.c*f doc/wiki/*.txt
bb75c55c
AM
315%attr(755,root,root) %{_bindir}/doveadm
316%attr(755,root,root) %{_bindir}/doveconf
4d482294 317%attr(755,root,root) %{_bindir}/dovecot-sysreport
bb75c55c 318%attr(755,root,root) %{_bindir}/dsync
8d47df47 319%attr(755,root,root) %{_sbindir}/%{name}
15872051 320%attr(751,root,root) %dir %{_sysconfdir}/%{name}
c19c6ee3 321%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf
bb75c55c
AM
322%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.ext
323%attr(751,root,root) %dir %{_sysconfdir}/%{name}/conf.d
324%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/*.conf
325%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/*.ext
c5c6a170 326%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/%{name}
327%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.imap
328%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
8d47df47 329%attr(754,root,root) /etc/rc.d/init.d/%{name}
e825b166
JB
330%if "%{_libexecdir}" != "%{_libdir}"
331%dir %{_libexecdir}/%{name}
332%endif
6826e7cb
JR
333%attr(755,root,root) %{_libexecdir}/%{name}/aggregator
334%attr(755,root,root) %{_libexecdir}/%{name}/anvil
335%attr(755,root,root) %{_libexecdir}/%{name}/auth
336%attr(755,root,root) %{_libexecdir}/%{name}/checkpassword-reply
337%attr(755,root,root) %{_libexecdir}/%{name}/config
338%attr(755,root,root) %{_libexecdir}/%{name}/decode2text.sh
339%attr(755,root,root) %{_libexecdir}/%{name}/deliver
340%attr(755,root,root) %{_libexecdir}/%{name}/dict
341%attr(755,root,root) %{_libexecdir}/%{name}/director
342%attr(755,root,root) %{_libexecdir}/%{name}/dns-client
343%attr(755,root,root) %{_libexecdir}/%{name}/doveadm-server
344%attr(755,root,root) %{_libexecdir}/%{name}/dovecot-lda
345%attr(755,root,root) %{_libexecdir}/%{name}/gdbhelper
a0821751 346%attr(755,root,root) %{_libexecdir}/%{name}/health-check.sh
6826e7cb
JR
347%attr(755,root,root) %{_libexecdir}/%{name}/imap
348%attr(755,root,root) %{_libexecdir}/%{name}/imap-hibernate
349%attr(755,root,root) %{_libexecdir}/%{name}/imap-login
350%attr(755,root,root) %{_libexecdir}/%{name}/imap-urlauth
351%attr(755,root,root) %{_libexecdir}/%{name}/imap-urlauth-login
352%attr(755,root,root) %{_libexecdir}/%{name}/imap-urlauth-worker
353%attr(755,root,root) %{_libexecdir}/%{name}/indexer
354%attr(755,root,root) %{_libexecdir}/%{name}/indexer-worker
355%attr(755,root,root) %{_libexecdir}/%{name}/ipc
356%attr(755,root,root) %{_libexecdir}/%{name}/lmtp
357%attr(755,root,root) %{_libexecdir}/%{name}/log
358%attr(755,root,root) %{_libexecdir}/%{name}/maildirlock
750df5ea 359%attr(755,root,root) %{_libexecdir}/%{name}/old-stats
6826e7cb
JR
360%attr(755,root,root) %{_libexecdir}/%{name}/pop3
361%attr(755,root,root) %{_libexecdir}/%{name}/pop3-login
362%attr(755,root,root) %{_libexecdir}/%{name}/quota-status
363%attr(755,root,root) %{_libexecdir}/%{name}/rawlog
364%attr(755,root,root) %{_libexecdir}/%{name}/replicator
365%attr(755,root,root) %{_libexecdir}/%{name}/script
366%attr(755,root,root) %{_libexecdir}/%{name}/script-login
6826e7cb 367%attr(755,root,root) %{_libexecdir}/%{name}/stats
750df5ea
AM
368%attr(755,root,root) %{_libexecdir}/%{name}/submission
369%attr(755,root,root) %{_libexecdir}/%{name}/submission-login
6826e7cb 370%attr(755,root,root) %{_libexecdir}/%{name}/xml2text
1ceccb88 371%attr(755,root,root) %{_libdir}/%{name}/libdcrypt_openssl.so
d3be9b82 372%dir %{_libdir}/%{name}/plugins
ee9bfb11 373%attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
ff3fede5 374%dir %{_libdir}/%{name}/plugins/auth
8e04a4c1 375%attr(755,root,root) %{_libdir}/%{name}/plugins/auth/*.so
ff3fede5 376%dir %{_libdir}/%{name}/plugins/dict
8e04a4c1 377%attr(755,root,root) %{_libdir}/%{name}/plugins/dict/*.so
bb75c55c 378%dir %{_libdir}/%{name}/plugins/doveadm
8e04a4c1 379%attr(755,root,root) %{_libdir}/%{name}/plugins/doveadm/*.so
750df5ea
AM
380%dir %{_libdir}/%{name}/plugins/old-stats
381%attr(755,root,root) %{_libdir}/%{name}/plugins/old-stats/*.so
29cabdb6 382%{_datadir}/dovecot
9f0e9eb5
AF
383%{systemdunitdir}/dovecot.service
384%{systemdunitdir}/dovecot.socket
1fd90052 385/usr/lib/tmpfiles.d/%{name}.conf
e7291b43 386%dir /var/lib/dovecot
c1df1ed1 387%dir /var/run/dovecot
aade0d64 388%attr(750,root,dovenull) %dir /var/run/dovecot/login
ee9bfb11 389
bb75c55c
AM
390%{_mandir}/man1/deliver.1*
391%{_mandir}/man1/dove*.1*
392%{_mandir}/man1/dsync.1*
393%{_mandir}/man7/doveadm-search-query.7*
394
7fbaf96b 395%files libs
396%defattr(644,root,root,755)
397%dir %{_libdir}/%{name}
283503bf 398
8e04a4c1 399%attr(755,root,root) %{_libdir}/%{name}/libdovecot.so.0.0.0
946ce37d 400%attr(755,root,root) %{_libdir}/%{name}/libdovecot-compression.so.0.0.0
283503bf 401%attr(755,root,root) %{_libdir}/%{name}/libdovecot-dsync.so.0.0.0
c00d3702 402%attr(755,root,root) %{_libdir}/%{name}/libdovecot-fts.so.0.0.0
8e04a4c1 403%attr(755,root,root) %{_libdir}/%{name}/libdovecot-lda.so.0.0.0
6bde1f23 404%{?with_ldap:%attr(755,root,root) %{_libdir}/%{name}/libdovecot-ldap.so.0.0.0}
8e04a4c1 405%attr(755,root,root) %{_libdir}/%{name}/libdovecot-login.so.0.0.0
6fca25bf 406%attr(755,root,root) %{_libdir}/%{name}/libdovecot-lua.so.0.0.0
30b6d006 407%attr(755,root,root) %{_libdir}/%{name}/libdovecot-sql.so.0.0.0
8e04a4c1 408%attr(755,root,root) %{_libdir}/%{name}/libdovecot-storage.so.0.0.0
6fca25bf 409%attr(755,root,root) %{_libdir}/%{name}/libdovecot-storage-lua.so.0.0.0
8e04a4c1 410# Note: we are in %{_libdir}/dovecot, ldconfig does not look into this
96e29b16 411# directory. This is why the following files are not %ghost
8e04a4c1 412%attr(755,root,root) %{_libdir}/%{name}/libdovecot.so.0
946ce37d 413%attr(755,root,root) %{_libdir}/%{name}/libdovecot-compression.so.0
283503bf 414%attr(755,root,root) %{_libdir}/%{name}/libdovecot-dsync.so.0
c00d3702 415%attr(755,root,root) %{_libdir}/%{name}/libdovecot-fts.so.0
8e04a4c1 416%attr(755,root,root) %{_libdir}/%{name}/libdovecot-lda.so.0
6bde1f23 417%{?with_ldap:%attr(755,root,root) %{_libdir}/%{name}/libdovecot-ldap.so.0}
8e04a4c1 418%attr(755,root,root) %{_libdir}/%{name}/libdovecot-login.so.0
6fca25bf 419%attr(755,root,root) %{_libdir}/%{name}/libdovecot-lua.so.0
30b6d006 420%attr(755,root,root) %{_libdir}/%{name}/libdovecot-sql.so.0
8e04a4c1 421%attr(755,root,root) %{_libdir}/%{name}/libdovecot-storage.so.0
6fca25bf 422%attr(755,root,root) %{_libdir}/%{name}/libdovecot-storage-lua.so.0
23beb95b
JB
423
424%files devel
425%defattr(644,root,root,755)
426%attr(755,root,root) %{_libdir}/%{name}/libdovecot.so
427%attr(755,root,root) %{_libdir}/%{name}/libdovecot-compression.so
428%attr(755,root,root) %{_libdir}/%{name}/libdovecot-dsync.so
429%attr(755,root,root) %{_libdir}/%{name}/libdovecot-fts.so
430%attr(755,root,root) %{_libdir}/%{name}/libdovecot-lda.so
431%{?with_ldap:%attr(755,root,root) %{_libdir}/%{name}/libdovecot-ldap.so}
432%attr(755,root,root) %{_libdir}/%{name}/libdovecot-login.so
6fca25bf 433%attr(755,root,root) %{_libdir}/%{name}/libdovecot-lua.so
23beb95b
JB
434%attr(755,root,root) %{_libdir}/%{name}/libdovecot-sql.so
435%attr(755,root,root) %{_libdir}/%{name}/libdovecot-storage.so
6fca25bf 436%attr(755,root,root) %{_libdir}/%{name}/libdovecot-storage-lua.so
23beb95b
JB
437%{_libdir}/%{name}/%{name}-config
438%{_includedir}/%{name}
439%{_aclocaldir}/dovecot.m4
This page took 0.332136 seconds and 4 git commands to generate.