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