2 # - clamav 0.93 api fix
5 %bcond_without clamav # build without clamav plugin
6 %bcond_without compface # build without compface support
7 %bcond_without gnomeprint # build without gnomeprint support
8 %bcond_without gpg # build without GPG support
9 %bcond_without ipv6 # build without IPv6 support
10 %bcond_without jpilot # build without JPilot support
11 %bcond_without ldap # build without LDAP support
12 %bcond_without ssl # build without SSL support
14 Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
15 Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń
20 Group: X11/Applications/Networking
21 Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
22 # Source0-md5: ec5ee743baa198c7fd707b0461b6c68a
23 Source1: %{name}.desktop
24 URL: http://www.claws-mail.org/
25 BuildRequires: aspell >= 2:0.50
26 BuildRequires: aspell-devel >= 2:0.50
27 BuildRequires: autoconf >= 2.60
28 BuildRequires: automake
29 BuildRequires: bzip2-devel
30 %{?with_clamav:BuildRequires: clamav-devel}
31 %{?with_compface:BuildRequires: compface-devel}
32 BuildRequires: gettext-devel
33 BuildRequires: gmp-devel
34 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
35 BuildRequires: gtk+2-devel >= 2:2.6.0
36 BuildRequires: libetpan-devel >= 0.49
37 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
38 BuildRequires: libltdl-devel
39 BuildRequires: libtool
40 %{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
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
49 Obsoletes: claws-mail-plugin-etpan-privacy
50 Obsoletes: claws-mail-plugin-maildir
51 Obsoletes: sylpheed-claws
52 Obsoletes: sylpheed-gtk2
53 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56 This program is an X based fast e-mail client which has features same
57 as orginal Sylpheed but with new/improved features. Some of new stuff
58 is really cool and useable.
60 %description -l pl.UTF-8
61 Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed
62 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę
66 Summary: Headers from Claws-Mail
67 Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail
68 Group: X11/Applications/Networking
69 Requires: %{name} = %{version}-%{release}
70 Requires: gpgme-devel >= 1:0.4.5
71 Requires: libetpan-devel >= 0.49
72 Requires: openssl-devel >= 0.9.7d
73 Provides: sylpheed-claws-devel
74 Obsoletes: sylpheed-claws-devel
77 Claws-Mail development package.
79 %description devel -l pl.UTF-8
80 Pliki nagłówkowe programu Claws-Mail.
83 Summary: Special plugins for Claws-Mail (metapackage)
84 Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
85 Group: X11/Applications/Networking
86 Requires: %{name} = %{version}-%{release}
87 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
88 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
89 Requires: %{name}-plugin-dillo = %{version}-%{release}
91 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
92 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
94 Requires: %{name}-plugin-spamassassin = %{version}-%{release}
95 Requires: %{name}-plugin-trayicon = %{version}-%{release}
96 Provides: sylpheed-claws-plugins = %{version}
97 Obsoletes: sylpheed-claws-plugins
100 This is collection of some usefull plugins for Claws-Mail
103 %description plugins -l pl.UTF-8
104 Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości
105 Claws-Mail (metapakiet).
107 %package plugin-bogofilter
108 Summary: Bogofilter plugin for Claws-Mail
109 Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail
110 Group: X11/Applications/Networking
111 Requires: %{name} = %{version}-%{release}
113 Provides: sylpheed-claws-plugin-bogofilter
114 Obsoletes: sylpheed-claws-plugin-bogofilter
116 %description plugin-bogofilter
117 This plugin enables the scanning of incoming mail received from a POP,
118 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
119 identified as spam or save it to a designated folder.
121 %description plugin-bogofilter -l pl.UTF-8
122 Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej
123 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
124 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
127 %package plugin-clamav
128 Summary: clamav plugin for Claws-Mail
129 Summary(pl.UTF-8): Wtyczka clamav dla Claws-Mail
130 Group: X11/Applications/Networking
131 Requires: %{name} = %{version}-%{release}
132 Provides: sylpheed-claws-plugin-clamav
133 Obsoletes: sylpheed-claws-plugin-clamav
134 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
136 %description plugin-clamav
137 This plugin enables the scanning of message attachments in mail
138 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
139 can optionally delete the mail or save it to a designated folder.
141 %description plugin-clamav -l pl.UTF-8
142 Ta wtyczka pozwala na lokalne skanowanie załączników z poczty
143 otrzymanej przez POP, IMAP lub znajdującej się w lokalnych skrzynkach.
144 Opcjonalnie może usuwać lub zapisywać zainfekowane listy w
145 przeznaczonym do tego folderze.
147 %package plugin-dillo
148 Summary: dillo plugin for Claws-Mail
149 Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail
150 Group: X11/Applications/Networking
151 Requires: %{name} = %{version}-%{release}
153 Provides: sylpheed-claws-plugin-dillo
154 Obsoletes: sylpheed-claws-plugin-dillo
155 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
157 %description plugin-dillo
158 This plugin enables the viewing of html messages using the Dillo web
161 %description plugin-dillo -l pl.UTF-8
162 Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy
165 %package plugin-pgpcore
166 Summary: PGP/Core plugin for Claws-Mail
167 Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail
168 Group: X11/Applications/Networking
169 Requires: %{name} = %{version}-%{release}
170 Provides: sylpheed-claws-plugin-pgpcore
171 Obsoletes: sylpheed-claws-plugin-pgpcore
172 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
174 %description plugin-pgpcore
175 This plugin handles core PGP functions.
177 %description plugin-pgpcore -l pl.UTF-8
178 Wtyczka obsługująca podstawowe funkcje PGP.
180 %package plugin-pgpinline
181 Summary: PGP/Inline plugin for Claws-Mail
182 Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail
183 Group: X11/Applications/Networking
184 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
185 Provides: sylpheed-claws-plugin-pgpinline
186 Obsoletes: sylpheed-claws-plugin-pgpinline
187 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
189 %description plugin-pgpinline
190 This plugin handles PGP/Inline signed and/or encrypted mails. It can
191 decrypt mails, verify signatures or sign and encrypt your own mails.
193 %description plugin-pgpinline -l pl.UTF-8
194 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi
195 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
198 %package plugin-pgpmime
199 Summary: PGP/MIME plugin for Claws-Mail
200 Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail
201 Group: X11/Applications/Networking
202 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
203 Provides: sylpheed-claws-plugin-pgpmime
204 Obsoletes: sylpheed-claws-plugin-pgpmime
205 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
207 %description plugin-pgpmime
208 This plugin handles PGP/MIME signed and/or encrypted mails. It can
209 decrypt mails, verify signatures or sign and encrypt your own mails.
211 %description plugin-pgpmime -l pl.UTF-8
212 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi
213 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
216 %package plugin-spamassassin
217 Summary: spamassassin plugin for Claws-Mail
218 Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
219 Group: X11/Applications/Networking
220 Requires: %{name} = %{version}-%{release}
221 Provides: sylpheed-claws-plugin-spamassassin
222 Obsoletes: sylpheed-claws-plugin-spamassassin
223 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
225 %description plugin-spamassassin
226 This plugin enables the scanning of incoming mail received from a POP,
227 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
228 mail identified as spam or save it to a designated folder, and also
229 can be used to train a local Spamassassin or a remote one.
231 %description plugin-spamassassin -l pl.UTF-8
232 Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
233 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
234 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
235 folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
238 %package plugin-trayicon
239 Summary: trayicon plugin for Claws-Mail
240 Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
241 Group: X11/Applications/Networking
242 Requires: %{name} = %{version}-%{release}
243 Provides: sylpheed-claws-plugin-trayicon
244 Obsoletes: sylpheed-claws-plugin-trayicon
245 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
247 %description plugin-trayicon
248 This plugin places an icon in the system tray that indicates whether
249 you have any new mail. A tooltip also shows the current new, unread
250 and total number of messages, and a contextual menu allows the most
253 %description plugin-trayicon -l pl.UTF-8
254 Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
255 nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
256 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
257 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