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