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 URL: http://www.claws-mail.org/
21 BuildRequires: aspell >= 2:0.50
22 BuildRequires: aspell-devel >= 2:0.50
23 BuildRequires: autoconf >= 2.60
24 BuildRequires: automake
25 BuildRequires: bzip2-devel
26 %{?with_compface:BuildRequires: compface-devel}
27 BuildRequires: gettext-devel
28 BuildRequires: gmp-devel
29 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
30 BuildRequires: gtk+2-devel >= 2:2.10.0
31 BuildRequires: libetpan-devel >= 0.54
32 BuildRequires: libltdl-devel
33 BuildRequires: libtool
34 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
35 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
36 %{?with_jpilot:BuildRequires: pilot-link-devel}
37 BuildRequires: pkgconfig
38 BuildRequires: rpmbuild(macros) >= 1.311
39 BuildRequires: startup-notification-devel >= 0.5
40 Requires(post,postun): gtk+2
41 Requires(post,postun): hicolor-icon-theme
42 Requires: gtk+2 >= 2:2.10.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: 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: gpgme-devel >= 1:0.4.5
68 Requires: libetpan-devel >= 0.54
69 Requires: openssl-devel >= 0.9.7d
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-spamassassin = %{version}-%{release}
91 Requires: %{name}-plugin-trayicon = %{version}-%{release}
92 Provides: sylpheed-claws-plugins = %{version}
93 Obsoletes: sylpheed-claws-plugins
96 This is collection of some usefull plugins for Claws-Mail
99 %description plugins -l pl.UTF-8
100 Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości
101 Claws-Mail (metapakiet).
103 %package plugin-bogofilter
104 Summary: Bogofilter plugin for Claws-Mail
105 Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail
106 Group: X11/Applications/Mail
107 Requires: %{name} = %{version}-%{release}
109 Provides: sylpheed-claws-plugin-bogofilter
110 Obsoletes: sylpheed-claws-plugin-bogofilter
112 %description plugin-bogofilter
113 This plugin enables the scanning of incoming mail received from a POP,
114 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
115 identified as spam or save it to a designated folder.
117 %description plugin-bogofilter -l pl.UTF-8
118 Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej
119 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
120 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
123 %package plugin-dillo
124 Summary: dillo plugin for Claws-Mail
125 Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail
126 Group: X11/Applications/Mail
127 Requires: %{name} = %{version}-%{release}
129 Provides: sylpheed-claws-plugin-dillo
130 Obsoletes: sylpheed-claws-plugin-dillo
131 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
133 %description plugin-dillo
134 This plugin enables the viewing of html messages using the Dillo web
137 %description plugin-dillo -l pl.UTF-8
138 Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy
141 %package plugin-pgpcore
142 Summary: PGP/Core plugin for Claws-Mail
143 Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail
144 Group: X11/Applications/Mail
145 Requires: %{name} = %{version}-%{release}
146 Provides: sylpheed-claws-plugin-pgpcore
147 Obsoletes: sylpheed-claws-plugin-pgpcore
148 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
150 %description plugin-pgpcore
151 This plugin handles core PGP functions.
153 %description plugin-pgpcore -l pl.UTF-8
154 Wtyczka obsługująca podstawowe funkcje PGP.
156 %package plugin-pgpinline
157 Summary: PGP/Inline plugin for Claws-Mail
158 Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail
159 Group: X11/Applications/Mail
160 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
161 Provides: sylpheed-claws-plugin-pgpinline
162 Obsoletes: sylpheed-claws-plugin-pgpinline
163 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
165 %description plugin-pgpinline
166 This plugin handles PGP/Inline signed and/or encrypted mails. It can
167 decrypt mails, verify signatures or sign and encrypt your own mails.
169 %description plugin-pgpinline -l pl.UTF-8
170 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi
171 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
174 %package plugin-pgpmime
175 Summary: PGP/MIME plugin for Claws-Mail
176 Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail
177 Group: X11/Applications/Mail
178 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
179 Provides: sylpheed-claws-plugin-pgpmime
180 Obsoletes: sylpheed-claws-plugin-pgpmime
181 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
183 %description plugin-pgpmime
184 This plugin handles PGP/MIME signed and/or encrypted mails. It can
185 decrypt mails, verify signatures or sign and encrypt your own mails.
187 %description plugin-pgpmime -l pl.UTF-8
188 Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi
189 rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
192 %package plugin-spamassassin
193 Summary: spamassassin plugin for Claws-Mail
194 Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
195 Group: X11/Applications/Mail
196 Requires: %{name} = %{version}-%{release}
197 Provides: sylpheed-claws-plugin-spamassassin
198 Obsoletes: sylpheed-claws-plugin-spamassassin
199 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
201 %description plugin-spamassassin
202 This plugin enables the scanning of incoming mail received from a POP,
203 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
204 mail identified as spam or save it to a designated folder, and also
205 can be used to train a local Spamassassin or a remote one.
207 %description plugin-spamassassin -l pl.UTF-8
208 Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
209 jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
210 usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
211 folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
214 %package plugin-trayicon
215 Summary: trayicon plugin for Claws-Mail
216 Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
217 Group: X11/Applications/Mail
218 Requires: %{name} = %{version}-%{release}
219 Provides: sylpheed-claws-plugin-trayicon
220 Obsoletes: sylpheed-claws-plugin-trayicon
221 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
223 %description plugin-trayicon
224 This plugin places an icon in the system tray that indicates whether
225 you have any new mail. A tooltip also shows the current new, unread
226 and total number of messages, and a contextual menu allows the most
229 %description plugin-trayicon -l pl.UTF-8
230 Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
231 nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
232 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
233 najpopularniejsze operacje.
248 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
249 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
250 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
251 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
252 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
253 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
254 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
255 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
257 --enable-bogofilter-plugin \
258 --enable-dillo-viewer-plugin \
261 --enable-spamassassin-plugin \
262 --enable-trayicon-plugin \
268 rm -rf $RPM_BUILD_ROOT
269 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
272 DESTDIR=$RPM_BUILD_ROOT
274 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
275 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
277 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
278 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
279 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
284 rm -rf $RPM_BUILD_ROOT
287 %update_icon_cache hicolor
290 %update_icon_cache hicolor
292 %files -f %{name}.lang
293 %defattr(644,root,root,755)
294 %doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
295 %{_mandir}/man1/%{name}.1*
296 %attr(755,root,root) %{_bindir}/*
297 %dir %{_datadir}/%{name}
298 %dir %{_docdir}/%{name}
299 %dir %{_docdir}/%{name}/manual
300 %dir %{_datadir}/%{name}/themes
301 %dir %{_libdir}/%{name}
302 %dir %{_libdir}/%{name}/plugins
303 %{_docdir}/%{name}/manual/en
304 %lang(es) %{_docdir}/%{name}/manual/es
305 %lang(fr) %{_docdir}/%{name}/manual/fr
306 %lang(pl) %{_docdir}/%{name}/manual/pl
307 %{_desktopdir}/%{name}.desktop
308 %{_pixmapsdir}/%{name}.png
309 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
312 %defattr(644,root,root,755)
313 %{_includedir}/%{name}
314 %{_pkgconfigdir}/*.pc
317 %defattr(644,root,root,755)
319 %files plugin-bogofilter
320 %defattr(644,root,root,755)
321 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
324 %defattr(644,root,root,755)
325 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
328 %files plugin-pgpcore
329 %defattr(644,root,root,755)
330 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
332 %files plugin-pgpinline
333 %defattr(644,root,root,755)
334 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
336 %files plugin-pgpmime
337 %defattr(644,root,root,755)
338 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
341 %files plugin-spamassassin
342 %defattr(644,root,root,755)
343 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
345 %files plugin-trayicon
346 %defattr(644,root,root,755)
347 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so