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: ebd7e3cd97e58cb54558d5d2f7cfcf81
21 Source1: %{name}.desktop
22 URL: http://www.sylpheed-claws.net/
23 BuildRequires: aspell-devel >= 2:0.50
24 BuildRequires: autoconf >= 2.50
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.46
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): hicolor-icon-theme
47 Obsoletes: sylpheed-gtk2
48 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 This program is an X based fast e-mail client which has features same
52 as orginal Sylpheed but with new/improved features. Some of new stuff
53 is really cool and useable.
56 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
57 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
61 Summary: Headers from Sylpheed-Claws
62 Summary(pl): Pliki nag³ówkowe programu Sylpheed-Claws
63 Group: X11/Applications/Networking
64 Requires: %{name} = %{version}-%{release}
65 Requires: gpgme-devel >= 1:0.4.5
66 Requires: libetpan-devel >= 0.46
67 Requires: openssl-devel >= 0.9.7d
70 Sylpheed-Claws development package.
72 %description devel -l pl
73 Pliki nag³ówkowe programu Sylpheed-Claws.
76 Summary: Special plugins for Sylpheed-Claws (metapackage)
77 Summary(pl): Dodatkowe wtyczki dla Sylpheed-Claws (metapakiet)
78 Group: X11/Applications/Networking
79 Requires: %{name} = %{version}-%{release}
80 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
81 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
82 Requires: %{name}-plugin-dillo = %{version}-%{release}
84 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
85 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
87 Requires: %{name}-plugin-spamassassin = %{version}-%{release}
88 Requires: %{name}-plugin-trayicon = %{version}-%{release}
91 This is collection of some usefull plugins for Sylpheed-Claws
94 %description plugins -l pl
95 Jest to zbiór kilku dodatkowych wtyczek powiêkszaj±cych mo¿liwo¶ci
96 Sylpheed-Claws (metapakiet).
98 %package plugin-bogofilter
99 Summary: Bogofilter plugin for Sylpheed-Claws
100 Summary(pl): Wtyczka bogofilter dla Sylpheed-Claws
101 Group: X11/Applications/Networking
102 Requires: %{name} = %{version}-%{release}
105 %description plugin-bogofilter
106 This plugin enables the scanning of incoming mail received from a POP,
107 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
108 identified as spam or save it to a designated folder.
110 %description plugin-bogofilter -l pl
111 Wtyczka pozwalaj±ca na skanowanie bogofilterem poczty przychodz±cej
112 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
113 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
116 %package plugin-clamav
117 Summary: clamav plugin for Sylpheed-Claws
118 Summary(pl): Wtyczka clamav dla Sylpheed-Claws
119 Group: X11/Applications/Networking
120 Requires: %{name} = %{version}-%{release}
121 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
123 %description plugin-clamav
124 This plugin enables the scanning of message attachments in mail
125 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
126 can optionally delete the mail or save it to a designated folder.
128 %description plugin-clamav -l pl
129 Ta wtyczka pozwala na lokalne skanowanie za³±czników z poczty
130 otrzymanej przez POP, IMAP lub znajduj±cej siê w lokalnych skrzynkach.
131 Opcjonalnie mo¿e usuwaæ lub zapisywaæ zainfekowane listy w
132 przeznaczonym do tego folderze.
134 %package plugin-dillo
135 Summary: dillo plugin for Sylpheed-Claws
136 Summary(pl): Wtyczka dillo dla Sylpheed-Claws
137 Group: X11/Applications/Networking
138 Requires: %{name} = %{version}-%{release}
140 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
142 %description plugin-dillo
143 This plugin enables the viewing of html messages using the Dillo web
146 %description plugin-dillo -l pl
147 Wtyczka pozwalaj±ca na przegl±danie listów pisanych w HTML przy pomocy
150 %package plugin-pgpcore
151 Summary: PGP/Core plugin for Sylpheed-Claws
152 Summary(pl): Wtyczka PGP/Core dla Sylpheed-Claws
153 Group: X11/Applications/Networking
154 Requires: %{name} = %{version}-%{release}
155 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
157 %description plugin-pgpcore
158 This plugin handles core PGP functions.
160 %description plugin-pgpcore -l pl
161 Wtyczka obs³uguj±ca podstawowe funkcje PGP.
163 %package plugin-pgpinline
164 Summary: PGP/Inline plugin for Sylpheed-Claws
165 Summary(pl): Wtyczka PGP/Inline dla Sylpheed-Claws
166 Group: X11/Applications/Networking
167 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
168 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
170 %description plugin-pgpinline
171 This plugin handles PGP/Inline signed and/or encrypted mails. It can
172 decrypt mails, verify signatures or sign and encrypt your own mails.
174 %description plugin-pgpinline -l pl
175 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/Inline. Potrafi
176 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
179 %package plugin-pgpmime
180 Summary: PGP/MIME plugin for Sylpheed-Claws
181 Summary(pl): Wtyczka PGP/MIME dla Sylpheed-Claws
182 Group: X11/Applications/Networking
183 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
184 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
186 %description plugin-pgpmime
187 This plugin handles PGP/MIME signed and/or encrypted mails. It can
188 decrypt mails, verify signatures or sign and encrypt your own mails.
190 %description plugin-pgpmime -l pl
191 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/MIME. Potrafi
192 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
195 %package plugin-spamassassin
196 Summary: spamassassin plugin for Sylpheed-Claws
197 Summary(pl): Wtyczka spamassassin dla Sylpheed-Claws
198 Group: X11/Applications/Networking
199 Requires: %{name} = %{version}-%{release}
200 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
202 %description plugin-spamassassin
203 This plugin enables the scanning of incoming mail received from a POP,
204 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
205 mail identified as spam or save it to a designated folder, and also
206 can be used to train a local Spamassassin or a remote one.
208 %description plugin-spamassassin -l pl
209 Wtyczka pozwalaj±ca na skanowanie SpamAssassinem poczty przychodz±cej
210 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
211 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
212 folderze. Mo¿e te¿ by¿ u¿ywana do "uczenia" lokalnego lub zdalnego
215 %package plugin-trayicon
216 Summary: trayicon plugin for Sylpheed-Claws
217 Summary(pl): Wtyczka trayicon dla Sylpheed-Claws
218 Group: X11/Applications/Networking
219 Requires: %{name} = %{version}-%{release}
220 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
222 %description plugin-trayicon
223 This plugin places an icon in the system tray that indicates whether
224 you have any new mail. A tooltip also shows the current new, unread
225 and total number of messages, and a contextual menu allows the most
228 %description plugin-trayicon -l pl
229 Wtyczka umieszczaj±ca w tacce systemowej ikonê informuj±c± o nadej¶ciu
230 nowej poczty. Ikona wy¶wietla dane na temat wiadomo¶ci (ilo¶æ nowych,
231 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywaæ
232 najpopularniejsze operacje.
247 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
248 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
249 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
250 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
251 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
252 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
253 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
254 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
255 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
256 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
258 --enable-bogofilter \
259 --enable-dillo-viewer-plugin \
260 --enable-gdk-pixbuf \
263 --enable-spamassassin-plugin \
264 --enable-trayicon-plugin \
266 --with-config-dir=.sylpheed
271 rm -rf $RPM_BUILD_ROOT
272 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
275 DESTDIR=$RPM_BUILD_ROOT
277 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
278 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
280 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
281 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
286 rm -rf $RPM_BUILD_ROOT
289 %update_icon_cache hicolor
292 %update_icon_cache hicolor
294 %files -f %{name}.lang
295 %defattr(644,root,root,755)
296 %doc AUTHORS ChangeLog NEWS README* TODO
297 %{_mandir}/man1/%{name}.1*
298 %attr(755,root,root) %{_bindir}/*
299 %dir %{_datadir}/%{name}
300 %dir %{_datadir}/%{name}/manual
301 %dir %{_datadir}/%{name}/themes
302 %dir %{_libdir}/%{name}
303 %dir %{_libdir}/%{name}/plugins
304 %{_datadir}/%{name}/manual/en
305 %lang(es) %{_datadir}/%{name}/manual/es
306 %lang(fr) %{_datadir}/%{name}/manual/fr
307 %lang(pl) %{_datadir}/%{name}/manual/pl
308 %{_desktopdir}/%{name}.desktop
309 %{_pixmapsdir}/%{name}.png
310 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
313 %defattr(644,root,root,755)
314 %{_includedir}/%{name}
315 %{_pkgconfigdir}/*.pc
318 %defattr(644,root,root,755)
320 %files plugin-bogofilter
321 %defattr(644,root,root,755)
322 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
331 %defattr(644,root,root,755)
332 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
335 %files plugin-pgpcore
336 %defattr(644,root,root,755)
337 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
339 %files plugin-pgpinline
340 %defattr(644,root,root,755)
341 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
343 %files plugin-pgpmime
344 %defattr(644,root,root,755)
345 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
348 %files plugin-spamassassin
349 %defattr(644,root,root,755)
350 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
352 %files plugin-trayicon
353 %defattr(644,root,root,755)
354 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so