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