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: fcf58dcff52f0908ff3bc368d820408b
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.24.0
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: sed >= 4.0
39 BuildRequires: startup-notification-devel >= 0.5
40 Requires(post,postun): gtk-update-icon-cache
41 Requires(post,postun): hicolor-icon-theme
42 Requires: gtk+2 >= 2:2.24.0
43 Provides: sylpheed-claws
44 Obsoletes: claws-mail-plugin-clamav
45 Obsoletes: claws-mail-plugin-etpan-privacy
46 Obsoletes: claws-mail-plugin-maildir
47 Obsoletes: claws-mail-plugin-pdf_viewer
48 Obsoletes: sylpheed-claws
49 Obsoletes: sylpheed-claws-plugin-clamav
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/Development/Libraries
67 Requires: %{name} = %{version}-%{release}
68 Requires: gnutls-devel >= 2.6.0
69 Requires: gpgme-devel >= 1:0.4.5
70 Requires: libetpan-devel >= 0.54
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/Mail
84 Requires: %{name} = %{version}-%{release}
85 Requires: %{name}-plugin-bogofilter = %{version}-%{release}
86 Requires: %{name}-plugin-dillo = %{version}-%{release}
88 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
89 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
91 Requires: %{name}-plugin-smime = %{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-smime
195 Summary: S/MIME plugin for Claws-Mail
196 Summary(pl.UTF-8): Wtyczka S/MIME dla Claws-Mail
197 Group: X11/Applications/Mail
198 Requires: %{name} = %{version}-%{release}
199 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
200 Provides: sylpheed-claws-plugin-smime
201 Obsoletes: sylpheed-claws-plugin-smime
203 %description plugin-smime
204 This plugin handles S/MIME signed and/or encrypted mails. You can
205 decrypt mails, verify signatures or sign and encrypt your own mails.
207 %description plugin-smime -l pl.UTF-8
208 Wtyczka obsługująca listy podpisane lub szyfrowane S/MIME. Potrafi
209 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
212 %package plugin-spamassassin
213 Summary: spamassassin plugin for Claws-Mail
214 Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
215 Group: X11/Applications/Mail
216 Requires: %{name} = %{version}-%{release}
217 Provides: sylpheed-claws-plugin-spamassassin
218 Obsoletes: sylpheed-claws-plugin-spamassassin
219 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
221 %description plugin-spamassassin
222 This plugin enables the scanning of incoming mail received from a POP,
223 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
224 mail identified as spam or save it to a designated folder, and also
225 can be used to train a local Spamassassin or a remote one.
227 %description plugin-spamassassin -l pl.UTF-8
228 Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
229 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
230 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
231 folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
234 %package plugin-trayicon
235 Summary: trayicon plugin for Claws-Mail
236 Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
237 Group: X11/Applications/Mail
238 Requires: %{name} = %{version}-%{release}
239 Provides: sylpheed-claws-plugin-trayicon
240 Obsoletes: sylpheed-claws-plugin-trayicon
241 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
243 %description plugin-trayicon
244 This plugin places an icon in the system tray that indicates whether
245 you have any new mail. A tooltip also shows the current new, unread
246 and total number of messages, and a contextual menu allows the most
249 %description plugin-trayicon -l pl.UTF-8
250 Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
251 nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
252 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
253 najpopularniejsze operacje.
261 mv -f po/{pt_PT,pt}.po
262 %{__sed} -i -e 's,pt_PT,pt,g' src/codeconv.c
263 %{__sed} -i -e 's,pt_PT,pt,g' configure
264 %{__sed} -i -e 's,pt_PT,pt,g' configure.ac
274 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
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_tls:en}%{!?with_tls:dis}able-gnutls \
282 --enable-bogofilter-plugin \
283 --enable-dillo-viewer-plugin \
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} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
303 %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
304 %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{de,en,es,fr,pl}/*.{pdf,ps,html,txt}
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 %{_datadir}/%{name}/themes
325 %dir %{_libdir}/%{name}
326 %dir %{_libdir}/%{name}/plugins
327 %{_desktopdir}/%{name}.desktop
328 %{_pixmapsdir}/%{name}.png
329 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
330 %{_iconsdir}/hicolor/64x64/apps/%{name}.png
331 %{_iconsdir}/hicolor/128x128/apps/%{name}.png
334 %defattr(644,root,root,755)
335 %{_includedir}/%{name}
336 %{_pkgconfigdir}/*.pc
339 %defattr(644,root,root,755)
341 %files plugin-bogofilter
342 %defattr(644,root,root,755)
343 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
346 %defattr(644,root,root,755)
347 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
350 %files plugin-pgpcore
351 %defattr(644,root,root,755)
352 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
354 %files plugin-pgpinline
355 %defattr(644,root,root,755)
356 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
358 %files plugin-pgpmime
359 %defattr(644,root,root,755)
360 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
364 %defattr(644,root,root,755)
365 %attr(755,root,root) %{_libdir}/%{name}/plugins/smime.so
367 %files plugin-spamassassin
368 %defattr(644,root,root,755)
369 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
371 %files plugin-trayicon
372 %defattr(644,root,root,755)
373 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so