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: 3f99b79fce9d7e15ec6874582231b41e
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: gdk-pixbuf-devel >= 0.8
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: imlib-devel >= 1.9
36 BuildRequires: libetpan-devel >= 0.48
37 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
38 BuildRequires: libltdl-devel
39 BuildRequires: libtool
40 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
41 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
42 %{?with_jpilot:BuildRequires: pilot-link-devel}
43 BuildRequires: pkgconfig
44 BuildRequires: rpmbuild(macros) >= 1.311
45 BuildRequires: startup-notification-devel >= 0.5
46 Requires(post,postun): gtk+2
47 Requires(post,postun): hicolor-icon-theme
48 Provides: sylpheed-claws
50 Obsoletes: sylpheed-claws
51 Obsoletes: sylpheed-gtk2
52 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 This program is an X based fast e-mail client which has features same
56 as orginal Sylpheed but with new/improved features. Some of new stuff
57 is really cool and useable.
60 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
61 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
65 Summary: Headers from Claws-Mail
66 Summary(pl): Pliki nag³ówkowe programu Claws-Mail
67 Group: X11/Applications/Networking
68 Requires: %{name} = %{version}-%{release}
69 Requires: gpgme-devel >= 1:0.4.5
70 Requires: libetpan-devel >= 0.48
71 Requires: openssl-devel >= 0.9.7d
72 Provides: sylpheed-claws-devel
73 Obsoletes: sylpheed-claws-devel
76 Claws-Mail development package.
78 %description devel -l pl
79 Pliki nag³ówkowe programu Claws-Mail.
82 Summary: Special plugins for Claws-Mail (metapackage)
83 Summary(pl): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
84 Group: X11/Applications/Networking
85 Requires: %{name} = %{version}-%{release}
86 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
87 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
88 Requires: %{name}-plugin-dillo = %{version}-%{release}
90 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
91 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
93 Requires: %{name}-plugin-spamassassin = %{version}-%{release}
94 Requires: %{name}-plugin-trayicon = %{version}-%{release}
95 Provides: sylpheed-claws-plugins = %{version}
96 Obsoletes: sylpheed-claws-plugins
99 This is collection of some usefull plugins for Claws-Mail
102 %description plugins -l pl
103 Jest to zbiór kilku dodatkowych wtyczek powiêkszaj±cych mo¿liwo¶ci
104 Claws-Mail (metapakiet).
106 %package plugin-bogofilter
107 Summary: Bogofilter plugin for Claws-Mail
108 Summary(pl): Wtyczka bogofilter dla Claws-Mail
109 Group: X11/Applications/Networking
110 Requires: %{name} = %{version}-%{release}
112 Provides: sylpheed-claws-plugin-bogofilter
113 Obsoletes: sylpheed-claws-plugin-bogofilter
115 %description plugin-bogofilter
116 This plugin enables the scanning of incoming mail received from a POP,
117 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
118 identified as spam or save it to a designated folder.
120 %description plugin-bogofilter -l pl
121 Wtyczka pozwalaj±ca na skanowanie bogofilterem poczty przychodz±cej
122 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
123 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
126 %package plugin-clamav
127 Summary: clamav plugin for Claws-Mail
128 Summary(pl): Wtyczka clamav dla Claws-Mail
129 Group: X11/Applications/Networking
130 Requires: %{name} = %{version}-%{release}
131 Provides: sylpheed-claws-plugin-clamav
132 Obsoletes: sylpheed-claws-plugin-clamav
133 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
135 %description plugin-clamav
136 This plugin enables the scanning of message attachments in mail
137 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
138 can optionally delete the mail or save it to a designated folder.
140 %description plugin-clamav -l pl
141 Ta wtyczka pozwala na lokalne skanowanie za³±czników z poczty
142 otrzymanej przez POP, IMAP lub znajduj±cej siê w lokalnych skrzynkach.
143 Opcjonalnie mo¿e usuwaæ lub zapisywaæ zainfekowane listy w
144 przeznaczonym do tego folderze.
146 %package plugin-dillo
147 Summary: dillo plugin for Claws-Mail
148 Summary(pl): Wtyczka dillo dla Claws-Mail
149 Group: X11/Applications/Networking
150 Requires: %{name} = %{version}-%{release}
152 Provides: sylpheed-claws-plugin-dillo
153 Obsoletes: sylpheed-claws-plugin-dillo
154 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
156 %description plugin-dillo
157 This plugin enables the viewing of html messages using the Dillo web
160 %description plugin-dillo -l pl
161 Wtyczka pozwalaj±ca na przegl±danie listów pisanych w HTML przy pomocy
164 %package plugin-pgpcore
165 Summary: PGP/Core plugin for Claws-Mail
166 Summary(pl): Wtyczka PGP/Core dla Claws-Mail
167 Group: X11/Applications/Networking
168 Requires: %{name} = %{version}-%{release}
169 Provides: sylpheed-claws-plugin-pgpcore
170 Obsoletes: sylpheed-claws-plugin-pgpcore
171 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
173 %description plugin-pgpcore
174 This plugin handles core PGP functions.
176 %description plugin-pgpcore -l pl
177 Wtyczka obs³uguj±ca podstawowe funkcje PGP.
179 %package plugin-pgpinline
180 Summary: PGP/Inline plugin for Claws-Mail
181 Summary(pl): Wtyczka PGP/Inline dla Claws-Mail
182 Group: X11/Applications/Networking
183 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
184 Provides: sylpheed-claws-plugin-pgpinline
185 Obsoletes: sylpheed-claws-plugin-pgpinline
186 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
188 %description plugin-pgpinline
189 This plugin handles PGP/Inline signed and/or encrypted mails. It can
190 decrypt mails, verify signatures or sign and encrypt your own mails.
192 %description plugin-pgpinline -l pl
193 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/Inline. Potrafi
194 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
197 %package plugin-pgpmime
198 Summary: PGP/MIME plugin for Claws-Mail
199 Summary(pl): Wtyczka PGP/MIME dla Claws-Mail
200 Group: X11/Applications/Networking
201 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
202 Provides: sylpheed-claws-plugin-pgpmime
203 Obsoletes: sylpheed-claws-plugin-pgpmime
204 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
206 %description plugin-pgpmime
207 This plugin handles PGP/MIME signed and/or encrypted mails. It can
208 decrypt mails, verify signatures or sign and encrypt your own mails.
210 %description plugin-pgpmime -l pl
211 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/MIME. Potrafi
212 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
215 %package plugin-spamassassin
216 Summary: spamassassin plugin for Claws-Mail
217 Summary(pl): Wtyczka spamassassin dla Claws-Mail
218 Group: X11/Applications/Networking
219 Requires: %{name} = %{version}-%{release}
220 Provides: sylpheed-claws-plugin-spamassassin
221 Obsoletes: sylpheed-claws-plugin-spamassassin
222 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
224 %description plugin-spamassassin
225 This plugin enables the scanning of incoming mail received from a POP,
226 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
227 mail identified as spam or save it to a designated folder, and also
228 can be used to train a local Spamassassin or a remote one.
230 %description plugin-spamassassin -l pl
231 Wtyczka pozwalaj±ca na skanowanie SpamAssassinem poczty przychodz±cej
232 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
233 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
234 folderze. Mo¿e te¿ by¿ u¿ywana do "uczenia" lokalnego lub zdalnego
237 %package plugin-trayicon
238 Summary: trayicon plugin for Claws-Mail
239 Summary(pl): Wtyczka trayicon dla Claws-Mail
240 Group: X11/Applications/Networking
241 Requires: %{name} = %{version}-%{release}
242 Provides: sylpheed-claws-plugin-trayicon
243 Obsoletes: sylpheed-claws-plugin-trayicon
244 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
246 %description plugin-trayicon
247 This plugin places an icon in the system tray that indicates whether
248 you have any new mail. A tooltip also shows the current new, unread
249 and total number of messages, and a contextual menu allows the most
252 %description plugin-trayicon -l pl
253 Wtyczka umieszczaj±ca w tacce systemowej ikonê informuj±c± o nadej¶ciu
254 nowej poczty. Ikona wy¶wietla dane na temat wiadomo¶ci (ilo¶æ nowych,
255 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywaæ
256 najpopularniejsze operacje.
272 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
273 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
274 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
275 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
276 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
277 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
278 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
279 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
280 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
281 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
283 --enable-bogofilter \
284 --enable-dillo-viewer-plugin \
285 --enable-gdk-pixbuf \
288 --enable-spamassassin-plugin \
289 --enable-trayicon-plugin \
295 rm -rf $RPM_BUILD_ROOT
296 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
299 DESTDIR=$RPM_BUILD_ROOT
301 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
302 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
304 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
305 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
306 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
311 rm -rf $RPM_BUILD_ROOT
314 %update_icon_cache hicolor
317 %update_icon_cache hicolor
319 %files -f %{name}.lang
320 %defattr(644,root,root,755)
321 %doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
322 %{_mandir}/man1/%{name}.1*
323 %attr(755,root,root) %{_bindir}/*
324 %dir %{_datadir}/%{name}
325 %dir %{_docdir}/%{name}
326 %dir %{_docdir}/%{name}/manual
327 %dir %{_datadir}/%{name}/themes
328 %dir %{_libdir}/%{name}
329 %dir %{_libdir}/%{name}/plugins
330 %{_docdir}/%{name}/manual/en
331 %lang(es) %{_docdir}/%{name}/manual/es
332 %lang(fr) %{_docdir}/%{name}/manual/fr
333 %lang(pl) %{_docdir}/%{name}/manual/pl
334 %{_desktopdir}/%{name}.desktop
335 %{_pixmapsdir}/%{name}.png
336 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
339 %defattr(644,root,root,755)
340 %{_includedir}/%{name}
341 %{_pkgconfigdir}/*.pc
344 %defattr(644,root,root,755)
346 %files plugin-bogofilter
347 %defattr(644,root,root,755)
348 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
352 %defattr(644,root,root,755)
353 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
357 %defattr(644,root,root,755)
358 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
361 %files plugin-pgpcore
362 %defattr(644,root,root,755)
363 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
365 %files plugin-pgpinline
366 %defattr(644,root,root,755)
367 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
369 %files plugin-pgpmime
370 %defattr(644,root,root,755)
371 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
374 %files plugin-spamassassin
375 %defattr(644,root,root,755)
376 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
378 %files plugin-trayicon
379 %defattr(644,root,root,755)
380 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so