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: c0e2718d4bcd932709a6e1bcc910c47a
21 Source1: %{name}.desktop
22 Patch0: %{name}-pc_cflags_sequence.patch
23 URL: http://www.claws-mail.net/
24 BuildRequires: aspell >= 2:0.50
25 BuildRequires: aspell-devel >= 2:0.50
26 BuildRequires: autoconf >= 2.60
27 BuildRequires: automake
28 BuildRequires: bzip2-devel
29 %{?with_clamav:BuildRequires: clamav-devel}
30 %{?with_compface:BuildRequires: compface-devel}
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: libetpan-devel >= 0.49
36 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
37 BuildRequires: libltdl-devel
38 BuildRequires: libtool
39 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
40 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
41 %{?with_jpilot:BuildRequires: pilot-link-devel}
42 BuildRequires: pkgconfig
43 BuildRequires: rpmbuild(macros) >= 1.311
44 BuildRequires: startup-notification-devel >= 0.5
45 Requires(post,postun): gtk+2
46 Requires(post,postun): hicolor-icon-theme
47 Provides: sylpheed-claws
48 Obsoletes: claws-mail-plugin-etpan-privacy
49 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.
273 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
274 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
275 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
276 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
277 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
278 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
279 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
280 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
281 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
282 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
284 --enable-bogofilter \
285 --enable-dillo-viewer-plugin \
286 --enable-gdk-pixbuf \
289 --enable-spamassassin-plugin \
290 --enable-trayicon-plugin \
296 rm -rf $RPM_BUILD_ROOT
297 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
300 DESTDIR=$RPM_BUILD_ROOT
302 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
303 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
305 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
306 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
307 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
312 rm -rf $RPM_BUILD_ROOT
315 %update_icon_cache hicolor
318 %update_icon_cache hicolor
320 %files -f %{name}.lang
321 %defattr(644,root,root,755)
322 %doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
323 %{_mandir}/man1/%{name}.1*
324 %attr(755,root,root) %{_bindir}/*
325 %dir %{_datadir}/%{name}
326 %dir %{_docdir}/%{name}
327 %dir %{_docdir}/%{name}/manual
328 %dir %{_datadir}/%{name}/themes
329 %dir %{_libdir}/%{name}
330 %dir %{_libdir}/%{name}/plugins
331 %{_docdir}/%{name}/manual/en
332 %lang(es) %{_docdir}/%{name}/manual/es
333 %lang(fr) %{_docdir}/%{name}/manual/fr
334 %lang(pl) %{_docdir}/%{name}/manual/pl
335 %{_desktopdir}/%{name}.desktop
336 %{_pixmapsdir}/%{name}.png
337 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
340 %defattr(644,root,root,755)
341 %{_includedir}/%{name}
342 %{_pkgconfigdir}/*.pc
345 %defattr(644,root,root,755)
347 %files plugin-bogofilter
348 %defattr(644,root,root,755)
349 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
353 %defattr(644,root,root,755)
354 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
358 %defattr(644,root,root,755)
359 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
362 %files plugin-pgpcore
363 %defattr(644,root,root,755)
364 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
366 %files plugin-pgpinline
367 %defattr(644,root,root,755)
368 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
370 %files plugin-pgpmime
371 %defattr(644,root,root,755)
372 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
375 %files plugin-spamassassin
376 %defattr(644,root,root,755)
377 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
379 %files plugin-trayicon
380 %defattr(644,root,root,755)
381 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so