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