]>
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 |
56ca191f | 9 | |
efe080c2 | 10 | Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client |
281af01d | 11 | Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń |
7f0c3b3e | 12 | Name: claws-mail |
f8908b7a | 13 | Version: 3.17.3 |
d74f2c00 | 14 | Release: 4 |
9bbf8a6a | 15 | License: GPL v3+ |
ac3bbb47 | 16 | Group: X11/Applications/Mail |
f580388c | 17 | Source0: http://www.claws-mail.org/download.php?file=releases/%{name}-%{version}.tar.xz |
f8908b7a | 18 | # Source0-md5: 4dba4238f91bc2f4e146379842a17ad3 |
f5cc606b | 19 | Source1: %{name}.desktop |
72ee768b | 20 | URL: http://www.claws-mail.org/ |
eeec3879 | 21 | BuildRequires: autoconf >= 2.60 |
0d611c2a | 22 | BuildRequires: automake |
bd6b0bc5 | 23 | BuildRequires: bzip2-devel |
48ca524d | 24 | %{?with_compface:BuildRequires: compface-devel} |
5f4d7699 | 25 | BuildRequires: enchant-devel >= 1.4.0 |
73b5df1c | 26 | BuildRequires: gettext-tools |
ceeef691 | 27 | BuildRequires: gmp-devel |
b81c91b6 | 28 | %{?with_tls:BuildRequires: gnutls-devel >= 2.6.0} |
efe080c2 | 29 | %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5} |
66a37a7a | 30 | BuildRequires: gtk+2-devel >= 2:2.24.0 |
ceab19ba JK |
31 | BuildRequires: gtk-webkit-devel |
32 | BuildRequires: libarchive-devel | |
33 | BuildRequires: libcanberra-gtk-devel | |
1f14e5a6 | 34 | BuildRequires: libetpan-devel >= 0.57 |
f6420291 AM |
35 | BuildRequires: libgdata-devel >= 0.17.2 |
36 | BuildRequires: libical-devel >= 2.0.0 | |
6ebf648b | 37 | BuildRequires: libindicate-devel >= 0.12.0 |
1f14e5a6 | 38 | BuildRequires: liblockfile-devel |
1d10180e | 39 | BuildRequires: libltdl-devel |
ceab19ba | 40 | BuildRequires: libnotify-devel >= 0.4.3 |
f6420291 | 41 | BuildRequires: librsvg-devel >= 2.40.5 |
0d611c2a | 42 | BuildRequires: libtool |
ceab19ba JK |
43 | BuildRequires: libxml2-devel |
44 | BuildRequires: libytnef-devel | |
9c71148a | 45 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
52ab18c1 KG |
46 | %if %{with jpilot} |
47 | BuildRequires: bluez-libs-devel | |
48 | BuildRequires: pilot-link-devel | |
49 | %endif | |
ceab19ba | 50 | BuildRequires: perl-devel |
bd6b0bc5 | 51 | BuildRequires: pkgconfig |
ceab19ba JK |
52 | BuildRequires: poppler-glib-devel |
53 | BuildRequires: python-devel | |
54 | BuildRequires: python-pygtk-devel | |
44d458d9 | 55 | BuildRequires: rpmbuild(macros) >= 1.311 |
9bbf8a6a | 56 | BuildRequires: sed >= 4.0 |
d0d021dc | 57 | BuildRequires: startup-notification-devel >= 0.5 |
47895515 | 58 | BuildRequires: texlive-jadetex |
3e302480 | 59 | BuildRequires: texlive-latex-marvosym |
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 | ||
ceab19ba JK |
258 | %package plugin-notification |
259 | Summary: notification plugin for Claws-Mail | |
260 | Summary(pl.UTF-8): Wtyczka notification dla Claws-Mail | |
261 | Group: X11/Applications/Mail | |
262 | Requires: %{name} = %{version}-%{release} | |
263 | Provides: sylpheed-claws-plugin-notification | |
264 | Obsoletes: sylpheed-claws-plugin-notification | |
265 | ||
266 | %description plugin-notification | |
267 | This plugin provides various ways to notify the user of new and unread | |
268 | email. | |
269 | ||
270 | %description plugin-notification -l pl.UTF-8 | |
271 | Ta wtyczka udostępnia różne sposoby informowania użytkownika o nowej i | |
272 | nieprzeczytanej poczcie. | |
273 | ||
274 | %package plugin-perl | |
275 | Summary: perl plugin for Claws-Mail | |
276 | Summary(pl.UTF-8): Wtyczka perl dla Claws-Mail | |
277 | Group: X11/Applications/Mail | |
278 | Requires: %{name} = %{version}-%{release} | |
279 | Provides: sylpheed-claws-plugin-perl | |
280 | Obsoletes: sylpheed-claws-plugin-perl | |
281 | ||
282 | %description plugin-perl | |
283 | This plugin is intended to extend the filtering possibilities of | |
284 | Claws-Mail. It provides a Perl interface to Claws-Mail filtering | |
285 | mechanism, allowing the use of full Perl power in email filters. | |
286 | ||
287 | %description plugin-perl -l pl.UTF-8 | |
288 | Ta wtyczka ma na celu rozszerzenie możliwości filtrowania | |
289 | Sylpheeda-Claws. Udostępnia perlowy interfejs do mechanizmów | |
290 | filtrowania Sylpheeda-Claws, pozwalając na użycie pełnej mocy Perla w | |
291 | filtrach wiadomości. | |
292 | ||
293 | %package plugin-pdf_viewer | |
294 | Summary: pdf_viewer plugin for Claws-Mail | |
295 | Summary(pl.UTF-8): Wtyczka pdf_viewer dla Claws-Mail | |
296 | Group: X11/Applications/Networking | |
297 | Requires: %{name} = %{version}-%{release} | |
298 | Requires: ghostscript | |
299 | ||
300 | %description plugin-pdf_viewer | |
301 | This plugin enables the viewing of PDF and PostScript attachments. | |
302 | ||
303 | %description plugin-pdf_viewer -l pl.UTF-8 | |
304 | Ta wtyczka umożliwia wyświetlanie załączników w formacie PDF i | |
305 | PostScript. | |
306 | ||
307 | %package plugin-python | |
308 | Summary: python plugin for Claws-Mail | |
309 | Summary(pl.UTF-8): Wtyczka python dla Claws-Mail | |
310 | Group: X11/Applications/Mail | |
311 | Requires: %{name} = %{version}-%{release} | |
312 | ||
313 | %description plugin-python | |
314 | This plugin provides Python integration features. | |
315 | ||
316 | %description plugin-python -l pl.UTF-8 | |
317 | Wtyczka do pythona. | |
318 | ||
6ebf648b AM |
319 | %package plugin-libravatar |
320 | Summary: Avatar fetching plugin | |
321 | Summary(pl.UTF-8): Wtyczka pobierająca avatary | |
322 | Group: X11/Applications/Mail | |
323 | Requires: %{name} = %{version}-%{release} | |
324 | ||
325 | %description plugin-libravatar | |
326 | Avatar fetching plugin. | |
327 | ||
328 | %description plugin-libravatar -l pl.UTF-8 | |
329 | Wtyczka pobierająca avatary. | |
330 | ||
ceab19ba JK |
331 | %package plugin-rssyl |
332 | Summary: RSSyl plugin for Claws-Mail | |
333 | Summary(pl.UTF-8): Wtyczka RSSyl dla Claws-Mail | |
334 | Group: X11/Applications/Mail | |
335 | Requires: %{name} = %{version}-%{release} | |
336 | Provides: sylpheed-claws-plugin-rssyl | |
337 | Obsoletes: sylpheed-claws-plugin-rssyl | |
338 | ||
339 | %description plugin-rssyl | |
340 | This plugin allows you to read your favorite newsfeeds in Claws-Mail. | |
341 | RSS 1.0, 2.0 and Atom feeds are currently supported. | |
342 | ||
343 | %description plugin-rssyl -l pl.UTF-8 | |
344 | Ta wtyczka pozwala na czytanie ulubionych nowinek w Sylpheedzie-Claws. | |
345 | Aktualnie obsługiwane są formaty RSS 1.0, 2.0 i Atom. | |
346 | ||
347 | %package plugin-spamreport | |
348 | Summary: SpamReport plugin for Claws-Mail | |
349 | Summary(pl.UTF-8): Wtyczka SpamReport dla Claws-Mail | |
350 | Group: X11/Applications/Mail | |
351 | Requires: %{name} = %{version}-%{release} | |
352 | ||
353 | %description plugin-spamreport | |
354 | This plugin allows you to upload spams to various spam reporting | |
355 | places, like http://www.signal-spam.fr/ . | |
356 | ||
ceab19ba JK |
357 | %package plugin-vcalendar |
358 | Summary: vCalendar plugin for Claws-Mail | |
359 | Summary(pl.UTF-8): Wtyczka vCalendar dla Claws-Mail | |
360 | Group: X11/Applications/Mail | |
361 | Requires: %{name} = %{version}-%{release} | |
362 | Provides: sylpheed-claws-plugin-vcalendar | |
363 | Obsoletes: sylpheed-claws-plugin-vcalendar | |
d0d021dc | 364 | |
ceab19ba JK |
365 | %description plugin-vcalendar |
366 | This plugin enables vCalendar message handling like that produced by | |
367 | Evolution or Outlook and handles webCal subscriptions. | |
40894f82 | 368 | |
ceab19ba JK |
369 | %description plugin-vcalendar -l pl.UTF-8 |
370 | Ta wtyczka pozwala na obsługę wiadomości vCalendar, takich jak te | |
371 | tworzone przez Evolution czy Outlooka, a także obsługuje subskrypcje | |
372 | webCal. | |
9b63aae0 | 373 | |
0d611c2a | 374 | %prep |
d0d021dc | 375 | %setup -q |
0d611c2a | 376 | |
9bbf8a6a | 377 | %{__rm} po/stamp-po |
ec05658d | 378 | |
0d611c2a | 379 | %build |
87a7cfab MB |
380 | %{__libtoolize} |
381 | %{__gettextize} | |
382 | %{__aclocal} -I m4 | |
383 | %{__autoconf} | |
384 | %{__autoheader} | |
385 | %{__automake} | |
0d611c2a | 386 | %configure \ |
48ca524d | 387 | --%{?with_compface:en}%{!?with_compface:dis}able-compface \ |
48ca524d | 388 | --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \ |
d0d021dc | 389 | --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \ |
48ca524d | 390 | --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \ |
9af53442 | 391 | --%{?with_tls:en}%{!?with_tls:dis}able-gnutls \ |
ceab19ba JK |
392 | --enable-acpi_notifier-plugin \ |
393 | --enable-address_keeper-plugin \ | |
394 | --enable-archive-plugin \ | |
395 | --enable-att_remover-plugin \ | |
396 | --enable-attachwarner-plugin \ | |
ac3bbb47 | 397 | --enable-bogofilter-plugin \ |
ceab19ba JK |
398 | --enable-bsfilter-plugin \ |
399 | --enable-clamd-plugin \ | |
400 | --enable-fancy-plugin \ | |
401 | --enable-fetchinfo-plugin \ | |
402 | --enable-gdata-plugin \ | |
ceab19ba JK |
403 | --enable-mailmbox-plugin \ |
404 | --enable-newmail-plugin \ | |
405 | --enable-notification-plugin \ | |
406 | --enable-pdf_viewer-plugin \ | |
407 | --enable-perl-plugin \ | |
408 | --enable-python-plugin \ | |
409 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \ | |
410 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \ | |
411 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \ | |
412 | --enable-rssyl-plugin \ | |
413 | --enable-smime-plugin \ | |
414 | --enable-spamassassin-plugin \ | |
415 | --enable-spam_report-plugin \ | |
416 | --enable-tnef_parse-plugin \ | |
417 | --enable-vcalendar-plugin \ | |
dc3d0ddd | 418 | --enable-libetpan \ |
efcbcabb | 419 | --enable-pthread \ |
7f0c3b3e | 420 | --disable-static |
0d611c2a | 421 | |
422 | %{__make} | |
423 | ||
424 | %install | |
425 | rm -rf $RPM_BUILD_ROOT | |
d0d021dc | 426 | install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}} |
0d611c2a | 427 | |
428 | %{__make} install \ | |
44d458d9 | 429 | DESTDIR=$RPM_BUILD_ROOT |
0d611c2a | 430 | |
f580388c AM |
431 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
432 | cp -p %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
946fa8a3 | 433 | |
9bbf8a6a | 434 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la} |
435 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES | |
e8998859 | 436 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr}/*.{pdf,ps,html,txt} |
ec05658d | 437 | |
75f6e7e3 | 438 | mv $RPM_BUILD_ROOT%{_localedir}/{id_ID,id} |
f8908b7a | 439 | mv $RPM_BUILD_ROOT%{_localedir}/{pt_PT,pt} |
75f6e7e3 | 440 | |
62767999 | 441 | %find_lang %{name} |
0d611c2a | 442 | |
443 | %clean | |
c9f56aa0 | 444 | rm -rf $RPM_BUILD_ROOT |
0d611c2a | 445 | |
44d458d9 MB |
446 | %post |
447 | %update_icon_cache hicolor | |
448 | ||
449 | %postun | |
450 | %update_icon_cache hicolor | |
451 | ||
62767999 | 452 | %files -f %{name}.lang |
0d611c2a | 453 | %defattr(644,root,root,755) |
ceab19ba | 454 | %doc AUTHORS ChangeLog* NEWS README* RELEASE_NOTES TODO |
65ff9ee2 | 455 | %{_mandir}/man1/%{name}.1* |
0d611c2a | 456 | %attr(755,root,root) %{_bindir}/* |
62767999 | 457 | %dir %{_datadir}/%{name} |
16ac3bfb | 458 | %dir %{_docdir}/%{name} |
d0d021dc | 459 | %dir %{_datadir}/%{name}/themes |
7ecfdd51 MB |
460 | %dir %{_libdir}/%{name} |
461 | %dir %{_libdir}/%{name}/plugins | |
f580388c AM |
462 | # no (big) external deps |
463 | %attr(755,root,root) %{_libdir}/%{name}/plugins/acpi_notifier.so | |
464 | %attr(755,root,root) %{_libdir}/%{name}/plugins/address_keeper.so | |
465 | %attr(755,root,root) %{_libdir}/%{name}/plugins/attachwarner.so | |
466 | %attr(755,root,root) %{_libdir}/%{name}/plugins/att_remover.so | |
467 | %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so | |
468 | %attr(755,root,root) %{_libdir}/%{name}/plugins/bsfilter.so | |
469 | %attr(755,root,root) %{_libdir}/%{name}/plugins/clamd.so | |
470 | %attr(755,root,root) %{_libdir}/%{name}/plugins/fetchinfo.so | |
471 | %attr(755,root,root) %{_libdir}/%{name}/plugins/mailmbox.so | |
472 | %attr(755,root,root) %{_libdir}/%{name}/plugins/managesieve.so | |
473 | %attr(755,root,root) %{_libdir}/%{name}/plugins/newmail.so | |
474 | %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so | |
475 | %attr(755,root,root) %{_libdir}/%{name}/plugins/tnef_parse.so | |
d8880807 | 476 | %{_desktopdir}/%{name}.desktop |
efe080c2 | 477 | %{_pixmapsdir}/%{name}.png |
9b63aae0 | 478 | %{_iconsdir}/hicolor/48x48/apps/%{name}.png |
11e9d739 | 479 | %{_iconsdir}/hicolor/64x64/apps/%{name}.png |
480 | %{_iconsdir}/hicolor/128x128/apps/%{name}.png | |
b185452a | 481 | |
b1b9f47a | 482 | %files devel |
483 | %defattr(644,root,root,755) | |
62767999 | 484 | %{_includedir}/%{name} |
8875a1b2 | 485 | %{_pkgconfigdir}/*.pc |
40894f82 | 486 | |
d0d021dc MB |
487 | %files plugins |
488 | %defattr(644,root,root,755) | |
489 | ||
6ebf648b AM |
490 | %files plugin-libravatar |
491 | %defattr(644,root,root,755) | |
492 | %attr(755,root,root) %{_libdir}/%{name}/plugins/libravatar.so | |
493 | ||
d0d021dc MB |
494 | %if %{with gpg} |
495 | %files plugin-pgpcore | |
496 | %defattr(644,root,root,755) | |
497 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so | |
498 | ||
499 | %files plugin-pgpinline | |
500 | %defattr(644,root,root,755) | |
501 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so | |
502 | ||
503 | %files plugin-pgpmime | |
504 | %defattr(644,root,root,755) | |
505 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so | |
506 | %endif | |
507 | ||
1f14e5a6 | 508 | %files plugin-smime |
509 | %defattr(644,root,root,755) | |
510 | %attr(755,root,root) %{_libdir}/%{name}/plugins/smime.so | |
511 | ||
ceab19ba JK |
512 | %files plugin-archive |
513 | %defattr(644,root,root,755) | |
514 | %attr(755,root,root) %{_libdir}/%{name}/plugins/archive.so | |
515 | ||
ceab19ba JK |
516 | %files plugin-fancy |
517 | %defattr(644,root,root,755) | |
518 | %attr(755,root,root) %{_libdir}/%{name}/plugins/fancy.so | |
519 | ||
ceab19ba JK |
520 | %files plugin-gdata |
521 | %defattr(644,root,root,755) | |
522 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gdata.so | |
523 | ||
ceab19ba JK |
524 | %files plugin-notification |
525 | %defattr(644,root,root,755) | |
526 | %attr(755,root,root) %{_libdir}/%{name}/plugins/notification.so | |
527 | ||
528 | %files plugin-perl | |
529 | %defattr(644,root,root,755) | |
530 | %attr(755,root,root) %{_libdir}/%{name}/plugins/perl.so | |
531 | ||
532 | %files plugin-pdf_viewer | |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pdf_viewer.so | |
535 | ||
536 | %files plugin-python | |
537 | %defattr(644,root,root,755) | |
538 | %attr(755,root,root) %{_libdir}/%{name}/plugins/python.so | |
539 | ||
540 | %files plugin-rssyl | |
541 | %defattr(644,root,root,755) | |
542 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rssyl.so | |
543 | ||
544 | %files plugin-spamreport | |
545 | %defattr(644,root,root,755) | |
546 | %attr(755,root,root) %{_libdir}/%{name}/plugins/spamreport.so | |
547 | ||
ceab19ba | 548 | %files plugin-vcalendar |
40894f82 | 549 | %defattr(644,root,root,755) |
ceab19ba | 550 | %attr(755,root,root) %{_libdir}/%{name}/plugins/vcalendar.so |