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