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: cc88da5849fcdcde223f2dd0fa7dcba1
21 Source1: %{name}.desktop
22 Patch0: %{name}-pc_cflags_sequence.patch
23 URL: http://www.claws-mail.net/
24 BuildRequires: aspell-devel >= 2:0.50
25 BuildRequires: autoconf >= 2.60
26 BuildRequires: automake
27 BuildRequires: bzip2-devel
28 %{?with_clamav:BuildRequires: clamav-devel}
29 %{?with_compface:BuildRequires: compface-devel}
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: libetpan-devel >= 0.49
35 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
36 BuildRequires: libltdl-devel
37 BuildRequires: libtool
38 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
39 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
40 %{?with_jpilot:BuildRequires: pilot-link-devel}
41 BuildRequires: pkgconfig
42 BuildRequires: rpmbuild(macros) >= 1.311
43 BuildRequires: startup-notification-devel >= 0.5
44 Requires(post,postun): gtk+2
45 Requires(post,postun): hicolor-icon-theme
46 Provides: sylpheed-claws
48 Obsoletes: sylpheed-claws
49 Obsoletes: sylpheed-gtk2
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
58 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
59 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
63 Summary: Headers from Claws-Mail
64 Summary(pl): Pliki nag³ówkowe programu Claws-Mail
65 Group: X11/Applications/Networking
66 Requires: %{name} = %{version}-%{release}
67 Requires: gpgme-devel >= 1:0.4.5
68 Requires: libetpan-devel >= 0.49
69 Requires: openssl-devel >= 0.9.7d
70 Provides: sylpheed-claws-devel
71 Obsoletes: sylpheed-claws-devel
74 Claws-Mail development package.
76 %description devel -l pl
77 Pliki nag³ówkowe programu Claws-Mail.
80 Summary: Special plugins for Claws-Mail (metapackage)
81 Summary(pl): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
82 Group: X11/Applications/Networking
83 Requires: %{name} = %{version}-%{release}
84 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
85 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
86 Requires: %{name}-plugin-dillo = %{version}-%{release}
88 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
89 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
91 Requires: %{name}-plugin-spamassassin = %{version}-%{release}
92 Requires: %{name}-plugin-trayicon = %{version}-%{release}
93 Provides: sylpheed-claws-plugins = %{version}
94 Obsoletes: sylpheed-claws-plugins
97 This is collection of some usefull plugins for Claws-Mail
100 %description plugins -l pl
101 Jest to zbiór kilku dodatkowych wtyczek powiêkszaj±cych mo¿liwo¶ci
102 Claws-Mail (metapakiet).
104 %package plugin-bogofilter
105 Summary: Bogofilter plugin for Claws-Mail
106 Summary(pl): Wtyczka bogofilter dla Claws-Mail
107 Group: X11/Applications/Networking
108 Requires: %{name} = %{version}-%{release}
110 Provides: sylpheed-claws-plugin-bogofilter
111 Obsoletes: sylpheed-claws-plugin-bogofilter
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.
118 %description plugin-bogofilter -l pl
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
124 %package plugin-clamav
125 Summary: clamav plugin for Claws-Mail
126 Summary(pl): Wtyczka clamav dla Claws-Mail
127 Group: X11/Applications/Networking
128 Requires: %{name} = %{version}-%{release}
129 Provides: sylpheed-claws-plugin-clamav
130 Obsoletes: sylpheed-claws-plugin-clamav
131 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
133 %description plugin-clamav
134 This plugin enables the scanning of message attachments in mail
135 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
136 can optionally delete the mail or save it to a designated folder.
138 %description plugin-clamav -l pl
139 Ta wtyczka pozwala na lokalne skanowanie za³±czników z poczty
140 otrzymanej przez POP, IMAP lub znajduj±cej siê w lokalnych skrzynkach.
141 Opcjonalnie mo¿e usuwaæ lub zapisywaæ zainfekowane listy w
142 przeznaczonym do tego folderze.
144 %package plugin-dillo
145 Summary: dillo plugin for Claws-Mail
146 Summary(pl): Wtyczka dillo dla Claws-Mail
147 Group: X11/Applications/Networking
148 Requires: %{name} = %{version}-%{release}
150 Provides: sylpheed-claws-plugin-dillo
151 Obsoletes: sylpheed-claws-plugin-dillo
152 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
154 %description plugin-dillo
155 This plugin enables the viewing of html messages using the Dillo web
158 %description plugin-dillo -l pl
159 Wtyczka pozwalaj±ca na przegl±danie listów pisanych w HTML przy pomocy
162 %package plugin-pgpcore
163 Summary: PGP/Core plugin for Claws-Mail
164 Summary(pl): Wtyczka PGP/Core dla Claws-Mail
165 Group: X11/Applications/Networking
166 Requires: %{name} = %{version}-%{release}
167 Provides: sylpheed-claws-plugin-pgpcore
168 Obsoletes: sylpheed-claws-plugin-pgpcore
169 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
171 %description plugin-pgpcore
172 This plugin handles core PGP functions.
174 %description plugin-pgpcore -l pl
175 Wtyczka obs³uguj±ca podstawowe funkcje PGP.
177 %package plugin-pgpinline
178 Summary: PGP/Inline plugin for Claws-Mail
179 Summary(pl): Wtyczka PGP/Inline dla Claws-Mail
180 Group: X11/Applications/Networking
181 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
182 Provides: sylpheed-claws-plugin-pgpinline
183 Obsoletes: sylpheed-claws-plugin-pgpinline
184 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
186 %description plugin-pgpinline
187 This plugin handles PGP/Inline signed and/or encrypted mails. It can
188 decrypt mails, verify signatures or sign and encrypt your own mails.
190 %description plugin-pgpinline -l pl
191 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/Inline. Potrafi
192 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
195 %package plugin-pgpmime
196 Summary: PGP/MIME plugin for Claws-Mail
197 Summary(pl): Wtyczka PGP/MIME dla Claws-Mail
198 Group: X11/Applications/Networking
199 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
200 Provides: sylpheed-claws-plugin-pgpmime
201 Obsoletes: sylpheed-claws-plugin-pgpmime
202 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
204 %description plugin-pgpmime
205 This plugin handles PGP/MIME signed and/or encrypted mails. It can
206 decrypt mails, verify signatures or sign and encrypt your own mails.
208 %description plugin-pgpmime -l pl
209 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/MIME. Potrafi
210 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
213 %package plugin-spamassassin
214 Summary: spamassassin plugin for Claws-Mail
215 Summary(pl): Wtyczka spamassassin dla Claws-Mail
216 Group: X11/Applications/Networking
217 Requires: %{name} = %{version}-%{release}
218 Provides: sylpheed-claws-plugin-spamassassin
219 Obsoletes: sylpheed-claws-plugin-spamassassin
220 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
222 %description plugin-spamassassin
223 This plugin enables the scanning of incoming mail received from a POP,
224 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
225 mail identified as spam or save it to a designated folder, and also
226 can be used to train a local Spamassassin or a remote one.
228 %description plugin-spamassassin -l pl
229 Wtyczka pozwalaj±ca na skanowanie SpamAssassinem poczty przychodz±cej
230 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
231 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
232 folderze. Mo¿e te¿ by¿ u¿ywana do "uczenia" lokalnego lub zdalnego
235 %package plugin-trayicon
236 Summary: trayicon plugin for Claws-Mail
237 Summary(pl): Wtyczka trayicon dla Claws-Mail
238 Group: X11/Applications/Networking
239 Requires: %{name} = %{version}-%{release}
240 Provides: sylpheed-claws-plugin-trayicon
241 Obsoletes: sylpheed-claws-plugin-trayicon
242 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
244 %description plugin-trayicon
245 This plugin places an icon in the system tray that indicates whether
246 you have any new mail. A tooltip also shows the current new, unread
247 and total number of messages, and a contextual menu allows the most
250 %description plugin-trayicon -l pl
251 Wtyczka umieszczaj±ca w tacce systemowej ikonê informuj±c± o nadej¶ciu
252 nowej poczty. Ikona wy¶wietla dane na temat wiadomo¶ci (ilo¶æ nowych,
253 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywaæ
254 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%{_docdir}/%{name}/RELEASE_NOTES
304 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
309 rm -rf $RPM_BUILD_ROOT
312 %update_icon_cache hicolor
315 %update_icon_cache hicolor
317 %files -f %{name}.lang
318 %defattr(644,root,root,755)
319 %doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
320 %{_mandir}/man1/%{name}.1*
321 %attr(755,root,root) %{_bindir}/*
322 %dir %{_datadir}/%{name}
323 %dir %{_docdir}/%{name}
324 %dir %{_docdir}/%{name}/manual
325 %dir %{_datadir}/%{name}/themes
326 %dir %{_libdir}/%{name}
327 %dir %{_libdir}/%{name}/plugins
328 %{_docdir}/%{name}/manual/en
329 %lang(es) %{_docdir}/%{name}/manual/es
330 %lang(fr) %{_docdir}/%{name}/manual/fr
331 %lang(pl) %{_docdir}/%{name}/manual/pl
332 %{_desktopdir}/%{name}.desktop
333 %{_pixmapsdir}/%{name}.png
334 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
337 %defattr(644,root,root,755)
338 %{_includedir}/%{name}
339 %{_pkgconfigdir}/*.pc
342 %defattr(644,root,root,755)
344 %files plugin-bogofilter
345 %defattr(644,root,root,755)
346 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
350 %defattr(644,root,root,755)
351 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
355 %defattr(644,root,root,755)
356 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
359 %files plugin-pgpcore
360 %defattr(644,root,root,755)
361 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
363 %files plugin-pgpinline
364 %defattr(644,root,root,755)
365 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
367 %files plugin-pgpmime
368 %defattr(644,root,root,755)
369 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
372 %files plugin-spamassassin
373 %defattr(644,root,root,755)
374 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
376 %files plugin-trayicon
377 %defattr(644,root,root,755)
378 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so