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