3 %bcond_without clamav # build without clamav plugin
4 %bcond_without compface # build without compface support
5 %bcond_without dillo # build without dillo plugin (html browser)
6 %bcond_without gnomeprint # build without gnomeprint support
7 %bcond_without gpg # build without GPG support
8 %bcond_without ipv6 # build without IPv6 support
9 %bcond_without jpilot # build without JPilot support
10 %bcond_without ldap # build without LDAP support
11 %bcond_without spamassassin # build without spamassassin plugin
12 %bcond_without ssl # build without SSL support
13 %bcond_without trayicon # build without trayicon plugin
15 Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
16 Summary(pl): Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
21 Group: X11/Applications/Networking
22 Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
23 # Source0-md5: a28001e212c0b536e7e8c4907243a3a2
24 Source1: %{name}.desktop
25 URL: http://www.sylpheed-claws.net/
26 BuildRequires: aspell-devel >= 2:0.50
27 BuildRequires: autoconf >= 2.50
28 BuildRequires: automake
29 BuildRequires: bzip2-devel
30 %{?with_clamav:BuildRequires: clamav-devel}
31 %{?with_compface:BuildRequires: compface-devel}
32 BuildRequires: gdk-pixbuf-devel >= 0.8
33 BuildRequires: gettext-devel
34 BuildRequires: gmp-devel
35 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
36 BuildRequires: gtk+2-devel >= 2:2.6.0
37 BuildRequires: imlib-devel >= 1.9
38 BuildRequires: libetpan-devel >= 0.46
39 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
40 BuildRequires: libltdl-devel
41 BuildRequires: libtool
42 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
43 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
44 %{?with_jpilot:BuildRequires: pilot-link-devel}
45 BuildRequires: pkgconfig
46 BuildRequires: rpmbuild(macros) >= 1.311
47 BuildRequires: startup-notification-devel >= 0.5
48 Requires(post,postun): hicolor-icon-theme
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 Sylpheed-Claws
65 Summary(pl): Pliki nag³ówkowe programu Sylpheed-Claws
66 Group: X11/Applications/Networking
67 Requires: %{name} = %{version}-%{release}
68 Requires: gpgme-devel >= 1:0.4.5
69 Requires: libetpan-devel >= 0.46
70 Requires: openssl-devel >= 0.9.7d
73 Sylpheed-Claws development package.
75 %description devel -l pl
76 Pliki nag³ówkowe programu Sylpheed-Claws.
79 Summary: Special plugins for Sylpheed-Claws (metapackage)
80 Summary(pl): Dodatkowe wtyczki dla Sylpheed-Claws (metapakiet)
81 Group: X11/Applications/Networking
82 Requires: %{name} = %{version}-%{release}
83 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
84 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
85 %{?with_dillo:Requires: %{name}-plugin-dillo = %{version}-%{release}}
87 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
88 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
90 %{?with_spamassassin:Requires: %{name}-plugin-spamassassin = %{version}-%{release}}
91 %{?with_trayicon:Requires: %{name}-plugin-trayicon = %{version}-%{release}}
94 This is collection of some usefull plugins for Sylpheed-Claws
97 %description plugins -l pl
98 Jest to zbiór kilku dodatkowych wtyczek powiêkszaj±cych mo¿liwo¶ci
99 Sylpheed-Claws (metapakiet).
101 %package plugin-bogofilter
102 Summary: Bogofilter plugin for Sylpheed-Claws
103 Summary(pl): Wtyczka bogofilter dla Sylpheed-Claws
104 Group: X11/Applications/Networking
105 Requires: %{name} = %{version}-%{release}
108 %description plugin-bogofilter
109 This plugin enables the scanning of incoming mail received from a POP,
110 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
111 identified as spam or save it to a designated folder.
113 %description plugin-bogofilter -l pl
114 Wtyczka pozwalaj±ca na skanowanie bogofilterem poczty przychodz±cej
115 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
116 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
119 %package plugin-clamav
120 Summary: clamav plugin for Sylpheed-Claws
121 Summary(pl): Wtyczka clamav dla Sylpheed-Claws
122 Group: X11/Applications/Networking
123 Requires: %{name} = %{version}-%{release}
124 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
126 %description plugin-clamav
127 This plugin enables the scanning of message attachments in mail
128 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
129 can optionally delete the mail or save it to a designated folder.
131 %description plugin-clamav -l pl
132 Ta wtyczka pozwala na lokalne skanowanie za³±czników z poczty
133 otrzymanej przez POP, IMAP lub znajduj±cej siê w lokalnych skrzynkach.
134 Opcjonalnie mo¿e usuwaæ lub zapisywaæ zainfekowane listy w przeznaczonym
137 %package plugin-dillo
138 Summary: dillo plugin for Sylpheed-Claws
139 Summary(pl): Wtyczka dillo dla Sylpheed-Claws
140 Group: X11/Applications/Networking
141 Requires: %{name} = %{version}-%{release}
143 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
145 %description plugin-dillo
146 This plugin enables the viewing of html messages using the Dillo web
149 %description plugin-dillo -l pl
150 Wtyczka pozwalaj±ca na przegl±danie listów pisanych w HTML przy pomocy
153 %package plugin-pgpcore
154 Summary: PGP/Core plugin for Sylpheed-Claws
155 Summary(pl): Wtyczka PGP/Core dla Sylpheed-Claws
156 Group: X11/Applications/Networking
157 Requires: %{name} = %{version}-%{release}
158 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
160 %description plugin-pgpcore
161 This plugin handles core PGP functions.
163 %description plugin-pgpcore -l pl
164 Wtyczka obs³uguj±ca podstawowe funkcje PGP.
166 %package plugin-pgpinline
167 Summary: PGP/Inline plugin for Sylpheed-Claws
168 Summary(pl): Wtyczka PGP/Inline dla Sylpheed-Claws
169 Group: X11/Applications/Networking
170 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
171 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
173 %description plugin-pgpinline
174 This plugin handles PGP/Inline signed and/or encrypted mails. It can
175 decrypt mails, verify signatures or sign and encrypt your own mails.
177 %description plugin-pgpinline -l pl
178 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/Inline. Potrafi
179 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
182 %package plugin-pgpmime
183 Summary: PGP/MIME plugin for Sylpheed-Claws
184 Summary(pl): Wtyczka PGP/MIME dla Sylpheed-Claws
185 Group: X11/Applications/Networking
186 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
187 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
189 %description plugin-pgpmime
190 This plugin handles PGP/MIME signed and/or encrypted mails. It can
191 decrypt mails, verify signatures or sign and encrypt your own mails.
193 %description plugin-pgpmime -l pl
194 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/MIME. Potrafi
195 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
198 %package plugin-spamassassin
199 Summary: spamassassin plugin for Sylpheed-Claws
200 Summary(pl): Wtyczka spamassassin dla Sylpheed-Claws
201 Group: X11/Applications/Networking
202 Requires: %{name} = %{version}-%{release}
203 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
205 %description plugin-spamassassin
206 This plugin enables the scanning of incoming mail received from a POP,
207 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
208 mail identified as spam or save it to a designated folder, and also
209 can be used to train a local Spamassassin or a remote one.
211 %description plugin-spamassassin -l pl
212 Wtyczka pozwalaj±ca na skanowanie SpamAssassinem poczty przychodz±cej
213 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
214 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
215 folderze. Mo¿e te¿ by¿ u¿ywana do "uczenia" lokalnego lub zdalnego
218 %package plugin-trayicon
219 Summary: trayicon plugin for Sylpheed-Claws
220 Summary(pl): Wtyczka trayicon dla Sylpheed-Claws
221 Group: X11/Applications/Networking
222 Requires: %{name} = %{version}-%{release}
223 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
225 %description plugin-trayicon
226 This plugin places an icon in the system tray that indicates whether
227 you have any new mail. A tooltip also shows the current new, unread
228 and total number of messages, and a contextual menu allows the most
231 %description plugin-trayicon -l pl
232 Wtyczka umieszczaj±ca w tacce systemowej ikonê informuj±c± o nadej¶ciu
233 nowej poczty. Ikona wy¶wietla dane na temat wiadomo¶ci (ilo¶æ nowych,
234 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywaæ
235 najpopularniejsze operacje.
250 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
251 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
252 --%{?with_dillo:en}%{!?with_dillo:dis}able-dillo-viewer-plugin \
253 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
254 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
255 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
256 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
257 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
258 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
259 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
260 --%{?with_spamassassin:en}%{!?with_spamassassin:dis}able-spamassassin-plugin \
261 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
262 --%{?with_trayicon:en}%{!?with_trayicon:dis}able-trayicon-plugin \
264 --enable-bogofilter \
265 --enable-gdk-pixbuf \
269 --with-config-dir=.sylpheed
274 rm -rf $RPM_BUILD_ROOT
275 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
278 DESTDIR=$RPM_BUILD_ROOT
280 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
281 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
283 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
284 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
289 rm -rf $RPM_BUILD_ROOT
292 %update_icon_cache hicolor
295 %update_icon_cache hicolor
297 %files -f %{name}.lang
298 %defattr(644,root,root,755)
299 %doc AUTHORS ChangeLog NEWS README* TODO
300 %{_mandir}/man1/%{name}.1*
301 %attr(755,root,root) %{_bindir}/*
302 %dir %{_datadir}/%{name}
303 %dir %{_datadir}/%{name}/manual
304 %dir %{_datadir}/%{name}/themes
305 %dir %{_libdir}/%{name}
306 %dir %{_libdir}/%{name}/plugins
307 %{_datadir}/%{name}/manual/en
308 %lang(es) %{_datadir}/%{name}/manual/es
309 %lang(fr) %{_datadir}/%{name}/manual/fr
310 %lang(pl) %{_datadir}/%{name}/manual/pl
311 %{_desktopdir}/%{name}.desktop
312 %{_pixmapsdir}/%{name}.png
313 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
316 %defattr(644,root,root,755)
317 %{_includedir}/%{name}
318 %{_pkgconfigdir}/*.pc
321 %defattr(644,root,root,755)
323 %files plugin-bogofilter
324 %defattr(644,root,root,755)
325 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
329 %defattr(644,root,root,755)
330 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
335 %defattr(644,root,root,755)
336 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
340 %files plugin-pgpcore
341 %defattr(644,root,root,755)
342 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
344 %files plugin-pgpinline
345 %defattr(644,root,root,755)
346 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
348 %files plugin-pgpmime
349 %defattr(644,root,root,755)
350 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
353 %if %{with spamassassin}
354 %files plugin-spamassassin
355 %defattr(644,root,root,755)
356 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
360 %files plugin-trayicon
361 %defattr(644,root,root,755)
362 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so