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