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.UTF-8): 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: acbfd919f7b633d51e96a0419ac07802
21 Source1: %{name}.desktop
22 URL: http://www.claws-mail.net/
23 BuildRequires: aspell >= 2:0.50
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.4.6}
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
47 Obsoletes: claws-mail-plugin-etpan-privacy
48 Obsoletes: claws-mail-plugin-maildir
49 Obsoletes: sylpheed-claws
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.
58 %description -l pl.UTF-8
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 Claws-Mail
65 Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail
66 Group: X11/Applications/Networking
67 Requires: %{name} = %{version}-%{release}
68 Requires: gpgme-devel >= 1:0.4.5
69 Requires: libetpan-devel >= 0.49
70 Requires: openssl-devel >= 0.9.7d
71 Provides: sylpheed-claws-devel
72 Obsoletes: sylpheed-claws-devel
75 Claws-Mail development package.
77 %description devel -l pl.UTF-8
78 Pliki nagłówkowe programu Claws-Mail.
81 Summary: Special plugins for Claws-Mail (metapackage)
82 Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
83 Group: X11/Applications/Networking
84 Requires: %{name} = %{version}-%{release}
85 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
86 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
87 Requires: %{name}-plugin-dillo = %{version}-%{release}
89 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
90 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
92 Requires: %{name}-plugin-spamassassin = %{version}-%{release}
93 Requires: %{name}-plugin-trayicon = %{version}-%{release}
94 Provides: sylpheed-claws-plugins = %{version}
95 Obsoletes: sylpheed-claws-plugins
98 This is collection of some usefull plugins for Claws-Mail
101 %description plugins -l pl.UTF-8
102 Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości
103 Claws-Mail (metapakiet).
105 %package plugin-bogofilter
106 Summary: Bogofilter plugin for Claws-Mail
107 Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail
108 Group: X11/Applications/Networking
109 Requires: %{name} = %{version}-%{release}
111 Provides: sylpheed-claws-plugin-bogofilter
112 Obsoletes: sylpheed-claws-plugin-bogofilter
114 %description plugin-bogofilter
115 This plugin enables the scanning of incoming mail received from a POP,
116 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
117 identified as spam or save it to a designated folder.
119 %description plugin-bogofilter -l pl.UTF-8
120 Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej
121 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
122 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
125 %package plugin-clamav
126 Summary: clamav plugin for Claws-Mail
127 Summary(pl.UTF-8): Wtyczka clamav dla Claws-Mail
128 Group: X11/Applications/Networking
129 Requires: %{name} = %{version}-%{release}
130 Provides: sylpheed-claws-plugin-clamav
131 Obsoletes: sylpheed-claws-plugin-clamav
132 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
134 %description plugin-clamav
135 This plugin enables the scanning of message attachments in mail
136 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
137 can optionally delete the mail or save it to a designated folder.
139 %description plugin-clamav -l pl.UTF-8
140 Ta wtyczka pozwala na lokalne skanowanie załączników z poczty
141 otrzymanej przez POP, IMAP lub znajdującej się w lokalnych skrzynkach.
142 Opcjonalnie może usuwać lub zapisywać zainfekowane listy w
143 przeznaczonym do tego folderze.
145 %package plugin-dillo
146 Summary: dillo plugin for Claws-Mail
147 Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail
148 Group: X11/Applications/Networking
149 Requires: %{name} = %{version}-%{release}
151 Provides: sylpheed-claws-plugin-dillo
152 Obsoletes: sylpheed-claws-plugin-dillo
153 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
155 %description plugin-dillo
156 This plugin enables the viewing of html messages using the Dillo web
159 %description plugin-dillo -l pl.UTF-8
160 Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy
163 %package plugin-pgpcore
164 Summary: PGP/Core plugin for Claws-Mail
165 Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail
166 Group: X11/Applications/Networking
167 Requires: %{name} = %{version}-%{release}
168 Provides: sylpheed-claws-plugin-pgpcore
169 Obsoletes: sylpheed-claws-plugin-pgpcore
170 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
172 %description plugin-pgpcore
173 This plugin handles core PGP functions.
175 %description plugin-pgpcore -l pl.UTF-8
176 Wtyczka obsługująca podstawowe funkcje PGP.
178 %package plugin-pgpinline
179 Summary: PGP/Inline plugin for Claws-Mail
180 Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail
181 Group: X11/Applications/Networking
182 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
183 Provides: sylpheed-claws-plugin-pgpinline
184 Obsoletes: sylpheed-claws-plugin-pgpinline
185 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
187 %description plugin-pgpinline
188 This plugin handles PGP/Inline signed and/or encrypted mails. It can
189 decrypt mails, verify signatures or sign and encrypt your own mails.
191 %description plugin-pgpinline -l pl.UTF-8
192 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi
193 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
196 %package plugin-pgpmime
197 Summary: PGP/MIME plugin for Claws-Mail
198 Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail
199 Group: X11/Applications/Networking
200 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
201 Provides: sylpheed-claws-plugin-pgpmime
202 Obsoletes: sylpheed-claws-plugin-pgpmime
203 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
205 %description plugin-pgpmime
206 This plugin handles PGP/MIME signed and/or encrypted mails. It can
207 decrypt mails, verify signatures or sign and encrypt your own mails.
209 %description plugin-pgpmime -l pl.UTF-8
210 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi
211 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
214 %package plugin-spamassassin
215 Summary: spamassassin plugin for Claws-Mail
216 Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
217 Group: X11/Applications/Networking
218 Requires: %{name} = %{version}-%{release}
219 Provides: sylpheed-claws-plugin-spamassassin
220 Obsoletes: sylpheed-claws-plugin-spamassassin
221 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
223 %description plugin-spamassassin
224 This plugin enables the scanning of incoming mail received from a POP,
225 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
226 mail identified as spam or save it to a designated folder, and also
227 can be used to train a local Spamassassin or a remote one.
229 %description plugin-spamassassin -l pl.UTF-8
230 Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
231 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
232 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
233 folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
236 %package plugin-trayicon
237 Summary: trayicon plugin for Claws-Mail
238 Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
239 Group: X11/Applications/Networking
240 Requires: %{name} = %{version}-%{release}
241 Provides: sylpheed-claws-plugin-trayicon
242 Obsoletes: sylpheed-claws-plugin-trayicon
243 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
245 %description plugin-trayicon
246 This plugin places an icon in the system tray that indicates whether
247 you have any new mail. A tooltip also shows the current new, unread
248 and total number of messages, and a contextual menu allows the most
251 %description plugin-trayicon -l pl.UTF-8
252 Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
253 nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
254 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
255 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