]>
Commit | Line | Data |
---|---|---|
2ea78418 | 1 | # |
0d611c2a | 2 | # Conditional build: |
cd4bce63 | 3 | %bcond_without compface # build without compface support |
efcbcabb | 4 | %bcond_without gpg # build without GPG support |
cd4bce63 | 5 | %bcond_without ipv6 # build without IPv6 support |
d0d021dc | 6 | %bcond_without jpilot # build without JPilot support |
cd4bce63 | 7 | %bcond_without ldap # build without LDAP support |
9af53442 | 8 | %bcond_without tls # build without gnuTLS support |
ceab19ba | 9 | %bcond_with geolocation |
56ca191f | 10 | |
efe080c2 | 11 | Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client |
281af01d | 12 | Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń |
7f0c3b3e | 13 | Name: claws-mail |
e96f1442 | 14 | Version: 3.14.0 |
75f6e7e3 | 15 | Release: 3 |
9bbf8a6a | 16 | License: GPL v3+ |
ac3bbb47 | 17 | Group: X11/Applications/Mail |
f580388c | 18 | Source0: http://www.claws-mail.org/download.php?file=releases/%{name}-%{version}.tar.xz |
e96f1442 | 19 | # Source0-md5: 2ec71e5402e09b449700112ed331d99d |
f5cc606b | 20 | Source1: %{name}.desktop |
72ee768b | 21 | URL: http://www.claws-mail.org/ |
eeec3879 | 22 | BuildRequires: autoconf >= 2.60 |
0d611c2a | 23 | BuildRequires: automake |
bd6b0bc5 | 24 | BuildRequires: bzip2-devel |
ceab19ba JK |
25 | %if %{with geolocation} |
26 | BuildRequires: clutter-gtk-devel >= 0.10.0 | |
27 | BuildRequires: libchamplain-devel >= 0.8.0 | |
28 | %endif | |
48ca524d | 29 | %{?with_compface:BuildRequires: compface-devel} |
73b5df1c | 30 | BuildRequires: gettext-tools |
ceeef691 | 31 | BuildRequires: gmp-devel |
b81c91b6 | 32 | %{?with_tls:BuildRequires: gnutls-devel >= 2.6.0} |
efe080c2 | 33 | %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5} |
66a37a7a | 34 | BuildRequires: gtk+2-devel >= 2:2.24.0 |
ceab19ba JK |
35 | BuildRequires: gtk-webkit-devel |
36 | BuildRequires: libarchive-devel | |
37 | BuildRequires: libcanberra-gtk-devel | |
1f14e5a6 | 38 | BuildRequires: libetpan-devel >= 0.57 |
ceab19ba | 39 | BuildRequires: libgdata-devel >= 0.6.4 |
6ebf648b | 40 | BuildRequires: libindicate-devel >= 0.12.0 |
1f14e5a6 | 41 | BuildRequires: liblockfile-devel |
1d10180e | 42 | BuildRequires: libltdl-devel |
ceab19ba | 43 | BuildRequires: libnotify-devel >= 0.4.3 |
0d611c2a | 44 | BuildRequires: libtool |
ceab19ba JK |
45 | BuildRequires: libxml2-devel |
46 | BuildRequires: libytnef-devel | |
9c71148a | 47 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
52ab18c1 KG |
48 | %if %{with jpilot} |
49 | BuildRequires: bluez-libs-devel | |
50 | BuildRequires: pilot-link-devel | |
51 | %endif | |
ceab19ba | 52 | BuildRequires: perl-devel |
bd6b0bc5 | 53 | BuildRequires: pkgconfig |
ceab19ba JK |
54 | BuildRequires: poppler-glib-devel |
55 | BuildRequires: python-devel | |
56 | BuildRequires: python-pygtk-devel | |
44d458d9 | 57 | BuildRequires: rpmbuild(macros) >= 1.311 |
9bbf8a6a | 58 | BuildRequires: sed >= 4.0 |
d0d021dc | 59 | BuildRequires: startup-notification-devel >= 0.5 |
e2134520 | 60 | Requires(post,postun): gtk-update-icon-cache |
44d458d9 | 61 | Requires(post,postun): hicolor-icon-theme |
66a37a7a | 62 | Requires: gtk+2 >= 2:2.24.0 |
1199c73d | 63 | Provides: sylpheed-claws |
f580388c AM |
64 | Obsoletes: claws-mail-plugin-acpi_notifier |
65 | Obsoletes: claws-mail-plugin-address_keeper | |
66 | Obsoletes: claws-mail-plugin-att_remover | |
67 | Obsoletes: claws-mail-plugin-attachwarner | |
68 | Obsoletes: claws-mail-plugin-bogofilter | |
69 | Obsoletes: claws-mail-plugin-bsfilter | |
56ca191f | 70 | Obsoletes: claws-mail-plugin-cachesaver <= 3.7.6-5 |
5f09393e | 71 | Obsoletes: claws-mail-plugin-clamav |
f580388c | 72 | Obsoletes: claws-mail-plugin-clamd |
56ca191f | 73 | Obsoletes: claws-mail-plugin-dillo <= 3.9.0 |
9be288ee | 74 | Obsoletes: claws-mail-plugin-etpan-privacy |
f580388c | 75 | Obsoletes: claws-mail-plugin-fetchinfo |
56ca191f | 76 | Obsoletes: claws-mail-plugin-gtkhtml2_viewer <= 3.9.0 |
9be288ee | 77 | Obsoletes: claws-mail-plugin-maildir |
f580388c AM |
78 | Obsoletes: claws-mail-plugin-mailmbox |
79 | Obsoletes: claws-mail-plugin-newmail | |
80 | Obsoletes: claws-mail-plugin-spamassassin | |
56ca191f | 81 | Obsoletes: claws-mail-plugin-synce <= 3.7.6-5 |
f580388c | 82 | Obsoletes: claws-mail-plugin-tnef_parse |
56ca191f | 83 | Obsoletes: claws-mail-plugin-trayicon <= 3.9.0 |
7f0c3b3e | 84 | Obsoletes: sylpheed-claws |
5f09393e | 85 | Obsoletes: sylpheed-claws-plugin-clamav |
761655de | 86 | Obsoletes: sylpheed-gtk2 |
0d611c2a | 87 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
88 | ||
0d611c2a | 89 | %description |
1f6e805c | 90 | This program is an X based fast e-mail client which has features same |
91 | as orginal Sylpheed but with new/improved features. Some of new stuff | |
92 | is really cool and useable. | |
5d4f1e09 | 93 | |
664cab97 JR |
94 | %description -l pl.UTF-8 |
95 | Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed | |
96 | ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę | |
97 | świetne i użyteczne. | |
0d611c2a | 98 | |
b1b9f47a | 99 | %package devel |
7f0c3b3e | 100 | Summary: Headers from Claws-Mail |
281af01d | 101 | Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail |
ac3bbb47 | 102 | Group: X11/Development/Libraries |
ceea85d9 | 103 | Requires: %{name} = %{version}-%{release} |
b81c91b6 | 104 | Requires: gnutls-devel >= 2.6.0 |
43181944 | 105 | Requires: gpgme-devel >= 1:0.4.5 |
ff99b237 | 106 | Requires: libetpan-devel >= 0.54 |
1199c73d MB |
107 | Provides: sylpheed-claws-devel |
108 | Obsoletes: sylpheed-claws-devel | |
b1b9f47a | 109 | |
110 | %description devel | |
7f0c3b3e | 111 | Claws-Mail development package. |
b1b9f47a | 112 | |
664cab97 JR |
113 | %description devel -l pl.UTF-8 |
114 | Pliki nagłówkowe programu Claws-Mail. | |
b1b9f47a | 115 | |
d0d021dc | 116 | %package plugins |
7f0c3b3e | 117 | Summary: Special plugins for Claws-Mail (metapackage) |
281af01d | 118 | Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet) |
ac3bbb47 | 119 | Group: X11/Applications/Mail |
d0d021dc | 120 | Requires: %{name} = %{version}-%{release} |
6ebf648b | 121 | Requires: %{name}-plugin-libravatar = %{version}-%{release} |
d0d021dc MB |
122 | %if %{with gpg} |
123 | Requires: %{name}-plugin-pgpinline = %{version}-%{release} | |
124 | Requires: %{name}-plugin-pgpmime = %{version}-%{release} | |
125 | %endif | |
ceab19ba | 126 | Requires: %{name}-plugin-archive = %{version}-%{release} |
ceab19ba | 127 | Requires: %{name}-plugin-fancy = %{version}-%{release} |
ceab19ba | 128 | Requires: %{name}-plugin-gdata = %{version}-%{release} |
ceab19ba JK |
129 | Requires: %{name}-plugin-notification = %{version}-%{release} |
130 | Requires: %{name}-plugin-perl = %{version}-%{release} | |
131 | Requires: %{name}-plugin-rssyl = %{version}-%{release} | |
1f14e5a6 | 132 | Requires: %{name}-plugin-smime = %{version}-%{release} |
ceab19ba | 133 | Requires: %{name}-plugin-spamreport = %{version}-%{release} |
ceab19ba JK |
134 | Requires: %{name}-plugin-vcalendar = %{version}-%{release} |
135 | Provides: sylpheed-claws-extra-plugins | |
a6cfdb5b | 136 | Provides: sylpheed-claws-plugins = %{version} |
ceab19ba | 137 | Obsoletes: claws-mail-extra-plugins <= 3.9.0 |
ceab19ba JK |
138 | Obsoletes: sylpheed-claws-extra-plugins |
139 | Obsoletes: sylpheed-claws-plugin-others | |
1199c73d | 140 | Obsoletes: sylpheed-claws-plugins |
d0d021dc MB |
141 | |
142 | %description plugins | |
7f0c3b3e | 143 | This is collection of some usefull plugins for Claws-Mail |
d0d021dc MB |
144 | (metapackage). |
145 | ||
664cab97 JR |
146 | %description plugins -l pl.UTF-8 |
147 | Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości | |
7f0c3b3e | 148 | Claws-Mail (metapakiet). |
d0d021dc | 149 | |
d0d021dc | 150 | %package plugin-pgpcore |
7f0c3b3e | 151 | Summary: PGP/Core plugin for Claws-Mail |
281af01d | 152 | Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail |
ac3bbb47 | 153 | Group: X11/Applications/Mail |
d0d021dc | 154 | Requires: %{name} = %{version}-%{release} |
1199c73d MB |
155 | Provides: sylpheed-claws-plugin-pgpcore |
156 | Obsoletes: sylpheed-claws-plugin-pgpcore | |
d0d021dc MB |
157 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
158 | ||
159 | %description plugin-pgpcore | |
160 | This plugin handles core PGP functions. | |
161 | ||
664cab97 JR |
162 | %description plugin-pgpcore -l pl.UTF-8 |
163 | Wtyczka obsługująca podstawowe funkcje PGP. | |
9b63aae0 | 164 | |
d0d021dc | 165 | %package plugin-pgpinline |
7f0c3b3e | 166 | Summary: PGP/Inline plugin for Claws-Mail |
281af01d | 167 | Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail |
ac3bbb47 | 168 | Group: X11/Applications/Mail |
d0d021dc | 169 | Requires: %{name}-plugin-pgpcore = %{version}-%{release} |
1199c73d MB |
170 | Provides: sylpheed-claws-plugin-pgpinline |
171 | Obsoletes: sylpheed-claws-plugin-pgpinline | |
d0d021dc MB |
172 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
173 | ||
174 | %description plugin-pgpinline | |
175 | This plugin handles PGP/Inline signed and/or encrypted mails. It can | |
176 | decrypt mails, verify signatures or sign and encrypt your own mails. | |
177 | ||
664cab97 JR |
178 | %description plugin-pgpinline -l pl.UTF-8 |
179 | Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi | |
180 | rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać | |
181 | własne listy. | |
9b63aae0 | 182 | |
d0d021dc | 183 | %package plugin-pgpmime |
7f0c3b3e | 184 | Summary: PGP/MIME plugin for Claws-Mail |
281af01d | 185 | Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail |
ac3bbb47 | 186 | Group: X11/Applications/Mail |
d0d021dc | 187 | Requires: %{name}-plugin-pgpcore = %{version}-%{release} |
1199c73d MB |
188 | Provides: sylpheed-claws-plugin-pgpmime |
189 | Obsoletes: sylpheed-claws-plugin-pgpmime | |
d0d021dc MB |
190 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
191 | ||
192 | %description plugin-pgpmime | |
193 | This plugin handles PGP/MIME signed and/or encrypted mails. It can | |
194 | decrypt mails, verify signatures or sign and encrypt your own mails. | |
195 | ||
664cab97 JR |
196 | %description plugin-pgpmime -l pl.UTF-8 |
197 | Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi | |
198 | rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać | |
199 | własne listy. | |
9b63aae0 | 200 | |
1f14e5a6 | 201 | %package plugin-smime |
202 | Summary: S/MIME plugin for Claws-Mail | |
203 | Summary(pl.UTF-8): Wtyczka S/MIME dla Claws-Mail | |
204 | Group: X11/Applications/Mail | |
205 | Requires: %{name} = %{version}-%{release} | |
33d76782 | 206 | Requires: %{name}-plugin-pgpcore = %{version}-%{release} |
1f14e5a6 | 207 | Provides: sylpheed-claws-plugin-smime |
208 | Obsoletes: sylpheed-claws-plugin-smime | |
1f14e5a6 | 209 | |
210 | %description plugin-smime | |
211 | This plugin handles S/MIME signed and/or encrypted mails. You can | |
212 | decrypt mails, verify signatures or sign and encrypt your own mails. | |
213 | ||
214 | %description plugin-smime -l pl.UTF-8 | |
215 | Wtyczka obsługująca listy podpisane lub szyfrowane S/MIME. Potrafi | |
216 | rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać | |
217 | własne listy. | |
218 | ||
ceab19ba JK |
219 | %package plugin-archive |
220 | Summary: archive plugin for Claws-Mail | |
221 | Summary(pl.UTF-8): Wtyczka archive dla Claws-Mail | |
222 | Group: X11/Applications/Mail | |
223 | Requires: %{name} = %{version}-%{release} | |
224 | ||
225 | %description plugin-archive | |
226 | This plugin lets you archive IMAP, LOCAL and POP accounts as well as | |
227 | calendar accounts. | |
228 | ||
229 | %description plugin-archive -l pl.UTF-8 | |
230 | Ta wtyczka pozwala archiwizować konta IMAP, LOCAL i POP jak również | |
231 | kalendarze. | |
232 | ||
ceab19ba JK |
233 | %package plugin-fancy |
234 | Summary: fancy plugin for Claws-Mail | |
235 | Summary(pl.UTF-8): Wtyczka fancy dla Claws-Mail | |
236 | Group: X11/Applications/Mail | |
237 | Requires: %{name} = %{version}-%{release} | |
238 | ||
239 | %description plugin-fancy | |
240 | Renders HTML e-mail using the WebKit library. | |
241 | ||
242 | %description plugin-fancy -l pl.UTF-8 | |
243 | Ta wtyczka przetwarza wiadomości w formacie HTML przy użyciu | |
244 | biblioteki WebKit. | |
245 | ||
ceab19ba JK |
246 | %package plugin-gdata |
247 | Summary: gdata plugin for Claws-Mail | |
248 | Summary(pl.UTF-8): Wtyczka gdata dla Claws-Mail | |
249 | Group: X11/Applications/Mail | |
250 | Requires: %{name} = %{version}-%{release} | |
251 | ||
252 | %description plugin-gdata | |
253 | gdata plugin for Claws-Mail. | |
254 | ||
255 | %description plugin-gdata -l pl.UTF-8 | |
256 | Wtyczka gdata dla Claws-Mail. | |
257 | ||
258 | %package plugin-geolocation | |
259 | Summary: geolocation plugin for Claws-Mail | |
260 | Summary(pl.UTF-8): Wtyczka geolocation dla Claws-Mail | |
261 | Group: X11/Applications/Mail | |
262 | Requires: %{name} = %{version}-%{release} | |
263 | ||
264 | %description plugin-geolocation | |
265 | This plugin provides GeoLocation functionality. | |
266 | ||
267 | %description plugin-geolocation -l pl.UTF-8 | |
268 | Wtyczka dostarcza funkcje geolokacji. | |
269 | ||
ceab19ba JK |
270 | %package plugin-notification |
271 | Summary: notification plugin for Claws-Mail | |
272 | Summary(pl.UTF-8): Wtyczka notification dla Claws-Mail | |
273 | Group: X11/Applications/Mail | |
274 | Requires: %{name} = %{version}-%{release} | |
275 | Provides: sylpheed-claws-plugin-notification | |
276 | Obsoletes: sylpheed-claws-plugin-notification | |
277 | ||
278 | %description plugin-notification | |
279 | This plugin provides various ways to notify the user of new and unread | |
280 | email. | |
281 | ||
282 | %description plugin-notification -l pl.UTF-8 | |
283 | Ta wtyczka udostępnia różne sposoby informowania użytkownika o nowej i | |
284 | nieprzeczytanej poczcie. | |
285 | ||
286 | %package plugin-perl | |
287 | Summary: perl plugin for Claws-Mail | |
288 | Summary(pl.UTF-8): Wtyczka perl dla Claws-Mail | |
289 | Group: X11/Applications/Mail | |
290 | Requires: %{name} = %{version}-%{release} | |
291 | Provides: sylpheed-claws-plugin-perl | |
292 | Obsoletes: sylpheed-claws-plugin-perl | |
293 | ||
294 | %description plugin-perl | |
295 | This plugin is intended to extend the filtering possibilities of | |
296 | Claws-Mail. It provides a Perl interface to Claws-Mail filtering | |
297 | mechanism, allowing the use of full Perl power in email filters. | |
298 | ||
299 | %description plugin-perl -l pl.UTF-8 | |
300 | Ta wtyczka ma na celu rozszerzenie możliwości filtrowania | |
301 | Sylpheeda-Claws. Udostępnia perlowy interfejs do mechanizmów | |
302 | filtrowania Sylpheeda-Claws, pozwalając na użycie pełnej mocy Perla w | |
303 | filtrach wiadomości. | |
304 | ||
305 | %package plugin-pdf_viewer | |
306 | Summary: pdf_viewer plugin for Claws-Mail | |
307 | Summary(pl.UTF-8): Wtyczka pdf_viewer dla Claws-Mail | |
308 | Group: X11/Applications/Networking | |
309 | Requires: %{name} = %{version}-%{release} | |
310 | Requires: ghostscript | |
311 | ||
312 | %description plugin-pdf_viewer | |
313 | This plugin enables the viewing of PDF and PostScript attachments. | |
314 | ||
315 | %description plugin-pdf_viewer -l pl.UTF-8 | |
316 | Ta wtyczka umożliwia wyświetlanie załączników w formacie PDF i | |
317 | PostScript. | |
318 | ||
319 | %package plugin-python | |
320 | Summary: python plugin for Claws-Mail | |
321 | Summary(pl.UTF-8): Wtyczka python dla Claws-Mail | |
322 | Group: X11/Applications/Mail | |
323 | Requires: %{name} = %{version}-%{release} | |
324 | ||
325 | %description plugin-python | |
326 | This plugin provides Python integration features. | |
327 | ||
328 | %description plugin-python -l pl.UTF-8 | |
329 | Wtyczka do pythona. | |
330 | ||
6ebf648b AM |
331 | %package plugin-libravatar |
332 | Summary: Avatar fetching plugin | |
333 | Summary(pl.UTF-8): Wtyczka pobierająca avatary | |
334 | Group: X11/Applications/Mail | |
335 | Requires: %{name} = %{version}-%{release} | |
336 | ||
337 | %description plugin-libravatar | |
338 | Avatar fetching plugin. | |
339 | ||
340 | %description plugin-libravatar -l pl.UTF-8 | |
341 | Wtyczka pobierająca avatary. | |
342 | ||
ceab19ba JK |
343 | %package plugin-rssyl |
344 | Summary: RSSyl plugin for Claws-Mail | |
345 | Summary(pl.UTF-8): Wtyczka RSSyl dla Claws-Mail | |
346 | Group: X11/Applications/Mail | |
347 | Requires: %{name} = %{version}-%{release} | |
348 | Provides: sylpheed-claws-plugin-rssyl | |
349 | Obsoletes: sylpheed-claws-plugin-rssyl | |
350 | ||
351 | %description plugin-rssyl | |
352 | This plugin allows you to read your favorite newsfeeds in Claws-Mail. | |
353 | RSS 1.0, 2.0 and Atom feeds are currently supported. | |
354 | ||
355 | %description plugin-rssyl -l pl.UTF-8 | |
356 | Ta wtyczka pozwala na czytanie ulubionych nowinek w Sylpheedzie-Claws. | |
357 | Aktualnie obsługiwane są formaty RSS 1.0, 2.0 i Atom. | |
358 | ||
359 | %package plugin-spamreport | |
360 | Summary: SpamReport plugin for Claws-Mail | |
361 | Summary(pl.UTF-8): Wtyczka SpamReport dla Claws-Mail | |
362 | Group: X11/Applications/Mail | |
363 | Requires: %{name} = %{version}-%{release} | |
364 | ||
365 | %description plugin-spamreport | |
366 | This plugin allows you to upload spams to various spam reporting | |
367 | places, like http://www.signal-spam.fr/ . | |
368 | ||
ceab19ba JK |
369 | %package plugin-vcalendar |
370 | Summary: vCalendar plugin for Claws-Mail | |
371 | Summary(pl.UTF-8): Wtyczka vCalendar dla Claws-Mail | |
372 | Group: X11/Applications/Mail | |
373 | Requires: %{name} = %{version}-%{release} | |
374 | Provides: sylpheed-claws-plugin-vcalendar | |
375 | Obsoletes: sylpheed-claws-plugin-vcalendar | |
d0d021dc | 376 | |
ceab19ba JK |
377 | %description plugin-vcalendar |
378 | This plugin enables vCalendar message handling like that produced by | |
379 | Evolution or Outlook and handles webCal subscriptions. | |
40894f82 | 380 | |
ceab19ba JK |
381 | %description plugin-vcalendar -l pl.UTF-8 |
382 | Ta wtyczka pozwala na obsługę wiadomości vCalendar, takich jak te | |
383 | tworzone przez Evolution czy Outlooka, a także obsługuje subskrypcje | |
384 | webCal. | |
9b63aae0 | 385 | |
0d611c2a | 386 | %prep |
d0d021dc | 387 | %setup -q |
0d611c2a | 388 | |
9bbf8a6a | 389 | %{__rm} po/stamp-po |
ec05658d | 390 | |
0d611c2a | 391 | %build |
87a7cfab MB |
392 | %{__libtoolize} |
393 | %{__gettextize} | |
394 | %{__aclocal} -I m4 | |
395 | %{__autoconf} | |
396 | %{__autoheader} | |
397 | %{__automake} | |
0d611c2a | 398 | %configure \ |
48ca524d | 399 | --%{?with_compface:en}%{!?with_compface:dis}able-compface \ |
48ca524d | 400 | --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \ |
d0d021dc | 401 | --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \ |
48ca524d | 402 | --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \ |
9af53442 | 403 | --%{?with_tls:en}%{!?with_tls:dis}able-gnutls \ |
ceab19ba JK |
404 | --enable-acpi_notifier-plugin \ |
405 | --enable-address_keeper-plugin \ | |
406 | --enable-archive-plugin \ | |
407 | --enable-att_remover-plugin \ | |
408 | --enable-attachwarner-plugin \ | |
ac3bbb47 | 409 | --enable-bogofilter-plugin \ |
ceab19ba JK |
410 | --enable-bsfilter-plugin \ |
411 | --enable-clamd-plugin \ | |
412 | --enable-fancy-plugin \ | |
413 | --enable-fetchinfo-plugin \ | |
414 | --enable-gdata-plugin \ | |
415 | --%{?with_geolocation:en}%{!?with_geolocation:dis}able-geolocation-plugin \ | |
416 | --enable-mailmbox-plugin \ | |
417 | --enable-newmail-plugin \ | |
418 | --enable-notification-plugin \ | |
419 | --enable-pdf_viewer-plugin \ | |
420 | --enable-perl-plugin \ | |
421 | --enable-python-plugin \ | |
422 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \ | |
423 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \ | |
424 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \ | |
425 | --enable-rssyl-plugin \ | |
426 | --enable-smime-plugin \ | |
427 | --enable-spamassassin-plugin \ | |
428 | --enable-spam_report-plugin \ | |
429 | --enable-tnef_parse-plugin \ | |
430 | --enable-vcalendar-plugin \ | |
dc3d0ddd | 431 | --enable-libetpan \ |
efcbcabb | 432 | --enable-pthread \ |
7f0c3b3e | 433 | --disable-static |
0d611c2a | 434 | |
435 | %{__make} | |
436 | ||
437 | %install | |
438 | rm -rf $RPM_BUILD_ROOT | |
d0d021dc | 439 | install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}} |
0d611c2a | 440 | |
441 | %{__make} install \ | |
44d458d9 | 442 | DESTDIR=$RPM_BUILD_ROOT |
0d611c2a | 443 | |
f580388c AM |
444 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
445 | cp -p %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
946fa8a3 | 446 | |
9bbf8a6a | 447 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la} |
448 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES | |
e8998859 | 449 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr}/*.{pdf,ps,html,txt} |
ec05658d | 450 | |
75f6e7e3 KK |
451 | mv $RPM_BUILD_ROOT%{_localedir}/{id_ID,id} |
452 | ||
62767999 | 453 | %find_lang %{name} |
0d611c2a | 454 | |
455 | %clean | |
c9f56aa0 | 456 | rm -rf $RPM_BUILD_ROOT |
0d611c2a | 457 | |
44d458d9 MB |
458 | %post |
459 | %update_icon_cache hicolor | |
460 | ||
461 | %postun | |
462 | %update_icon_cache hicolor | |
463 | ||
62767999 | 464 | %files -f %{name}.lang |
0d611c2a | 465 | %defattr(644,root,root,755) |
ceab19ba | 466 | %doc AUTHORS ChangeLog* NEWS README* RELEASE_NOTES TODO |
65ff9ee2 | 467 | %{_mandir}/man1/%{name}.1* |
0d611c2a | 468 | %attr(755,root,root) %{_bindir}/* |
62767999 | 469 | %dir %{_datadir}/%{name} |
16ac3bfb | 470 | %dir %{_docdir}/%{name} |
d0d021dc | 471 | %dir %{_datadir}/%{name}/themes |
7ecfdd51 MB |
472 | %dir %{_libdir}/%{name} |
473 | %dir %{_libdir}/%{name}/plugins | |
f580388c AM |
474 | # no (big) external deps |
475 | %attr(755,root,root) %{_libdir}/%{name}/plugins/acpi_notifier.so | |
476 | %attr(755,root,root) %{_libdir}/%{name}/plugins/address_keeper.so | |
477 | %attr(755,root,root) %{_libdir}/%{name}/plugins/attachwarner.so | |
478 | %attr(755,root,root) %{_libdir}/%{name}/plugins/att_remover.so | |
479 | %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so | |
480 | %attr(755,root,root) %{_libdir}/%{name}/plugins/bsfilter.so | |
481 | %attr(755,root,root) %{_libdir}/%{name}/plugins/clamd.so | |
482 | %attr(755,root,root) %{_libdir}/%{name}/plugins/fetchinfo.so | |
483 | %attr(755,root,root) %{_libdir}/%{name}/plugins/mailmbox.so | |
484 | %attr(755,root,root) %{_libdir}/%{name}/plugins/managesieve.so | |
485 | %attr(755,root,root) %{_libdir}/%{name}/plugins/newmail.so | |
486 | %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so | |
487 | %attr(755,root,root) %{_libdir}/%{name}/plugins/tnef_parse.so | |
d8880807 | 488 | %{_desktopdir}/%{name}.desktop |
efe080c2 | 489 | %{_pixmapsdir}/%{name}.png |
9b63aae0 | 490 | %{_iconsdir}/hicolor/48x48/apps/%{name}.png |
11e9d739 | 491 | %{_iconsdir}/hicolor/64x64/apps/%{name}.png |
492 | %{_iconsdir}/hicolor/128x128/apps/%{name}.png | |
b185452a | 493 | |
b1b9f47a | 494 | %files devel |
495 | %defattr(644,root,root,755) | |
62767999 | 496 | %{_includedir}/%{name} |
8875a1b2 | 497 | %{_pkgconfigdir}/*.pc |
40894f82 | 498 | |
d0d021dc MB |
499 | %files plugins |
500 | %defattr(644,root,root,755) | |
501 | ||
6ebf648b AM |
502 | %files plugin-libravatar |
503 | %defattr(644,root,root,755) | |
504 | %attr(755,root,root) %{_libdir}/%{name}/plugins/libravatar.so | |
505 | ||
d0d021dc MB |
506 | %if %{with gpg} |
507 | %files plugin-pgpcore | |
508 | %defattr(644,root,root,755) | |
509 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so | |
510 | ||
511 | %files plugin-pgpinline | |
512 | %defattr(644,root,root,755) | |
513 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so | |
514 | ||
515 | %files plugin-pgpmime | |
516 | %defattr(644,root,root,755) | |
517 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so | |
518 | %endif | |
519 | ||
1f14e5a6 | 520 | %files plugin-smime |
521 | %defattr(644,root,root,755) | |
522 | %attr(755,root,root) %{_libdir}/%{name}/plugins/smime.so | |
523 | ||
ceab19ba JK |
524 | %files plugin-archive |
525 | %defattr(644,root,root,755) | |
526 | %attr(755,root,root) %{_libdir}/%{name}/plugins/archive.so | |
527 | ||
ceab19ba JK |
528 | %files plugin-fancy |
529 | %defattr(644,root,root,755) | |
530 | %attr(755,root,root) %{_libdir}/%{name}/plugins/fancy.so | |
531 | ||
ceab19ba JK |
532 | %files plugin-gdata |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gdata.so | |
535 | ||
536 | %if %{with geolocation} | |
537 | %files plugin-geolocation | |
538 | %defattr(644,root,root,755) | |
539 | %attr(755,root,root) %{_libdir}/%{name}/plugins/geolocation.so | |
540 | %endif | |
541 | ||
ceab19ba JK |
542 | %files plugin-notification |
543 | %defattr(644,root,root,755) | |
544 | %attr(755,root,root) %{_libdir}/%{name}/plugins/notification.so | |
545 | ||
546 | %files plugin-perl | |
547 | %defattr(644,root,root,755) | |
548 | %attr(755,root,root) %{_libdir}/%{name}/plugins/perl.so | |
549 | ||
550 | %files plugin-pdf_viewer | |
551 | %defattr(644,root,root,755) | |
552 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pdf_viewer.so | |
553 | ||
554 | %files plugin-python | |
555 | %defattr(644,root,root,755) | |
556 | %attr(755,root,root) %{_libdir}/%{name}/plugins/python.so | |
557 | ||
558 | %files plugin-rssyl | |
559 | %defattr(644,root,root,755) | |
560 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rssyl.so | |
561 | ||
562 | %files plugin-spamreport | |
563 | %defattr(644,root,root,755) | |
564 | %attr(755,root,root) %{_libdir}/%{name}/plugins/spamreport.so | |
565 | ||
ceab19ba | 566 | %files plugin-vcalendar |
40894f82 | 567 | %defattr(644,root,root,755) |
ceab19ba | 568 | %attr(755,root,root) %{_libdir}/%{name}/plugins/vcalendar.so |