]>
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 |
2ea78418 | 9 | # |
efe080c2 | 10 | Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client |
281af01d | 11 | Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń |
7f0c3b3e | 12 | Name: claws-mail |
c5378182 ZU |
13 | Version: 3.7.3 |
14 | Release: 1 | |
f65cd137 | 15 | License: GPL v3 |
ac3bbb47 | 16 | Group: X11/Applications/Mail |
ec05658d | 17 | Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2 |
c5378182 | 18 | # Source0-md5: b3af5ea5e1182aa53f971657db86e110 |
f5cc606b | 19 | Source1: %{name}.desktop |
72ee768b | 20 | URL: http://www.claws-mail.org/ |
eeec3879 | 21 | BuildRequires: autoconf >= 2.60 |
0d611c2a | 22 | BuildRequires: automake |
bd6b0bc5 | 23 | BuildRequires: bzip2-devel |
48ca524d | 24 | %{?with_compface:BuildRequires: compface-devel} |
1d10180e | 25 | BuildRequires: gettext-devel |
ceeef691 | 26 | BuildRequires: gmp-devel |
b81c91b6 | 27 | %{?with_tls:BuildRequires: gnutls-devel >= 2.6.0} |
efe080c2 | 28 | %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5} |
a78c9e83 | 29 | BuildRequires: gtk+2-devel >= 2:2.12.8 |
1f14e5a6 | 30 | BuildRequires: libetpan-devel >= 0.57 |
31 | BuildRequires: liblockfile-devel | |
1d10180e | 32 | BuildRequires: libltdl-devel |
0d611c2a | 33 | BuildRequires: libtool |
9c71148a | 34 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
d0d021dc | 35 | %{?with_jpilot:BuildRequires: pilot-link-devel} |
bd6b0bc5 | 36 | BuildRequires: pkgconfig |
44d458d9 | 37 | BuildRequires: rpmbuild(macros) >= 1.311 |
d0d021dc | 38 | BuildRequires: startup-notification-devel >= 0.5 |
eeec3879 | 39 | Requires(post,postun): gtk+2 |
44d458d9 | 40 | Requires(post,postun): hicolor-icon-theme |
a78c9e83 | 41 | Requires: gtk+2 >= 2:2.12.8 |
1199c73d | 42 | Provides: sylpheed-claws |
5f09393e | 43 | Obsoletes: claws-mail-plugin-clamav |
9be288ee MB |
44 | Obsoletes: claws-mail-plugin-etpan-privacy |
45 | Obsoletes: claws-mail-plugin-maildir | |
f8816a1f | 46 | Obsoletes: claws-mail-plugin-pdf_viewer |
7f0c3b3e | 47 | Obsoletes: sylpheed-claws |
5f09393e | 48 | Obsoletes: sylpheed-claws-plugin-clamav |
761655de | 49 | Obsoletes: sylpheed-gtk2 |
0d611c2a | 50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
51 | ||
0d611c2a | 52 | %description |
1f6e805c | 53 | This program is an X based fast e-mail client which has features same |
54 | as orginal Sylpheed but with new/improved features. Some of new stuff | |
55 | is really cool and useable. | |
5d4f1e09 | 56 | |
664cab97 JR |
57 | %description -l pl.UTF-8 |
58 | Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed | |
59 | ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę | |
60 | świetne i użyteczne. | |
0d611c2a | 61 | |
b1b9f47a | 62 | %package devel |
7f0c3b3e | 63 | Summary: Headers from Claws-Mail |
281af01d | 64 | Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail |
ac3bbb47 | 65 | Group: X11/Development/Libraries |
ceea85d9 | 66 | Requires: %{name} = %{version}-%{release} |
b81c91b6 | 67 | Requires: gnutls-devel >= 2.6.0 |
43181944 | 68 | Requires: gpgme-devel >= 1:0.4.5 |
ff99b237 | 69 | Requires: libetpan-devel >= 0.54 |
1199c73d MB |
70 | Provides: sylpheed-claws-devel |
71 | Obsoletes: sylpheed-claws-devel | |
b1b9f47a | 72 | |
73 | %description devel | |
7f0c3b3e | 74 | Claws-Mail development package. |
b1b9f47a | 75 | |
664cab97 JR |
76 | %description devel -l pl.UTF-8 |
77 | Pliki nagłówkowe programu Claws-Mail. | |
b1b9f47a | 78 | |
d0d021dc | 79 | %package plugins |
7f0c3b3e | 80 | Summary: Special plugins for Claws-Mail (metapackage) |
281af01d | 81 | Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet) |
ac3bbb47 | 82 | Group: X11/Applications/Mail |
d0d021dc | 83 | Requires: %{name} = %{version}-%{release} |
44d458d9 | 84 | Requires: %{name}-plugin-bogofilter = %{version}-%{release} |
dc3d0ddd | 85 | Requires: %{name}-plugin-dillo = %{version}-%{release} |
d0d021dc MB |
86 | %if %{with gpg} |
87 | Requires: %{name}-plugin-pgpinline = %{version}-%{release} | |
88 | Requires: %{name}-plugin-pgpmime = %{version}-%{release} | |
89 | %endif | |
1f14e5a6 | 90 | Requires: %{name}-plugin-smime = %{version}-%{release} |
dc3d0ddd MB |
91 | Requires: %{name}-plugin-spamassassin = %{version}-%{release} |
92 | Requires: %{name}-plugin-trayicon = %{version}-%{release} | |
a6cfdb5b | 93 | Provides: sylpheed-claws-plugins = %{version} |
1199c73d | 94 | Obsoletes: sylpheed-claws-plugins |
d0d021dc MB |
95 | |
96 | %description plugins | |
7f0c3b3e | 97 | This is collection of some usefull plugins for Claws-Mail |
d0d021dc MB |
98 | (metapackage). |
99 | ||
664cab97 JR |
100 | %description plugins -l pl.UTF-8 |
101 | Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości | |
7f0c3b3e | 102 | Claws-Mail (metapakiet). |
d0d021dc | 103 | |
44d458d9 | 104 | %package plugin-bogofilter |
7f0c3b3e | 105 | Summary: Bogofilter plugin for Claws-Mail |
281af01d | 106 | Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail |
ac3bbb47 | 107 | Group: X11/Applications/Mail |
44d458d9 MB |
108 | Requires: %{name} = %{version}-%{release} |
109 | Requires: bogofilter | |
1199c73d MB |
110 | Provides: sylpheed-claws-plugin-bogofilter |
111 | Obsoletes: sylpheed-claws-plugin-bogofilter | |
44d458d9 MB |
112 | |
113 | %description plugin-bogofilter | |
114 | This plugin enables the scanning of incoming mail received from a POP, | |
115 | IMAP or LOCAL account using Bogofilter. It can optionally delete mail | |
116 | identified as spam or save it to a designated folder. | |
117 | ||
664cab97 JR |
118 | %description plugin-bogofilter -l pl.UTF-8 |
119 | Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej | |
120 | jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może | |
121 | usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym | |
44d458d9 MB |
122 | folderze. |
123 | ||
d0d021dc | 124 | %package plugin-dillo |
7f0c3b3e | 125 | Summary: dillo plugin for Claws-Mail |
281af01d | 126 | Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail |
ac3bbb47 | 127 | Group: X11/Applications/Mail |
d0d021dc MB |
128 | Requires: %{name} = %{version}-%{release} |
129 | Requires: dillo | |
1199c73d MB |
130 | Provides: sylpheed-claws-plugin-dillo |
131 | Obsoletes: sylpheed-claws-plugin-dillo | |
d0d021dc MB |
132 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
133 | ||
134 | %description plugin-dillo | |
135 | This plugin enables the viewing of html messages using the Dillo web | |
136 | browser. | |
137 | ||
664cab97 JR |
138 | %description plugin-dillo -l pl.UTF-8 |
139 | Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy | |
140 | przeglądarki Dillo. | |
9b63aae0 | 141 | |
d0d021dc | 142 | %package plugin-pgpcore |
7f0c3b3e | 143 | Summary: PGP/Core plugin for Claws-Mail |
281af01d | 144 | Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail |
ac3bbb47 | 145 | Group: X11/Applications/Mail |
d0d021dc | 146 | Requires: %{name} = %{version}-%{release} |
1199c73d MB |
147 | Provides: sylpheed-claws-plugin-pgpcore |
148 | Obsoletes: sylpheed-claws-plugin-pgpcore | |
d0d021dc MB |
149 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
150 | ||
151 | %description plugin-pgpcore | |
152 | This plugin handles core PGP functions. | |
153 | ||
664cab97 JR |
154 | %description plugin-pgpcore -l pl.UTF-8 |
155 | Wtyczka obsługująca podstawowe funkcje PGP. | |
9b63aae0 | 156 | |
d0d021dc | 157 | %package plugin-pgpinline |
7f0c3b3e | 158 | Summary: PGP/Inline plugin for Claws-Mail |
281af01d | 159 | Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail |
ac3bbb47 | 160 | Group: X11/Applications/Mail |
d0d021dc | 161 | Requires: %{name}-plugin-pgpcore = %{version}-%{release} |
1199c73d MB |
162 | Provides: sylpheed-claws-plugin-pgpinline |
163 | Obsoletes: sylpheed-claws-plugin-pgpinline | |
d0d021dc MB |
164 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
165 | ||
166 | %description plugin-pgpinline | |
167 | This plugin handles PGP/Inline signed and/or encrypted mails. It can | |
168 | decrypt mails, verify signatures or sign and encrypt your own mails. | |
169 | ||
664cab97 JR |
170 | %description plugin-pgpinline -l pl.UTF-8 |
171 | Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi | |
172 | rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać | |
173 | własne listy. | |
9b63aae0 | 174 | |
d0d021dc | 175 | %package plugin-pgpmime |
7f0c3b3e | 176 | Summary: PGP/MIME plugin for Claws-Mail |
281af01d | 177 | Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail |
ac3bbb47 | 178 | Group: X11/Applications/Mail |
d0d021dc | 179 | Requires: %{name}-plugin-pgpcore = %{version}-%{release} |
1199c73d MB |
180 | Provides: sylpheed-claws-plugin-pgpmime |
181 | Obsoletes: sylpheed-claws-plugin-pgpmime | |
d0d021dc MB |
182 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
183 | ||
184 | %description plugin-pgpmime | |
185 | This plugin handles PGP/MIME signed and/or encrypted mails. It can | |
186 | decrypt mails, verify signatures or sign and encrypt your own mails. | |
187 | ||
664cab97 JR |
188 | %description plugin-pgpmime -l pl.UTF-8 |
189 | Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi | |
190 | rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać | |
191 | własne listy. | |
9b63aae0 | 192 | |
1f14e5a6 | 193 | %package plugin-smime |
194 | Summary: S/MIME plugin for Claws-Mail | |
195 | Summary(pl.UTF-8): Wtyczka S/MIME dla Claws-Mail | |
196 | Group: X11/Applications/Mail | |
197 | Requires: %{name} = %{version}-%{release} | |
33d76782 | 198 | Requires: %{name}-plugin-pgpcore = %{version}-%{release} |
1f14e5a6 | 199 | Provides: sylpheed-claws-plugin-smime |
200 | Obsoletes: sylpheed-claws-plugin-smime | |
1f14e5a6 | 201 | |
202 | %description plugin-smime | |
203 | This plugin handles S/MIME signed and/or encrypted mails. You can | |
204 | decrypt mails, verify signatures or sign and encrypt your own mails. | |
205 | ||
206 | %description plugin-smime -l pl.UTF-8 | |
207 | Wtyczka obsługująca listy podpisane lub szyfrowane S/MIME. Potrafi | |
208 | rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać | |
209 | własne listy. | |
210 | ||
d0d021dc | 211 | %package plugin-spamassassin |
7f0c3b3e | 212 | Summary: spamassassin plugin for Claws-Mail |
281af01d | 213 | Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail |
ac3bbb47 | 214 | Group: X11/Applications/Mail |
ceea85d9 | 215 | Requires: %{name} = %{version}-%{release} |
1199c73d MB |
216 | Provides: sylpheed-claws-plugin-spamassassin |
217 | Obsoletes: sylpheed-claws-plugin-spamassassin | |
d0d021dc | 218 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
40894f82 | 219 | |
d0d021dc MB |
220 | %description plugin-spamassassin |
221 | This plugin enables the scanning of incoming mail received from a POP, | |
222 | IMAP, or LOCAL account using SpamAssassin. It can optionally delete | |
223 | mail identified as spam or save it to a designated folder, and also | |
224 | can be used to train a local Spamassassin or a remote one. | |
40894f82 | 225 | |
664cab97 JR |
226 | %description plugin-spamassassin -l pl.UTF-8 |
227 | Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej | |
228 | jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może | |
229 | usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym | |
230 | folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego | |
9b63aae0 | 231 | demona SpamAssassin. |
232 | ||
d0d021dc | 233 | %package plugin-trayicon |
7f0c3b3e | 234 | Summary: trayicon plugin for Claws-Mail |
281af01d | 235 | Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail |
ac3bbb47 | 236 | Group: X11/Applications/Mail |
d0d021dc | 237 | Requires: %{name} = %{version}-%{release} |
1199c73d MB |
238 | Provides: sylpheed-claws-plugin-trayicon |
239 | Obsoletes: sylpheed-claws-plugin-trayicon | |
d0d021dc MB |
240 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
241 | ||
242 | %description plugin-trayicon | |
243 | This plugin places an icon in the system tray that indicates whether | |
244 | you have any new mail. A tooltip also shows the current new, unread | |
245 | and total number of messages, and a contextual menu allows the most | |
246 | common operations. | |
40894f82 | 247 | |
664cab97 JR |
248 | %description plugin-trayicon -l pl.UTF-8 |
249 | Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu | |
250 | nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych, | |
251 | nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać | |
9b63aae0 | 252 | najpopularniejsze operacje. |
253 | ||
0d611c2a | 254 | %prep |
d0d021dc | 255 | %setup -q |
0d611c2a | 256 | |
ec05658d JB |
257 | rm -f po/stamp-po |
258 | ||
ab88c80f | 259 | # pt_PT -> pt hack |
260 | mv -f po/{pt_PT,pt}.po | |
261 | %{__sed} -i -e 's,pt_PT,pt,g' src/codeconv.c | |
262 | %{__sed} -i -e 's,pt_PT,pt,g' configure | |
263 | %{__sed} -i -e 's,pt_PT,pt,g' configure.ac | |
264 | ||
0d611c2a | 265 | %build |
87a7cfab MB |
266 | %{__libtoolize} |
267 | %{__gettextize} | |
268 | %{__aclocal} -I m4 | |
269 | %{__autoconf} | |
270 | %{__autoheader} | |
271 | %{__automake} | |
0d611c2a | 272 | %configure \ |
48ca524d | 273 | --%{?with_compface:en}%{!?with_compface:dis}able-compface \ |
d0d021dc | 274 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \ |
48ca524d | 275 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \ |
d0d021dc | 276 | --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \ |
48ca524d | 277 | --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \ |
d0d021dc | 278 | --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \ |
48ca524d | 279 | --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \ |
9af53442 | 280 | --%{?with_tls:en}%{!?with_tls:dis}able-gnutls \ |
ac3bbb47 | 281 | --enable-bogofilter-plugin \ |
dc3d0ddd | 282 | --enable-dillo-viewer-plugin \ |
dc3d0ddd | 283 | --enable-libetpan \ |
efcbcabb | 284 | --enable-pthread \ |
dc3d0ddd MB |
285 | --enable-spamassassin-plugin \ |
286 | --enable-trayicon-plugin \ | |
7f0c3b3e | 287 | --disable-static |
0d611c2a | 288 | |
289 | %{__make} | |
290 | ||
291 | %install | |
292 | rm -rf $RPM_BUILD_ROOT | |
d0d021dc | 293 | install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}} |
0d611c2a | 294 | |
295 | %{__make} install \ | |
44d458d9 | 296 | DESTDIR=$RPM_BUILD_ROOT |
0d611c2a | 297 | |
d8880807 | 298 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
efe080c2 | 299 | install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} |
946fa8a3 | 300 | |
d0d021dc | 301 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la} |
16ac3bfb MB |
302 | rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES |
303 | rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html} | |
ec05658d | 304 | |
62767999 | 305 | %find_lang %{name} |
0d611c2a | 306 | |
307 | %clean | |
c9f56aa0 | 308 | rm -rf $RPM_BUILD_ROOT |
0d611c2a | 309 | |
44d458d9 MB |
310 | %post |
311 | %update_icon_cache hicolor | |
312 | ||
313 | %postun | |
314 | %update_icon_cache hicolor | |
315 | ||
62767999 | 316 | %files -f %{name}.lang |
0d611c2a | 317 | %defattr(644,root,root,755) |
16ac3bfb | 318 | %doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO |
65ff9ee2 | 319 | %{_mandir}/man1/%{name}.1* |
0d611c2a | 320 | %attr(755,root,root) %{_bindir}/* |
62767999 | 321 | %dir %{_datadir}/%{name} |
16ac3bfb MB |
322 | %dir %{_docdir}/%{name} |
323 | %dir %{_docdir}/%{name}/manual | |
d0d021dc | 324 | %dir %{_datadir}/%{name}/themes |
7ecfdd51 MB |
325 | %dir %{_libdir}/%{name} |
326 | %dir %{_libdir}/%{name}/plugins | |
16ac3bfb MB |
327 | %{_docdir}/%{name}/manual/en |
328 | %lang(es) %{_docdir}/%{name}/manual/es | |
329 | %lang(fr) %{_docdir}/%{name}/manual/fr | |
330 | %lang(pl) %{_docdir}/%{name}/manual/pl | |
d8880807 | 331 | %{_desktopdir}/%{name}.desktop |
efe080c2 | 332 | %{_pixmapsdir}/%{name}.png |
9b63aae0 | 333 | %{_iconsdir}/hicolor/48x48/apps/%{name}.png |
b185452a | 334 | |
b1b9f47a | 335 | %files devel |
336 | %defattr(644,root,root,755) | |
62767999 | 337 | %{_includedir}/%{name} |
8875a1b2 | 338 | %{_pkgconfigdir}/*.pc |
40894f82 | 339 | |
d0d021dc MB |
340 | %files plugins |
341 | %defattr(644,root,root,755) | |
342 | ||
44d458d9 MB |
343 | %files plugin-bogofilter |
344 | %defattr(644,root,root,755) | |
345 | %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so | |
346 | ||
d0d021dc MB |
347 | %files plugin-dillo |
348 | %defattr(644,root,root,755) | |
349 | %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so | |
d0d021dc MB |
350 | |
351 | %if %{with gpg} | |
352 | %files plugin-pgpcore | |
353 | %defattr(644,root,root,755) | |
354 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so | |
355 | ||
356 | %files plugin-pgpinline | |
357 | %defattr(644,root,root,755) | |
358 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so | |
359 | ||
360 | %files plugin-pgpmime | |
361 | %defattr(644,root,root,755) | |
362 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so | |
363 | %endif | |
364 | ||
1f14e5a6 | 365 | %files plugin-smime |
366 | %defattr(644,root,root,755) | |
367 | %attr(755,root,root) %{_libdir}/%{name}/plugins/smime.so | |
368 | ||
d0d021dc MB |
369 | %files plugin-spamassassin |
370 | %defattr(644,root,root,755) | |
371 | %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so | |
d0d021dc | 372 | |
d0d021dc | 373 | %files plugin-trayicon |
40894f82 | 374 | %defattr(644,root,root,755) |
d0d021dc | 375 | %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so |