3 %bcond_without compface # build without compface support
4 %bcond_without gpg # build without GPG support
5 %bcond_without ipv6 # build without IPv6 support
6 %bcond_without jpilot # build without JPilot support
7 %bcond_without ldap # build without LDAP support
8 %bcond_without ssl # build without SSL support
10 Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
11 Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń
16 Group: X11/Applications/Mail
17 Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
18 # Source0-md5: 597a9a0b9d113325de6fd01500c0af98
19 Source1: %{name}.desktop
20 Patch0: %{name}-gtk_headers_fix.patch
21 URL: http://www.claws-mail.org/
22 BuildRequires: aspell >= 2:0.50
23 BuildRequires: aspell-devel >= 2:0.50
24 BuildRequires: autoconf >= 2.60
25 BuildRequires: automake
26 BuildRequires: bzip2-devel
27 %{?with_compface:BuildRequires: compface-devel}
28 BuildRequires: gettext-devel
29 BuildRequires: gmp-devel
30 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
31 BuildRequires: gtk+2-devel >= 2:2.12.8
32 BuildRequires: libetpan-devel >= 0.54
33 BuildRequires: libltdl-devel
34 BuildRequires: libtool
35 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
36 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
37 %{?with_jpilot:BuildRequires: pilot-link-devel}
38 BuildRequires: pkgconfig
39 BuildRequires: rpmbuild(macros) >= 1.311
40 BuildRequires: startup-notification-devel >= 0.5
41 Requires(post,postun): gtk+2
42 Requires(post,postun): hicolor-icon-theme
43 Requires: gtk+2 >= 2:2.12.8
44 Provides: sylpheed-claws
45 Obsoletes: claws-mail-plugin-clamav
46 Obsoletes: claws-mail-plugin-etpan-privacy
47 Obsoletes: claws-mail-plugin-maildir
48 Obsoletes: claws-mail-plugin-pdf_viewer
49 Obsoletes: sylpheed-claws
50 Obsoletes: sylpheed-claws-plugin-clamav
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.
59 %description -l pl.UTF-8
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.UTF-8): Pliki nagłówkowe programu Claws-Mail
67 Group: X11/Development/Libraries
68 Requires: %{name} = %{version}-%{release}
69 Requires: gpgme-devel >= 1:0.4.5
70 Requires: libetpan-devel >= 0.54
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.UTF-8
79 Pliki nagłówkowe programu Claws-Mail.
82 Summary: Special plugins for Claws-Mail (metapackage)
83 Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
84 Group: X11/Applications/Mail
85 Requires: %{name} = %{version}-%{release}
86 Requires: %{name}-plugin-bogofilter = %{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/Mail
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-dillo
126 Summary: dillo plugin for Claws-Mail
127 Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail
128 Group: X11/Applications/Mail
129 Requires: %{name} = %{version}-%{release}
131 Provides: sylpheed-claws-plugin-dillo
132 Obsoletes: sylpheed-claws-plugin-dillo
133 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
135 %description plugin-dillo
136 This plugin enables the viewing of html messages using the Dillo web
139 %description plugin-dillo -l pl.UTF-8
140 Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy
143 %package plugin-pgpcore
144 Summary: PGP/Core plugin for Claws-Mail
145 Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail
146 Group: X11/Applications/Mail
147 Requires: %{name} = %{version}-%{release}
148 Provides: sylpheed-claws-plugin-pgpcore
149 Obsoletes: sylpheed-claws-plugin-pgpcore
150 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
152 %description plugin-pgpcore
153 This plugin handles core PGP functions.
155 %description plugin-pgpcore -l pl.UTF-8
156 Wtyczka obsługująca podstawowe funkcje PGP.
158 %package plugin-pgpinline
159 Summary: PGP/Inline plugin for Claws-Mail
160 Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail
161 Group: X11/Applications/Mail
162 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
163 Provides: sylpheed-claws-plugin-pgpinline
164 Obsoletes: sylpheed-claws-plugin-pgpinline
165 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
167 %description plugin-pgpinline
168 This plugin handles PGP/Inline signed and/or encrypted mails. It can
169 decrypt mails, verify signatures or sign and encrypt your own mails.
171 %description plugin-pgpinline -l pl.UTF-8
172 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi
173 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
176 %package plugin-pgpmime
177 Summary: PGP/MIME plugin for Claws-Mail
178 Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail
179 Group: X11/Applications/Mail
180 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
181 Provides: sylpheed-claws-plugin-pgpmime
182 Obsoletes: sylpheed-claws-plugin-pgpmime
183 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
185 %description plugin-pgpmime
186 This plugin handles PGP/MIME signed and/or encrypted mails. It can
187 decrypt mails, verify signatures or sign and encrypt your own mails.
189 %description plugin-pgpmime -l pl.UTF-8
190 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi
191 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
194 %package plugin-spamassassin
195 Summary: spamassassin plugin for Claws-Mail
196 Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
197 Group: X11/Applications/Mail
198 Requires: %{name} = %{version}-%{release}
199 Provides: sylpheed-claws-plugin-spamassassin
200 Obsoletes: sylpheed-claws-plugin-spamassassin
201 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
203 %description plugin-spamassassin
204 This plugin enables the scanning of incoming mail received from a POP,
205 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
206 mail identified as spam or save it to a designated folder, and also
207 can be used to train a local Spamassassin or a remote one.
209 %description plugin-spamassassin -l pl.UTF-8
210 Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
211 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
212 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
213 folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
216 %package plugin-trayicon
217 Summary: trayicon plugin for Claws-Mail
218 Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
219 Group: X11/Applications/Mail
220 Requires: %{name} = %{version}-%{release}
221 Provides: sylpheed-claws-plugin-trayicon
222 Obsoletes: sylpheed-claws-plugin-trayicon
223 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
225 %description plugin-trayicon
226 This plugin places an icon in the system tray that indicates whether
227 you have any new mail. A tooltip also shows the current new, unread
228 and total number of messages, and a contextual menu allows the most
231 %description plugin-trayicon -l pl.UTF-8
232 Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
233 nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
234 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
235 najpopularniejsze operacje.
251 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
252 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
253 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
254 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
255 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
256 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
257 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
258 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
260 --enable-bogofilter-plugin \
261 --enable-dillo-viewer-plugin \
264 --enable-spamassassin-plugin \
265 --enable-trayicon-plugin \
271 rm -rf $RPM_BUILD_ROOT
272 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
275 DESTDIR=$RPM_BUILD_ROOT
277 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
278 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
280 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
281 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
282 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
287 rm -rf $RPM_BUILD_ROOT
290 %update_icon_cache hicolor
293 %update_icon_cache hicolor
295 %files -f %{name}.lang
296 %defattr(644,root,root,755)
297 %doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
298 %{_mandir}/man1/%{name}.1*
299 %attr(755,root,root) %{_bindir}/*
300 %dir %{_datadir}/%{name}
301 %dir %{_docdir}/%{name}
302 %dir %{_docdir}/%{name}/manual
303 %dir %{_datadir}/%{name}/themes
304 %dir %{_libdir}/%{name}
305 %dir %{_libdir}/%{name}/plugins
306 %{_docdir}/%{name}/manual/en
307 %lang(es) %{_docdir}/%{name}/manual/es
308 %lang(fr) %{_docdir}/%{name}/manual/fr
309 %lang(pl) %{_docdir}/%{name}/manual/pl
310 %{_desktopdir}/%{name}.desktop
311 %{_pixmapsdir}/%{name}.png
312 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
315 %defattr(644,root,root,755)
316 %{_includedir}/%{name}
317 %{_pkgconfigdir}/*.pc
320 %defattr(644,root,root,755)
322 %files plugin-bogofilter
323 %defattr(644,root,root,755)
324 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
327 %defattr(644,root,root,755)
328 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
331 %files plugin-pgpcore
332 %defattr(644,root,root,755)
333 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
335 %files plugin-pgpinline
336 %defattr(644,root,root,755)
337 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
339 %files plugin-pgpmime
340 %defattr(644,root,root,755)
341 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
344 %files plugin-spamassassin
345 %defattr(644,root,root,755)
346 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
348 %files plugin-trayicon
349 %defattr(644,root,root,755)
350 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so