]> git.pld-linux.org Git - packages/claws-mail.git/blame - claws-mail.spec
- updated to 2.9.1 [fix CVE-2007-1558]
[packages/claws-mail.git] / claws-mail.spec
CommitLineData
2ea78418 1#
0d611c2a 2# Conditional build:
cd4bce63 3%bcond_without clamav # build without clamav plugin
4%bcond_without compface # build without compface support
cd4bce63 5%bcond_without gnomeprint # build without gnomeprint support
efcbcabb 6%bcond_without gpg # build without GPG support
cd4bce63 7%bcond_without ipv6 # build without IPv6 support
d0d021dc 8%bcond_without jpilot # build without JPilot support
cd4bce63 9%bcond_without ldap # build without LDAP support
cd4bce63 10%bcond_without ssl # build without SSL support
2ea78418 11#
efe080c2 12Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
281af01d 13Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń
7f0c3b3e 14Name: claws-mail
f1e49b88 15Version: 2.9.1
80fa785b 16Release: 1
d8880807 17License: GPL v2
0d611c2a 18Group: X11/Applications/Networking
ec05658d 19Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
f1e49b88 20# Source0-md5: c0e2718d4bcd932709a6e1bcc910c47a
f5cc606b 21Source1: %{name}.desktop
94261b00 22Patch0: %{name}-pc_cflags_sequence.patch
7f0c3b3e 23URL: http://www.claws-mail.net/
4ee2eec1 24BuildRequires: aspell >= 2:0.50
ec05658d 25BuildRequires: aspell-devel >= 2:0.50
eeec3879 26BuildRequires: autoconf >= 2.60
0d611c2a 27BuildRequires: automake
bd6b0bc5 28BuildRequires: bzip2-devel
d8880807 29%{?with_clamav:BuildRequires: clamav-devel}
48ca524d 30%{?with_compface:BuildRequires: compface-devel}
1d10180e 31BuildRequires: gettext-devel
ceeef691 32BuildRequires: gmp-devel
efe080c2 33%{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
44d458d9 34BuildRequires: gtk+2-devel >= 2:2.6.0
e17e8978 35BuildRequires: libetpan-devel >= 0.49
d0d021dc 36%{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
1d10180e 37BuildRequires: libltdl-devel
0d611c2a 38BuildRequires: libtool
3a4f8261 39%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
a2b1e344 40%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
d0d021dc 41%{?with_jpilot:BuildRequires: pilot-link-devel}
bd6b0bc5 42BuildRequires: pkgconfig
44d458d9 43BuildRequires: rpmbuild(macros) >= 1.311
d0d021dc 44BuildRequires: startup-notification-devel >= 0.5
eeec3879 45Requires(post,postun): gtk+2
44d458d9 46Requires(post,postun): hicolor-icon-theme
1199c73d 47Provides: sylpheed-claws
9be288ee
MB
48Obsoletes: claws-mail-plugin-etpan-privacy
49Obsoletes: claws-mail-plugin-maildir
c3f7bfac 50Obsoletes: sylpheed
7f0c3b3e 51Obsoletes: sylpheed-claws
761655de 52Obsoletes: sylpheed-gtk2
0d611c2a 53BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
0d611c2a 55%description
1f6e805c 56This program is an X based fast e-mail client which has features same
57as orginal Sylpheed but with new/improved features. Some of new stuff
58is really cool and useable.
5d4f1e09 59
664cab97
JR
60%description -l pl.UTF-8
61Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed
62ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę
63świetne i użyteczne.
0d611c2a 64
b1b9f47a 65%package devel
7f0c3b3e 66Summary: Headers from Claws-Mail
281af01d 67Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail
b1b9f47a 68Group: X11/Applications/Networking
ceea85d9 69Requires: %{name} = %{version}-%{release}
43181944 70Requires: gpgme-devel >= 1:0.4.5
e17e8978 71Requires: libetpan-devel >= 0.49
43181944 72Requires: openssl-devel >= 0.9.7d
1199c73d
MB
73Provides: sylpheed-claws-devel
74Obsoletes: sylpheed-claws-devel
b1b9f47a 75
76%description devel
7f0c3b3e 77Claws-Mail development package.
b1b9f47a 78
664cab97
JR
79%description devel -l pl.UTF-8
80Pliki nagłówkowe programu Claws-Mail.
b1b9f47a 81
d0d021dc 82%package plugins
7f0c3b3e 83Summary: Special plugins for Claws-Mail (metapackage)
281af01d 84Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
d0d021dc
MB
85Group: X11/Applications/Networking
86Requires: %{name} = %{version}-%{release}
44d458d9 87Requires: %{name}-plugin-bogofilter = %{version}-%{release}
1199c73d 88%{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
dc3d0ddd 89Requires: %{name}-plugin-dillo = %{version}-%{release}
d0d021dc
MB
90%if %{with gpg}
91Requires: %{name}-plugin-pgpinline = %{version}-%{release}
92Requires: %{name}-plugin-pgpmime = %{version}-%{release}
93%endif
dc3d0ddd
MB
94Requires: %{name}-plugin-spamassassin = %{version}-%{release}
95Requires: %{name}-plugin-trayicon = %{version}-%{release}
a6cfdb5b 96Provides: sylpheed-claws-plugins = %{version}
1199c73d 97Obsoletes: sylpheed-claws-plugins
d0d021dc
MB
98
99%description plugins
7f0c3b3e 100This is collection of some usefull plugins for Claws-Mail
d0d021dc
MB
101(metapackage).
102
664cab97
JR
103%description plugins -l pl.UTF-8
104Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości
7f0c3b3e 105Claws-Mail (metapakiet).
d0d021dc 106
44d458d9 107%package plugin-bogofilter
7f0c3b3e 108Summary: Bogofilter plugin for Claws-Mail
281af01d 109Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail
44d458d9
MB
110Group: X11/Applications/Networking
111Requires: %{name} = %{version}-%{release}
112Requires: bogofilter
1199c73d
MB
113Provides: sylpheed-claws-plugin-bogofilter
114Obsoletes: sylpheed-claws-plugin-bogofilter
44d458d9
MB
115
116%description plugin-bogofilter
117This plugin enables the scanning of incoming mail received from a POP,
118IMAP or LOCAL account using Bogofilter. It can optionally delete mail
119identified as spam or save it to a designated folder.
120
664cab97
JR
121%description plugin-bogofilter -l pl.UTF-8
122Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej
123jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
124usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
44d458d9
MB
125folderze.
126
d0d021dc 127%package plugin-clamav
7f0c3b3e 128Summary: clamav plugin for Claws-Mail
281af01d 129Summary(pl.UTF-8): Wtyczka clamav dla Claws-Mail
d0d021dc
MB
130Group: X11/Applications/Networking
131Requires: %{name} = %{version}-%{release}
1199c73d
MB
132Provides: sylpheed-claws-plugin-clamav
133Obsoletes: sylpheed-claws-plugin-clamav
d0d021dc
MB
134Conflicts: sylpheed-claws-plugins <= 2.3.0-1
135
136%description plugin-clamav
137This plugin enables the scanning of message attachments in mail
138received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
139can optionally delete the mail or save it to a designated folder.
140
664cab97
JR
141%description plugin-clamav -l pl.UTF-8
142Ta wtyczka pozwala na lokalne skanowanie załączników z poczty
143otrzymanej przez POP, IMAP lub znajdującej się w lokalnych skrzynkach.
144Opcjonalnie może usuwać lub zapisywać zainfekowane listy w
dc3d0ddd 145przeznaczonym do tego folderze.
9b63aae0 146
d0d021dc 147%package plugin-dillo
7f0c3b3e 148Summary: dillo plugin for Claws-Mail
281af01d 149Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail
d0d021dc
MB
150Group: X11/Applications/Networking
151Requires: %{name} = %{version}-%{release}
152Requires: dillo
1199c73d
MB
153Provides: sylpheed-claws-plugin-dillo
154Obsoletes: sylpheed-claws-plugin-dillo
d0d021dc
MB
155Conflicts: sylpheed-claws-plugins <= 2.3.0-1
156
157%description plugin-dillo
158This plugin enables the viewing of html messages using the Dillo web
159browser.
160
664cab97
JR
161%description plugin-dillo -l pl.UTF-8
162Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy
163przeglądarki Dillo.
9b63aae0 164
d0d021dc 165%package plugin-pgpcore
7f0c3b3e 166Summary: PGP/Core plugin for Claws-Mail
281af01d 167Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail
d0d021dc
MB
168Group: X11/Applications/Networking
169Requires: %{name} = %{version}-%{release}
1199c73d
MB
170Provides: sylpheed-claws-plugin-pgpcore
171Obsoletes: sylpheed-claws-plugin-pgpcore
d0d021dc
MB
172Conflicts: sylpheed-claws-plugins <= 2.3.0-1
173
174%description plugin-pgpcore
175This plugin handles core PGP functions.
176
664cab97
JR
177%description plugin-pgpcore -l pl.UTF-8
178Wtyczka obsługująca podstawowe funkcje PGP.
9b63aae0 179
d0d021dc 180%package plugin-pgpinline
7f0c3b3e 181Summary: PGP/Inline plugin for Claws-Mail
281af01d 182Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail
d0d021dc
MB
183Group: X11/Applications/Networking
184Requires: %{name}-plugin-pgpcore = %{version}-%{release}
1199c73d
MB
185Provides: sylpheed-claws-plugin-pgpinline
186Obsoletes: sylpheed-claws-plugin-pgpinline
d0d021dc
MB
187Conflicts: sylpheed-claws-plugins <= 2.3.0-1
188
189%description plugin-pgpinline
190This plugin handles PGP/Inline signed and/or encrypted mails. It can
191decrypt mails, verify signatures or sign and encrypt your own mails.
192
664cab97
JR
193%description plugin-pgpinline -l pl.UTF-8
194Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi
195rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
196własne listy.
9b63aae0 197
d0d021dc 198%package plugin-pgpmime
7f0c3b3e 199Summary: PGP/MIME plugin for Claws-Mail
281af01d 200Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail
d0d021dc
MB
201Group: X11/Applications/Networking
202Requires: %{name}-plugin-pgpcore = %{version}-%{release}
1199c73d
MB
203Provides: sylpheed-claws-plugin-pgpmime
204Obsoletes: sylpheed-claws-plugin-pgpmime
d0d021dc
MB
205Conflicts: sylpheed-claws-plugins <= 2.3.0-1
206
207%description plugin-pgpmime
208This plugin handles PGP/MIME signed and/or encrypted mails. It can
209decrypt mails, verify signatures or sign and encrypt your own mails.
210
664cab97
JR
211%description plugin-pgpmime -l pl.UTF-8
212Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi
213rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
214własne listy.
9b63aae0 215
d0d021dc 216%package plugin-spamassassin
7f0c3b3e 217Summary: spamassassin plugin for Claws-Mail
281af01d 218Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
40894f82 219Group: X11/Applications/Networking
ceea85d9 220Requires: %{name} = %{version}-%{release}
1199c73d
MB
221Provides: sylpheed-claws-plugin-spamassassin
222Obsoletes: sylpheed-claws-plugin-spamassassin
d0d021dc 223Conflicts: sylpheed-claws-plugins <= 2.3.0-1
40894f82 224
d0d021dc
MB
225%description plugin-spamassassin
226This plugin enables the scanning of incoming mail received from a POP,
227IMAP, or LOCAL account using SpamAssassin. It can optionally delete
228mail identified as spam or save it to a designated folder, and also
229can be used to train a local Spamassassin or a remote one.
40894f82 230
664cab97
JR
231%description plugin-spamassassin -l pl.UTF-8
232Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
233jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
234usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
235folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
9b63aae0 236demona SpamAssassin.
237
d0d021dc 238%package plugin-trayicon
7f0c3b3e 239Summary: trayicon plugin for Claws-Mail
281af01d 240Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
d0d021dc
MB
241Group: X11/Applications/Networking
242Requires: %{name} = %{version}-%{release}
1199c73d
MB
243Provides: sylpheed-claws-plugin-trayicon
244Obsoletes: sylpheed-claws-plugin-trayicon
d0d021dc
MB
245Conflicts: sylpheed-claws-plugins <= 2.3.0-1
246
247%description plugin-trayicon
248This plugin places an icon in the system tray that indicates whether
249you have any new mail. A tooltip also shows the current new, unread
250and total number of messages, and a contextual menu allows the most
251common operations.
40894f82 252
664cab97
JR
253%description plugin-trayicon -l pl.UTF-8
254Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
255nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
256nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
9b63aae0 257najpopularniejsze operacje.
258
0d611c2a 259%prep
d0d021dc 260%setup -q
94261b00 261%patch0 -p1
0d611c2a 262
ec05658d
JB
263rm -f po/stamp-po
264
0d611c2a 265%build
87a7cfab
MB
266%{__libtoolize}
267%{__gettextize}
268%{__aclocal} -I m4
269%{__autoconf}
270%{__autoheader}
271%{__automake}
0d611c2a 272%configure \
48ca524d
MB
273 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
274 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
48ca524d 275 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
d0d021dc 276 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
48ca524d 277 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
d0d021dc 278 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
48ca524d 279 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
d0d021dc 280 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
48ca524d 281 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
48ca524d 282 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
f37e9384 283 --enable-aspell \
44d458d9 284 --enable-bogofilter \
dc3d0ddd 285 --enable-dillo-viewer-plugin \
f37e9384 286 --enable-gdk-pixbuf \
dc3d0ddd 287 --enable-libetpan \
efcbcabb 288 --enable-pthread \
dc3d0ddd
MB
289 --enable-spamassassin-plugin \
290 --enable-trayicon-plugin \
7f0c3b3e 291 --disable-static
0d611c2a 292
293%{__make}
294
295%install
296rm -rf $RPM_BUILD_ROOT
d0d021dc 297install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
0d611c2a 298
299%{__make} install \
44d458d9 300 DESTDIR=$RPM_BUILD_ROOT
0d611c2a 301
d8880807 302install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
efe080c2 303install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
946fa8a3 304
d0d021dc 305rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
16ac3bfb
MB
306rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
307rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
ec05658d 308
62767999 309%find_lang %{name}
0d611c2a 310
311%clean
c9f56aa0 312rm -rf $RPM_BUILD_ROOT
0d611c2a 313
44d458d9
MB
314%post
315%update_icon_cache hicolor
316
317%postun
318%update_icon_cache hicolor
319
62767999 320%files -f %{name}.lang
0d611c2a 321%defattr(644,root,root,755)
16ac3bfb 322%doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
65ff9ee2 323%{_mandir}/man1/%{name}.1*
0d611c2a 324%attr(755,root,root) %{_bindir}/*
62767999 325%dir %{_datadir}/%{name}
16ac3bfb
MB
326%dir %{_docdir}/%{name}
327%dir %{_docdir}/%{name}/manual
d0d021dc 328%dir %{_datadir}/%{name}/themes
7ecfdd51
MB
329%dir %{_libdir}/%{name}
330%dir %{_libdir}/%{name}/plugins
16ac3bfb
MB
331%{_docdir}/%{name}/manual/en
332%lang(es) %{_docdir}/%{name}/manual/es
333%lang(fr) %{_docdir}/%{name}/manual/fr
334%lang(pl) %{_docdir}/%{name}/manual/pl
d8880807 335%{_desktopdir}/%{name}.desktop
efe080c2 336%{_pixmapsdir}/%{name}.png
9b63aae0 337%{_iconsdir}/hicolor/48x48/apps/%{name}.png
b185452a 338
b1b9f47a 339%files devel
340%defattr(644,root,root,755)
62767999 341%{_includedir}/%{name}
8875a1b2 342%{_pkgconfigdir}/*.pc
40894f82 343
d0d021dc
MB
344%files plugins
345%defattr(644,root,root,755)
346
44d458d9
MB
347%files plugin-bogofilter
348%defattr(644,root,root,755)
349%attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
350
d0d021dc
MB
351%if %{with clamav}
352%files plugin-clamav
353%defattr(644,root,root,755)
354%attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
355%endif
356
d0d021dc
MB
357%files plugin-dillo
358%defattr(644,root,root,755)
359%attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
d0d021dc
MB
360
361%if %{with gpg}
362%files plugin-pgpcore
363%defattr(644,root,root,755)
364%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
365
366%files plugin-pgpinline
367%defattr(644,root,root,755)
368%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
369
370%files plugin-pgpmime
371%defattr(644,root,root,755)
372%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
373%endif
374
d0d021dc
MB
375%files plugin-spamassassin
376%defattr(644,root,root,755)
377%attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
d0d021dc 378
d0d021dc 379%files plugin-trayicon
40894f82 380%defattr(644,root,root,755)
d0d021dc 381%attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so
This page took 0.166146 seconds and 4 git commands to generate.