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 tls # build without gnuTLS 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://downloads.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
18 # Source0-md5: 2f9d2dcabf84e312cfeb56efa799b5b3
19 Source1: %{name}.desktop
20 URL: http://www.claws-mail.org/
21 BuildRequires: autoconf >= 2.60
22 BuildRequires: automake
23 BuildRequires: bzip2-devel
24 %{?with_compface:BuildRequires: compface-devel}
25 BuildRequires: gettext-devel
26 BuildRequires: gmp-devel
27 %{?with_tls:BuildRequires: gnutls-devel >= 2.6.0}
28 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
29 BuildRequires: gtk+2-devel >= 2:2.12.8
30 BuildRequires: libetpan-devel >= 0.57
31 BuildRequires: liblockfile-devel
32 BuildRequires: libltdl-devel
33 BuildRequires: libtool
34 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
35 %{?with_jpilot:BuildRequires: pilot-link-devel}
36 BuildRequires: pkgconfig
37 BuildRequires: rpmbuild(macros) >= 1.311
38 BuildRequires: startup-notification-devel >= 0.5
39 Requires(post,postun): gtk-update-icon-cache
40 Requires(post,postun): hicolor-icon-theme
41 Requires: gtk+2 >= 2:2.12.8
42 Provides: sylpheed-claws
43 Obsoletes: claws-mail-plugin-clamav
44 Obsoletes: claws-mail-plugin-etpan-privacy
45 Obsoletes: claws-mail-plugin-maildir
46 Obsoletes: claws-mail-plugin-pdf_viewer
47 Obsoletes: sylpheed-claws
48 Obsoletes: sylpheed-claws-plugin-clamav
49 Obsoletes: sylpheed-gtk2
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 This program is an X based fast e-mail client which has features same
54 as orginal Sylpheed but with new/improved features. Some of new stuff
55 is really cool and useable.
57 %description -l pl.UTF-8
58 Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed
59 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę
63 Summary: Headers from Claws-Mail
64 Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail
65 Group: X11/Development/Libraries
66 Requires: %{name} = %{version}-%{release}
67 Requires: gnutls-devel >= 2.6.0
68 Requires: gpgme-devel >= 1:0.4.5
69 Requires: libetpan-devel >= 0.54
70 Provides: sylpheed-claws-devel
71 Obsoletes: sylpheed-claws-devel
74 Claws-Mail development package.
76 %description devel -l pl.UTF-8
77 Pliki nagłówkowe programu Claws-Mail.
80 Summary: Special plugins for Claws-Mail (metapackage)
81 Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
82 Group: X11/Applications/Mail
83 Requires: %{name} = %{version}-%{release}
84 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
85 Requires: %{name}-plugin-dillo = %{version}-%{release}
87 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
88 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
90 Requires: %{name}-plugin-smime = %{version}-%{release}
91 Requires: %{name}-plugin-spamassassin = %{version}-%{release}
92 Requires: %{name}-plugin-trayicon = %{version}-%{release}
93 Provides: sylpheed-claws-plugins = %{version}
94 Obsoletes: sylpheed-claws-plugins
97 This is collection of some usefull plugins for Claws-Mail
100 %description plugins -l pl.UTF-8
101 Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości
102 Claws-Mail (metapakiet).
104 %package plugin-bogofilter
105 Summary: Bogofilter plugin for Claws-Mail
106 Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail
107 Group: X11/Applications/Mail
108 Requires: %{name} = %{version}-%{release}
110 Provides: sylpheed-claws-plugin-bogofilter
111 Obsoletes: sylpheed-claws-plugin-bogofilter
113 %description plugin-bogofilter
114 This plugin enables the scanning of incoming mail received from a POP,
115 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
116 identified as spam or save it to a designated folder.
118 %description plugin-bogofilter -l pl.UTF-8
119 Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej
120 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
121 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
124 %package plugin-dillo
125 Summary: dillo plugin for Claws-Mail
126 Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail
127 Group: X11/Applications/Mail
128 Requires: %{name} = %{version}-%{release}
130 Provides: sylpheed-claws-plugin-dillo
131 Obsoletes: sylpheed-claws-plugin-dillo
132 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
134 %description plugin-dillo
135 This plugin enables the viewing of html messages using the Dillo web
138 %description plugin-dillo -l pl.UTF-8
139 Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy
142 %package plugin-pgpcore
143 Summary: PGP/Core plugin for Claws-Mail
144 Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail
145 Group: X11/Applications/Mail
146 Requires: %{name} = %{version}-%{release}
147 Provides: sylpheed-claws-plugin-pgpcore
148 Obsoletes: sylpheed-claws-plugin-pgpcore
149 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
151 %description plugin-pgpcore
152 This plugin handles core PGP functions.
154 %description plugin-pgpcore -l pl.UTF-8
155 Wtyczka obsługująca podstawowe funkcje PGP.
157 %package plugin-pgpinline
158 Summary: PGP/Inline plugin for Claws-Mail
159 Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail
160 Group: X11/Applications/Mail
161 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
162 Provides: sylpheed-claws-plugin-pgpinline
163 Obsoletes: sylpheed-claws-plugin-pgpinline
164 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
166 %description plugin-pgpinline
167 This plugin handles PGP/Inline signed and/or encrypted mails. It can
168 decrypt mails, verify signatures or sign and encrypt your own mails.
170 %description plugin-pgpinline -l pl.UTF-8
171 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi
172 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
175 %package plugin-pgpmime
176 Summary: PGP/MIME plugin for Claws-Mail
177 Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail
178 Group: X11/Applications/Mail
179 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
180 Provides: sylpheed-claws-plugin-pgpmime
181 Obsoletes: sylpheed-claws-plugin-pgpmime
182 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
184 %description plugin-pgpmime
185 This plugin handles PGP/MIME signed and/or encrypted mails. It can
186 decrypt mails, verify signatures or sign and encrypt your own mails.
188 %description plugin-pgpmime -l pl.UTF-8
189 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi
190 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
193 %package plugin-smime
194 Summary: S/MIME plugin for Claws-Mail
195 Summary(pl.UTF-8): Wtyczka S/MIME dla Claws-Mail
196 Group: X11/Applications/Mail
197 Requires: %{name} = %{version}-%{release}
198 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
199 Provides: sylpheed-claws-plugin-smime
200 Obsoletes: sylpheed-claws-plugin-smime
202 %description plugin-smime
203 This plugin handles S/MIME signed and/or encrypted mails. You can
204 decrypt mails, verify signatures or sign and encrypt your own mails.
206 %description plugin-smime -l pl.UTF-8
207 Wtyczka obsługująca listy podpisane lub szyfrowane S/MIME. Potrafi
208 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
211 %package plugin-spamassassin
212 Summary: spamassassin plugin for Claws-Mail
213 Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
214 Group: X11/Applications/Mail
215 Requires: %{name} = %{version}-%{release}
216 Provides: sylpheed-claws-plugin-spamassassin
217 Obsoletes: sylpheed-claws-plugin-spamassassin
218 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
220 %description plugin-spamassassin
221 This plugin enables the scanning of incoming mail received from a POP,
222 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
223 mail identified as spam or save it to a designated folder, and also
224 can be used to train a local Spamassassin or a remote one.
226 %description plugin-spamassassin -l pl.UTF-8
227 Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
228 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
229 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
230 folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
233 %package plugin-trayicon
234 Summary: trayicon plugin for Claws-Mail
235 Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
236 Group: X11/Applications/Mail
237 Requires: %{name} = %{version}-%{release}
238 Provides: sylpheed-claws-plugin-trayicon
239 Obsoletes: sylpheed-claws-plugin-trayicon
240 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
242 %description plugin-trayicon
243 This plugin places an icon in the system tray that indicates whether
244 you have any new mail. A tooltip also shows the current new, unread
245 and total number of messages, and a contextual menu allows the most
248 %description plugin-trayicon -l pl.UTF-8
249 Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
250 nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
251 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
252 najpopularniejsze operacje.
260 mv -f po/{pt_PT,pt}.po
261 %{__sed} -i -e 's,pt_PT,pt,g' src/codeconv.c
262 %{__sed} -i -e 's,pt_PT,pt,g' configure
263 %{__sed} -i -e 's,pt_PT,pt,g' configure.ac
273 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
274 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
275 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
276 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
277 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
278 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
279 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
280 --%{?with_tls:en}%{!?with_tls:dis}able-gnutls \
281 --enable-bogofilter-plugin \
282 --enable-dillo-viewer-plugin \
285 --enable-spamassassin-plugin \
286 --enable-trayicon-plugin \
292 rm -rf $RPM_BUILD_ROOT
293 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
296 DESTDIR=$RPM_BUILD_ROOT
298 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
299 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
301 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
302 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
303 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{de,en,es,fr,pl}/*.{pdf,ps,html,txt}
308 rm -rf $RPM_BUILD_ROOT
311 %update_icon_cache hicolor
314 %update_icon_cache hicolor
316 %files -f %{name}.lang
317 %defattr(644,root,root,755)
318 %doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
319 %{_mandir}/man1/%{name}.1*
320 %attr(755,root,root) %{_bindir}/*
321 %dir %{_datadir}/%{name}
322 %dir %{_docdir}/%{name}
323 %dir %{_docdir}/%{name}/manual
324 %dir %{_datadir}/%{name}/themes
325 %dir %{_libdir}/%{name}
326 %dir %{_libdir}/%{name}/plugins
327 %{_docdir}/%{name}/manual/en
328 %lang(es) %{_docdir}/%{name}/manual/es
329 %lang(fr) %{_docdir}/%{name}/manual/fr
330 %lang(pl) %{_docdir}/%{name}/manual/pl
331 %{_desktopdir}/%{name}.desktop
332 %{_pixmapsdir}/%{name}.png
333 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
334 %{_iconsdir}/hicolor/64x64/apps/%{name}.png
335 %{_iconsdir}/hicolor/128x128/apps/%{name}.png
338 %defattr(644,root,root,755)
339 %{_includedir}/%{name}
340 %{_pkgconfigdir}/*.pc
343 %defattr(644,root,root,755)
345 %files plugin-bogofilter
346 %defattr(644,root,root,755)
347 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
350 %defattr(644,root,root,755)
351 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
354 %files plugin-pgpcore
355 %defattr(644,root,root,755)
356 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
358 %files plugin-pgpinline
359 %defattr(644,root,root,755)
360 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
362 %files plugin-pgpmime
363 %defattr(644,root,root,755)
364 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
368 %defattr(644,root,root,755)
369 %attr(755,root,root) %{_libdir}/%{name}/plugins/smime.so
371 %files plugin-spamassassin
372 %defattr(644,root,root,755)
373 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
375 %files plugin-trayicon
376 %defattr(644,root,root,755)
377 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so