3 %bcond_without clamav # build without clamav plugin
4 %bcond_without compface # build without compface support
5 %bcond_without gnomeprint # build without gnomeprint support
6 %bcond_without gpg # build without GPG support
7 %bcond_without ipv6 # build without IPv6 support
8 %bcond_without jpilot # build without JPilot support
9 %bcond_without ldap # build without LDAP support
10 %bcond_without ssl # build without SSL support
12 Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
13 Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń
18 Group: X11/Applications/Networking
19 Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
20 # Source0-md5: b68983f2edac97cc094c527536d49a09
21 Source1: %{name}.desktop
22 Patch0: %{name}-pc_cflags_sequence.patch
23 URL: http://www.claws-mail.net/
24 BuildRequires: aspell >= 2:0.50
25 BuildRequires: aspell-devel >= 2:0.50
26 BuildRequires: autoconf >= 2.60
27 BuildRequires: automake
28 BuildRequires: bzip2-devel
29 %{?with_clamav:BuildRequires: clamav-devel}
30 %{?with_compface:BuildRequires: compface-devel}
31 BuildRequires: gettext-devel
32 BuildRequires: gmp-devel
33 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
34 BuildRequires: gtk+2-devel >= 2:2.6.0
35 BuildRequires: libetpan-devel >= 0.49
36 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
37 BuildRequires: libltdl-devel
38 BuildRequires: libtool
39 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
40 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
41 %{?with_jpilot:BuildRequires: pilot-link-devel}
42 BuildRequires: pkgconfig
43 BuildRequires: rpmbuild(macros) >= 1.311
44 BuildRequires: startup-notification-devel >= 0.5
45 Requires(post,postun): gtk+2
46 Requires(post,postun): hicolor-icon-theme
47 Provides: sylpheed-claws
49 Obsoletes: sylpheed-claws
50 Obsoletes: sylpheed-gtk2
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 This program is an X based fast e-mail client which has features same
55 as orginal Sylpheed but with new/improved features. Some of new stuff
56 is really cool and useable.
58 %description -l pl.UTF-8
59 Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed
60 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę
64 Summary: Headers from Claws-Mail
65 Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail
66 Group: X11/Applications/Networking
67 Requires: %{name} = %{version}-%{release}
68 Requires: gpgme-devel >= 1:0.4.5
69 Requires: libetpan-devel >= 0.49
70 Requires: openssl-devel >= 0.9.7d
71 Provides: sylpheed-claws-devel
72 Obsoletes: sylpheed-claws-devel
75 Claws-Mail development package.
77 %description devel -l pl.UTF-8
78 Pliki nagłówkowe programu Claws-Mail.
81 Summary: Special plugins for Claws-Mail (metapackage)
82 Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
83 Group: X11/Applications/Networking
84 Requires: %{name} = %{version}-%{release}
85 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
86 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
87 Requires: %{name}-plugin-dillo = %{version}-%{release}
89 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
90 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
92 Requires: %{name}-plugin-spamassassin = %{version}-%{release}
93 Requires: %{name}-plugin-trayicon = %{version}-%{release}
94 Provides: sylpheed-claws-plugins = %{version}
95 Obsoletes: sylpheed-claws-plugins
98 This is collection of some usefull plugins for Claws-Mail
101 %description plugins -l pl.UTF-8
102 Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości
103 Claws-Mail (metapakiet).
105 %package plugin-bogofilter
106 Summary: Bogofilter plugin for Claws-Mail
107 Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail
108 Group: X11/Applications/Networking
109 Requires: %{name} = %{version}-%{release}
111 Provides: sylpheed-claws-plugin-bogofilter
112 Obsoletes: sylpheed-claws-plugin-bogofilter
114 %description plugin-bogofilter
115 This plugin enables the scanning of incoming mail received from a POP,
116 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
117 identified as spam or save it to a designated folder.
119 %description plugin-bogofilter -l pl.UTF-8
120 Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej
121 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
122 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
125 %package plugin-clamav
126 Summary: clamav plugin for Claws-Mail
127 Summary(pl.UTF-8): Wtyczka clamav dla Claws-Mail
128 Group: X11/Applications/Networking
129 Requires: %{name} = %{version}-%{release}
130 Provides: sylpheed-claws-plugin-clamav
131 Obsoletes: sylpheed-claws-plugin-clamav
132 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
134 %description plugin-clamav
135 This plugin enables the scanning of message attachments in mail
136 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
137 can optionally delete the mail or save it to a designated folder.
139 %description plugin-clamav -l pl.UTF-8
140 Ta wtyczka pozwala na lokalne skanowanie załączników z poczty
141 otrzymanej przez POP, IMAP lub znajdującej się w lokalnych skrzynkach.
142 Opcjonalnie może usuwać lub zapisywać zainfekowane listy w
143 przeznaczonym do tego folderze.
145 %package plugin-dillo
146 Summary: dillo plugin for Claws-Mail
147 Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail
148 Group: X11/Applications/Networking
149 Requires: %{name} = %{version}-%{release}
151 Provides: sylpheed-claws-plugin-dillo
152 Obsoletes: sylpheed-claws-plugin-dillo
153 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
155 %description plugin-dillo
156 This plugin enables the viewing of html messages using the Dillo web
159 %description plugin-dillo -l pl.UTF-8
160 Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy
163 %package plugin-pgpcore
164 Summary: PGP/Core plugin for Claws-Mail
165 Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail
166 Group: X11/Applications/Networking
167 Requires: %{name} = %{version}-%{release}
168 Provides: sylpheed-claws-plugin-pgpcore
169 Obsoletes: sylpheed-claws-plugin-pgpcore
170 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
172 %description plugin-pgpcore
173 This plugin handles core PGP functions.
175 %description plugin-pgpcore -l pl.UTF-8
176 Wtyczka obsługująca podstawowe funkcje PGP.
178 %package plugin-pgpinline
179 Summary: PGP/Inline plugin for Claws-Mail
180 Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail
181 Group: X11/Applications/Networking
182 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
183 Provides: sylpheed-claws-plugin-pgpinline
184 Obsoletes: sylpheed-claws-plugin-pgpinline
185 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
187 %description plugin-pgpinline
188 This plugin handles PGP/Inline signed and/or encrypted mails. It can
189 decrypt mails, verify signatures or sign and encrypt your own mails.
191 %description plugin-pgpinline -l pl.UTF-8
192 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi
193 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
196 %package plugin-pgpmime
197 Summary: PGP/MIME plugin for Claws-Mail
198 Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail
199 Group: X11/Applications/Networking
200 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
201 Provides: sylpheed-claws-plugin-pgpmime
202 Obsoletes: sylpheed-claws-plugin-pgpmime
203 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
205 %description plugin-pgpmime
206 This plugin handles PGP/MIME signed and/or encrypted mails. It can
207 decrypt mails, verify signatures or sign and encrypt your own mails.
209 %description plugin-pgpmime -l pl.UTF-8
210 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi
211 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
214 %package plugin-spamassassin
215 Summary: spamassassin plugin for Claws-Mail
216 Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
217 Group: X11/Applications/Networking
218 Requires: %{name} = %{version}-%{release}
219 Provides: sylpheed-claws-plugin-spamassassin
220 Obsoletes: sylpheed-claws-plugin-spamassassin
221 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
223 %description plugin-spamassassin
224 This plugin enables the scanning of incoming mail received from a POP,
225 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
226 mail identified as spam or save it to a designated folder, and also
227 can be used to train a local Spamassassin or a remote one.
229 %description plugin-spamassassin -l pl.UTF-8
230 Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
231 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
232 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
233 folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
236 %package plugin-trayicon
237 Summary: trayicon plugin for Claws-Mail
238 Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
239 Group: X11/Applications/Networking
240 Requires: %{name} = %{version}-%{release}
241 Provides: sylpheed-claws-plugin-trayicon
242 Obsoletes: sylpheed-claws-plugin-trayicon
243 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
245 %description plugin-trayicon
246 This plugin places an icon in the system tray that indicates whether
247 you have any new mail. A tooltip also shows the current new, unread
248 and total number of messages, and a contextual menu allows the most
251 %description plugin-trayicon -l pl.UTF-8
252 Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
253 nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
254 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
255 najpopularniejsze operacje.
271 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
272 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
273 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
274 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
275 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
276 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
277 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
278 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
279 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
280 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
282 --enable-bogofilter \
283 --enable-dillo-viewer-plugin \
284 --enable-gdk-pixbuf \
287 --enable-spamassassin-plugin \
288 --enable-trayicon-plugin \
294 rm -rf $RPM_BUILD_ROOT
295 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
298 DESTDIR=$RPM_BUILD_ROOT
300 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
301 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
303 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
304 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
305 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
310 rm -rf $RPM_BUILD_ROOT
313 %update_icon_cache hicolor
316 %update_icon_cache hicolor
318 %files -f %{name}.lang
319 %defattr(644,root,root,755)
320 %doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
321 %{_mandir}/man1/%{name}.1*
322 %attr(755,root,root) %{_bindir}/*
323 %dir %{_datadir}/%{name}
324 %dir %{_docdir}/%{name}
325 %dir %{_docdir}/%{name}/manual
326 %dir %{_datadir}/%{name}/themes
327 %dir %{_libdir}/%{name}
328 %dir %{_libdir}/%{name}/plugins
329 %{_docdir}/%{name}/manual/en
330 %lang(es) %{_docdir}/%{name}/manual/es
331 %lang(fr) %{_docdir}/%{name}/manual/fr
332 %lang(pl) %{_docdir}/%{name}/manual/pl
333 %{_desktopdir}/%{name}.desktop
334 %{_pixmapsdir}/%{name}.png
335 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
338 %defattr(644,root,root,755)
339 %{_includedir}/%{name}
340 %{_pkgconfigdir}/*.pc
343 %defattr(644,root,root,755)
345 %files plugin-bogofilter
346 %defattr(644,root,root,755)
347 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
351 %defattr(644,root,root,755)
352 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
356 %defattr(644,root,root,755)
357 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
360 %files plugin-pgpcore
361 %defattr(644,root,root,755)
362 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
364 %files plugin-pgpinline
365 %defattr(644,root,root,755)
366 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
368 %files plugin-pgpmime
369 %defattr(644,root,root,755)
370 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
373 %files plugin-spamassassin
374 %defattr(644,root,root,755)
375 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
377 %files plugin-trayicon
378 %defattr(644,root,root,755)
379 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so