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): 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: 98099550a68a08eca5354659f3ea465c
21 Source1: %{name}.desktop
22 URL: http://www.claws-mail.net/
23 BuildRequires: aspell-devel >= 2:0.50
24 BuildRequires: autoconf >= 2.60
25 BuildRequires: automake
26 BuildRequires: bzip2-devel
27 %{?with_clamav:BuildRequires: clamav-devel}
28 %{?with_compface:BuildRequires: compface-devel}
29 BuildRequires: gdk-pixbuf-devel >= 0.8
30 BuildRequires: gettext-devel
31 BuildRequires: gmp-devel
32 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
33 BuildRequires: gtk+2-devel >= 2:2.6.0
34 BuildRequires: imlib-devel >= 1.9
35 BuildRequires: libetpan-devel >= 0.48
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.
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): 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.48
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
78 Pliki nag³ówkowe programu Claws-Mail.
81 Summary: Special plugins for Claws-Mail (metapackage)
82 Summary(pl): 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
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): 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
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): 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
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): 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
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): 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
176 Wtyczka obs³uguj±ca podstawowe funkcje PGP.
178 %package plugin-pgpinline
179 Summary: PGP/Inline plugin for Claws-Mail
180 Summary(pl): 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
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): 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
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): 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
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): 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
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.
270 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
271 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
272 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
273 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
274 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
275 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
276 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
277 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
278 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
279 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
281 --enable-bogofilter \
282 --enable-dillo-viewer-plugin \
283 --enable-gdk-pixbuf \
286 --enable-spamassassin-plugin \
287 --enable-trayicon-plugin \
293 rm -rf $RPM_BUILD_ROOT
294 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
297 DESTDIR=$RPM_BUILD_ROOT
299 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
300 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
302 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
303 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
308 rm -rf $RPM_BUILD_ROOT
311 %update_icon_cache hicolor
314 %update_icon_cache hicolor
316 %files -f %{name}.lang
317 %defattr(644,root,root,755)
318 %doc AUTHORS ChangeLog NEWS README* TODO
319 %{_mandir}/man1/%{name}.1*
320 %attr(755,root,root) %{_bindir}/*
321 %dir %{_datadir}/%{name}
322 %dir %{_datadir}/%{name}/manual
323 %dir %{_datadir}/%{name}/themes
324 %dir %{_libdir}/%{name}
325 %dir %{_libdir}/%{name}/plugins
326 %{_datadir}/%{name}/manual/en
327 %lang(es) %{_datadir}/%{name}/manual/es
328 %lang(fr) %{_datadir}/%{name}/manual/fr
329 %lang(pl) %{_datadir}/%{name}/manual/pl
330 %{_desktopdir}/%{name}.desktop
331 %{_pixmapsdir}/%{name}.png
332 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
335 %defattr(644,root,root,755)
336 %{_includedir}/%{name}
337 %{_pkgconfigdir}/*.pc
340 %defattr(644,root,root,755)
342 %files plugin-bogofilter
343 %defattr(644,root,root,755)
344 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
348 %defattr(644,root,root,755)
349 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
353 %defattr(644,root,root,755)
354 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
357 %files plugin-pgpcore
358 %defattr(644,root,root,755)
359 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
361 %files plugin-pgpinline
362 %defattr(644,root,root,755)
363 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
365 %files plugin-pgpmime
366 %defattr(644,root,root,755)
367 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
370 %files plugin-spamassassin
371 %defattr(644,root,root,755)
372 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
374 %files plugin-trayicon
375 %defattr(644,root,root,755)
376 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so