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