2 # - pl description for new subpackages
5 %bcond_without clamav # build without clamav plugin
6 %bcond_without compface # build without compface support
7 %bcond_without dillo # build without dillo plugin (html browser)
8 %bcond_without gnomeprint # build without gnomeprint support
9 %bcond_without gpg # build without GPG support
10 %bcond_without ipv6 # build without IPv6 support
11 %bcond_without jpilot # build without JPilot support
12 %bcond_without ldap # build without LDAP support
13 %bcond_without spamassassin # build without spamassassin plugin
14 %bcond_without ssl # build without SSL support
15 %bcond_without trayicon # build without trayicon plugin
17 Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
18 Summary(pl): Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
23 Group: X11/Applications/Networking
24 Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
25 # Source0-md5: a59b1f1736e89918c648794c94120a8e
26 Source1: %{name}.desktop
27 URL: http://www.sylpheed-claws.net/
28 BuildRequires: aspell-devel >= 2:0.50
29 BuildRequires: autoconf >= 2.50
30 BuildRequires: automake
31 BuildRequires: bzip2-devel
32 %{?with_clamav:BuildRequires: clamav-devel}
33 %{?with_compface:BuildRequires: compface-devel}
34 BuildRequires: gdk-pixbuf-devel >= 0.8
35 BuildRequires: gettext-devel
36 BuildRequires: gmp-devel
37 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
38 BuildRequires: gtk+2-devel >= 2:2.4.0
39 BuildRequires: imlib-devel >= 1.9
40 BuildRequires: libetpan-devel >= 0.45
41 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
42 BuildRequires: libltdl-devel
43 BuildRequires: libtool
44 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
45 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
46 %{?with_jpilot:BuildRequires: pilot-link-devel}
47 BuildRequires: pkgconfig
48 BuildRequires: startup-notification-devel >= 0.5
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.
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 Sylpheed-Claws
65 Summary(pl): Pliki nag³ówkowe programu Sylpheed-Claws
66 Group: X11/Applications/Networking
67 Requires: %{name} = %{version}-%{release}
68 Requires: gpgme-devel >= 1:0.4.5
69 Requires: libetpan-devel >= 0.45
70 Requires: openssl-devel >= 0.9.7d
73 Sylpheed-Claws development package.
75 %description devel -l pl
76 Pliki nag³ówkowe programu Sylpheed-Claws.
79 Summary: Special plugins for Sylpheed-Claws (metapackage)
80 Summary(pl): Dodatkowe pluginy dla Sylpheed-Claws (metapakiet)
81 Group: X11/Applications/Networking
82 Requires: %{name} = %{version}-%{release}
83 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
84 %{?with_dillo:Requires: %{name}-plugin-dillo = %{version}-%{release}}
86 Requires: %{name}-plugin-pgpinline = %{version}-%{release}
87 Requires: %{name}-plugin-pgpmime = %{version}-%{release}
89 %{?with_spamassassin:Requires: %{name}-plugin-spamassassin = %{version}-%{release}}
90 %{?with_trayicon:Requires: %{name}-plugin-trayicon = %{version}-%{release}}
93 This is collection of some usefull plugins for Sylpheed-Claws
96 %description plugins -l pl
97 Jest to zbiór kilku dodatkowych pluginów powiêkszaj±cych mo¿liwo¶ci
98 Sylpheed-Claws (metapakiet).
100 %package plugin-clamav
101 Summary: clamav plugin for Sylpheed-Claws
102 Summary(pl): Wtyczka clamav dla Sylpheed-Claws
103 Group: X11/Applications/Networking
104 Requires: %{name} = %{version}-%{release}
105 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
107 %description plugin-clamav
108 This plugin enables the scanning of message attachments in mail
109 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
110 can optionally delete the mail or save it to a designated folder.
112 %package plugin-dillo
113 Summary: dillo plugin for Sylpheed-Claws
114 Summary(pl): Wtyczka dillo dla Sylpheed-Claws
115 Group: X11/Applications/Networking
116 Requires: %{name} = %{version}-%{release}
118 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
120 %description plugin-dillo
121 This plugin enables the viewing of html messages using the Dillo web
124 %package plugin-pgpcore
125 Summary: PGP/Core plugin for Sylpheed-Claws
126 Summary(pl): Wtyczka PGP/Core dla Sylpheed-Claws
127 Group: X11/Applications/Networking
128 Requires: %{name} = %{version}-%{release}
129 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
131 %description plugin-pgpcore
132 This plugin handles core PGP functions.
134 %package plugin-pgpinline
135 Summary: PGP/Inline plugin for Sylpheed-Claws
136 Summary(pl): Wtyczka PGP/Inline dla Sylpheed-Claws
137 Group: X11/Applications/Networking
138 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
139 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
141 %description plugin-pgpinline
142 This plugin handles PGP/Inline signed and/or encrypted mails. It can
143 decrypt mails, verify signatures or sign and encrypt your own mails.
145 %package plugin-pgpmime
146 Summary: PGP/MIME plugin for Sylpheed-Claws
147 Summary(pl): Wtyczka PGP/MIME dla Sylpheed-Claws
148 Group: X11/Applications/Networking
149 Requires: %{name}-plugin-pgpcore = %{version}-%{release}
150 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
152 %description plugin-pgpmime
153 This plugin handles PGP/MIME signed and/or encrypted mails. It can
154 decrypt mails, verify signatures or sign and encrypt your own mails.
156 %package plugin-spamassassin
157 Summary: spamassassin plugin for Sylpheed-Claws
158 Summary(pl): Wtyczka spamassassin dla Sylpheed-Claws
159 Group: X11/Applications/Networking
160 Requires: %{name} = %{version}-%{release}
161 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
163 %description plugin-spamassassin
164 This plugin enables the scanning of incoming mail received from a POP,
165 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
166 mail identified as spam or save it to a designated folder, and also
167 can be used to train a local Spamassassin or a remote one.
169 %package plugin-trayicon
170 Summary: trayicon plugin for Sylpheed-Claws
171 Summary(pl): Wtyczka trayicon dla Sylpheed-Claws
172 Group: X11/Applications/Networking
173 Requires: %{name} = %{version}-%{release}
174 Conflicts: sylpheed-claws-plugins <= 2.3.0-1
176 %description plugin-trayicon
177 This plugin places an icon in the system tray that indicates whether
178 you have any new mail. A tooltip also shows the current new, unread
179 and total number of messages, and a contextual menu allows the most
195 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
196 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
197 --%{?with_dillo:en}%{!?with_dillo:dis}able-dillo-viewer-plugin \
198 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
199 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
200 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
201 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
202 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
203 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
204 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
205 --%{?with_spamassassin:en}%{!?with_spamassassin:dis}able-spamassassin-plugin \
206 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
207 --%{?with_trayicon:en}%{!?with_trayicon:dis}able-trayicon-plugin \
209 --enable-gdk-pixbuf \
213 --with-config-dir=.sylpheed
218 rm -rf $RPM_BUILD_ROOT
219 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
222 DESTDIR=$RPM_BUILD_ROOT
224 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
225 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
227 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
232 rm -rf $RPM_BUILD_ROOT
234 %files -f %{name}.lang
235 %defattr(644,root,root,755)
236 %doc AUTHORS ChangeLog NEWS README* TODO
237 %{_mandir}/man1/%{name}.1*
238 %attr(755,root,root) %{_bindir}/*
239 %dir %{_datadir}/%{name}
240 %dir %{_datadir}/%{name}/manual
241 %dir %{_datadir}/%{name}/themes
242 %dir %{_libdir}/%{name}
243 %dir %{_libdir}/%{name}/plugins
244 %{_datadir}/%{name}/manual/en
245 %lang(fr) %{_datadir}/%{name}/manual/fr
246 %lang(pl) %{_datadir}/%{name}/manual/pl
247 %{_desktopdir}/%{name}.desktop
248 %{_pixmapsdir}/%{name}.png
251 %defattr(644,root,root,755)
252 %{_includedir}/%{name}
253 %{_pkgconfigdir}/*.pc
256 %defattr(644,root,root,755)
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
266 %defattr(644,root,root,755)
267 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
271 %files plugin-pgpcore
272 %defattr(644,root,root,755)
273 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
275 %files plugin-pgpinline
276 %defattr(644,root,root,755)
277 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
279 %files plugin-pgpmime
280 %defattr(644,root,root,755)
281 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
284 %if %{with spamassassin}
285 %files plugin-spamassassin
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
291 %files plugin-trayicon
292 %defattr(644,root,root,755)
293 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so