X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=claws-mail.spec;h=693f469331575810edb7356d9fb2e739e0d6fd8c;hb=e7e6602ede12a0af32542eaa7604a1e41cd52405;hp=6d383135d17463c690aa354b6fcd54b288291c01;hpb=9b95e8853a24c3db400553d35277640cdda03486;p=packages%2Fclaws-mail.git diff --git a/claws-mail.spec b/claws-mail.spec index 6d38313..693f469 100644 --- a/claws-mail.spec +++ b/claws-mail.spec @@ -1,50 +1,51 @@ # # Conditional build: -%bcond_without clamav # build without clamav plugin %bcond_without compface # build without compface support -%bcond_without dillo # build without dillo plugin (html browser) -%bcond_without gnomeprint # build without gnomeprint support %bcond_without gpg # build without GPG support %bcond_without ipv6 # build without IPv6 support %bcond_without jpilot # build without JPilot support %bcond_without ldap # build without LDAP support -%bcond_without spamassassin # build without spamassassin plugin -%bcond_without ssl # build without SSL support -%bcond_without trayicon # build without trayicon plugin +%bcond_without tls # build without gnuTLS support # Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client -Summary(pl): Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ -Name: sylpheed-claws -Version: 2.4.0 +Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń +Name: claws-mail +Version: 3.7.9 Release: 1 -License: GPL v2 -Group: X11/Applications/Networking -Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2 -# Source0-md5: 8e8e2b847d6466b1384e3a5a15b9f2e7 +License: GPL v3 +Group: X11/Applications/Mail +Source0: http://downloads.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2 +# Source0-md5: 2f9d2dcabf84e312cfeb56efa799b5b3 Source1: %{name}.desktop -URL: http://www.sylpheed-claws.net/ -BuildRequires: aspell-devel >= 2:0.50 -BuildRequires: autoconf >= 2.50 +URL: http://www.claws-mail.org/ +BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: bzip2-devel -%{?with_clamav:BuildRequires: clamav-devel} %{?with_compface:BuildRequires: compface-devel} -BuildRequires: gdk-pixbuf-devel >= 0.8 BuildRequires: gettext-devel BuildRequires: gmp-devel +%{?with_tls:BuildRequires: gnutls-devel >= 2.6.0} %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5} -BuildRequires: gtk+2-devel >= 2:2.4.0 -BuildRequires: imlib-devel >= 1.9 -BuildRequires: libetpan-devel >= 0.45 -%{?with_gnomeprint:BuildRequires: libgnomeprintui-devel} +BuildRequires: gtk+2-devel >= 2:2.12.8 +BuildRequires: libetpan-devel >= 0.57 +BuildRequires: liblockfile-devel BuildRequires: libltdl-devel BuildRequires: libtool %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} -%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d} %{?with_jpilot:BuildRequires: pilot-link-devel} BuildRequires: pkgconfig +BuildRequires: rpmbuild(macros) >= 1.311 BuildRequires: startup-notification-devel >= 0.5 -Obsoletes: sylpheed +Requires(post,postun): gtk-update-icon-cache +Requires(post,postun): hicolor-icon-theme +Requires: gtk+2 >= 2:2.12.8 +Provides: sylpheed-claws +Obsoletes: claws-mail-plugin-clamav +Obsoletes: claws-mail-plugin-etpan-privacy +Obsoletes: claws-mail-plugin-maildir +Obsoletes: claws-mail-plugin-pdf_viewer +Obsoletes: sylpheed-claws +Obsoletes: sylpheed-claws-plugin-clamav Obsoletes: sylpheed-gtk2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -53,132 +54,167 @@ This program is an X based fast e-mail client which has features same as orginal Sylpheed but with new/improved features. Some of new stuff is really cool and useable. -%description -l pl -Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed -ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê -¶wietne i u¿yteczne. +%description -l pl.UTF-8 +Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed +ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę +świetne i użyteczne. %package devel -Summary: Headers from Sylpheed-Claws -Summary(pl): Pliki nag³ówkowe programu Sylpheed-Claws -Group: X11/Applications/Networking +Summary: Headers from Claws-Mail +Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail +Group: X11/Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: gnutls-devel >= 2.6.0 Requires: gpgme-devel >= 1:0.4.5 -Requires: libetpan-devel >= 0.45 -Requires: openssl-devel >= 0.9.7d +Requires: libetpan-devel >= 0.54 +Provides: sylpheed-claws-devel +Obsoletes: sylpheed-claws-devel %description devel -Sylpheed-Claws development package. +Claws-Mail development package. -%description devel -l pl -Pliki nag³ówkowe programu Sylpheed-Claws. +%description devel -l pl.UTF-8 +Pliki nagłówkowe programu Claws-Mail. %package plugins -Summary: Special plugins for Sylpheed-Claws (metapackage) -Summary(pl): Dodatkowe wtyczki dla Sylpheed-Claws (metapakiet) -Group: X11/Applications/Networking +Summary: Special plugins for Claws-Mail (metapackage) +Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet) +Group: X11/Applications/Mail Requires: %{name} = %{version}-%{release} -%{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}} -%{?with_dillo:Requires: %{name}-plugin-dillo = %{version}-%{release}} +Requires: %{name}-plugin-bogofilter = %{version}-%{release} +Requires: %{name}-plugin-dillo = %{version}-%{release} %if %{with gpg} Requires: %{name}-plugin-pgpinline = %{version}-%{release} Requires: %{name}-plugin-pgpmime = %{version}-%{release} %endif -%{?with_spamassassin:Requires: %{name}-plugin-spamassassin = %{version}-%{release}} -%{?with_trayicon:Requires: %{name}-plugin-trayicon = %{version}-%{release}} +Requires: %{name}-plugin-smime = %{version}-%{release} +Requires: %{name}-plugin-spamassassin = %{version}-%{release} +Requires: %{name}-plugin-trayicon = %{version}-%{release} +Provides: sylpheed-claws-plugins = %{version} +Obsoletes: sylpheed-claws-plugins %description plugins -This is collection of some usefull plugins for Sylpheed-Claws +This is collection of some usefull plugins for Claws-Mail (metapackage). -%description plugins -l pl -Jest to zbiór kilku dodatkowych wtyczek powiêkszaj±cych mo¿liwo¶ci -Sylpheed-Claws (metapakiet). +%description plugins -l pl.UTF-8 +Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości +Claws-Mail (metapakiet). -%package plugin-clamav -Summary: clamav plugin for Sylpheed-Claws -Summary(pl): Wtyczka clamav dla Sylpheed-Claws -Group: X11/Applications/Networking +%package plugin-bogofilter +Summary: Bogofilter plugin for Claws-Mail +Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail +Group: X11/Applications/Mail Requires: %{name} = %{version}-%{release} -Conflicts: sylpheed-claws-plugins <= 2.3.0-1 +Requires: bogofilter +Provides: sylpheed-claws-plugin-bogofilter +Obsoletes: sylpheed-claws-plugin-bogofilter -%description plugin-clamav -This plugin enables the scanning of message attachments in mail -received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It -can optionally delete the mail or save it to a designated folder. +%description plugin-bogofilter +This plugin enables the scanning of incoming mail received from a POP, +IMAP or LOCAL account using Bogofilter. It can optionally delete mail +identified as spam or save it to a designated folder. -%description plugin-clamav -l pl -Ta wtyczka pozwala na lokalne skanowanie za³±czników z poczty -otrzymanej przez POP, IMAP lub znajduj±cej siê w lokalnych skrzynkach. -Opcjonalnie mo¿e usuwaæ lub zapisywaæ zainfekowane listy w przeznaczonym -do tego folderze. +%description plugin-bogofilter -l pl.UTF-8 +Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej +jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może +usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym +folderze. %package plugin-dillo -Summary: dillo plugin for Sylpheed-Claws -Summary(pl): Wtyczka dillo dla Sylpheed-Claws -Group: X11/Applications/Networking +Summary: dillo plugin for Claws-Mail +Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail +Group: X11/Applications/Mail Requires: %{name} = %{version}-%{release} Requires: dillo +Provides: sylpheed-claws-plugin-dillo +Obsoletes: sylpheed-claws-plugin-dillo Conflicts: sylpheed-claws-plugins <= 2.3.0-1 %description plugin-dillo This plugin enables the viewing of html messages using the Dillo web browser. -%description plugin-dillo -l pl -Wtyczka pozwalaj±ca na przegl±danie listów pisanych w HTML przy pomocy -przegl±darki Dillo. +%description plugin-dillo -l pl.UTF-8 +Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy +przeglądarki Dillo. %package plugin-pgpcore -Summary: PGP/Core plugin for Sylpheed-Claws -Summary(pl): Wtyczka PGP/Core dla Sylpheed-Claws -Group: X11/Applications/Networking +Summary: PGP/Core plugin for Claws-Mail +Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail +Group: X11/Applications/Mail Requires: %{name} = %{version}-%{release} +Provides: sylpheed-claws-plugin-pgpcore +Obsoletes: sylpheed-claws-plugin-pgpcore Conflicts: sylpheed-claws-plugins <= 2.3.0-1 %description plugin-pgpcore This plugin handles core PGP functions. -%description plugin-pgpcore -l pl -Wtyczka obs³uguj±ca podstawowe funkcje PGP. +%description plugin-pgpcore -l pl.UTF-8 +Wtyczka obsługująca podstawowe funkcje PGP. %package plugin-pgpinline -Summary: PGP/Inline plugin for Sylpheed-Claws -Summary(pl): Wtyczka PGP/Inline dla Sylpheed-Claws -Group: X11/Applications/Networking +Summary: PGP/Inline plugin for Claws-Mail +Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail +Group: X11/Applications/Mail Requires: %{name}-plugin-pgpcore = %{version}-%{release} +Provides: sylpheed-claws-plugin-pgpinline +Obsoletes: sylpheed-claws-plugin-pgpinline Conflicts: sylpheed-claws-plugins <= 2.3.0-1 %description plugin-pgpinline This plugin handles PGP/Inline signed and/or encrypted mails. It can decrypt mails, verify signatures or sign and encrypt your own mails. -%description plugin-pgpinline -l pl -Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/Inline. Potrafi -rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ -w³asne listy. +%description plugin-pgpinline -l pl.UTF-8 +Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi +rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać +własne listy. %package plugin-pgpmime -Summary: PGP/MIME plugin for Sylpheed-Claws -Summary(pl): Wtyczka PGP/MIME dla Sylpheed-Claws -Group: X11/Applications/Networking +Summary: PGP/MIME plugin for Claws-Mail +Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail +Group: X11/Applications/Mail Requires: %{name}-plugin-pgpcore = %{version}-%{release} +Provides: sylpheed-claws-plugin-pgpmime +Obsoletes: sylpheed-claws-plugin-pgpmime Conflicts: sylpheed-claws-plugins <= 2.3.0-1 %description plugin-pgpmime This plugin handles PGP/MIME signed and/or encrypted mails. It can decrypt mails, verify signatures or sign and encrypt your own mails. -%description plugin-pgpmime -l pl -Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/MIME. Potrafi -rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ -w³asne listy. +%description plugin-pgpmime -l pl.UTF-8 +Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi +rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać +własne listy. + +%package plugin-smime +Summary: S/MIME plugin for Claws-Mail +Summary(pl.UTF-8): Wtyczka S/MIME dla Claws-Mail +Group: X11/Applications/Mail +Requires: %{name} = %{version}-%{release} +Requires: %{name}-plugin-pgpcore = %{version}-%{release} +Provides: sylpheed-claws-plugin-smime +Obsoletes: sylpheed-claws-plugin-smime + +%description plugin-smime +This plugin handles S/MIME signed and/or encrypted mails. You can +decrypt mails, verify signatures or sign and encrypt your own mails. + +%description plugin-smime -l pl.UTF-8 +Wtyczka obsługująca listy podpisane lub szyfrowane S/MIME. Potrafi +rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać +własne listy. %package plugin-spamassassin -Summary: spamassassin plugin for Sylpheed-Claws -Summary(pl): Wtyczka spamassassin dla Sylpheed-Claws -Group: X11/Applications/Networking +Summary: spamassassin plugin for Claws-Mail +Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail +Group: X11/Applications/Mail Requires: %{name} = %{version}-%{release} +Provides: sylpheed-claws-plugin-spamassassin +Obsoletes: sylpheed-claws-plugin-spamassassin Conflicts: sylpheed-claws-plugins <= 2.3.0-1 %description plugin-spamassassin @@ -187,18 +223,20 @@ IMAP, or LOCAL account using SpamAssassin. It can optionally delete mail identified as spam or save it to a designated folder, and also can be used to train a local Spamassassin or a remote one. -%description plugin-spamassassin -l pl -Wtyczka pozwalaj±ca na skanowanie SpamAssassinem poczty przychodz±cej -jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e -usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym -folderze. Mo¿e te¿ by¿ u¿ywana do "uczenia" lokalnego lub zdalnego +%description plugin-spamassassin -l pl.UTF-8 +Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej +jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może +usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym +folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego demona SpamAssassin. %package plugin-trayicon -Summary: trayicon plugin for Sylpheed-Claws -Summary(pl): Wtyczka trayicon dla Sylpheed-Claws -Group: X11/Applications/Networking +Summary: trayicon plugin for Claws-Mail +Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail +Group: X11/Applications/Mail Requires: %{name} = %{version}-%{release} +Provides: sylpheed-claws-plugin-trayicon +Obsoletes: sylpheed-claws-plugin-trayicon Conflicts: sylpheed-claws-plugins <= 2.3.0-1 %description plugin-trayicon @@ -207,10 +245,10 @@ you have any new mail. A tooltip also shows the current new, unread and total number of messages, and a contextual menu allows the most common operations. -%description plugin-trayicon -l pl -Wtyczka umieszczaj±ca w tacce systemowej ikonê informuj±c± o nadej¶ciu -nowej poczty. Ikona wy¶wietla dane na temat wiadomo¶ci (ilo¶æ nowych, -nieprzeczytanych i wszystkich) a jej menu pozwala wykonywaæ +%description plugin-trayicon -l pl.UTF-8 +Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu +nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych, +nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać najpopularniejsze operacje. %prep @@ -218,6 +256,12 @@ najpopularniejsze operacje. rm -f po/stamp-po +# pt_PT -> pt hack +mv -f po/{pt_PT,pt}.po +%{__sed} -i -e 's,pt_PT,pt,g' src/codeconv.c +%{__sed} -i -e 's,pt_PT,pt,g' configure +%{__sed} -i -e 's,pt_PT,pt,g' configure.ac + %build %{__libtoolize} %{__gettextize} @@ -226,25 +270,21 @@ rm -f po/stamp-po %{__autoheader} %{__automake} %configure \ - --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \ --%{?with_compface:en}%{!?with_compface:dis}able-compface \ - --%{?with_dillo:en}%{!?with_dillo:dis}able-dillo-viewer-plugin \ - --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \ --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \ --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \ --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \ --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \ --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \ --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \ - --%{?with_spamassassin:en}%{!?with_spamassassin:dis}able-spamassassin-plugin \ - --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \ - --%{?with_trayicon:en}%{!?with_trayicon:dis}able-trayicon-plugin \ - --enable-aspell \ - --enable-gdk-pixbuf \ - --enable-pthread \ - --disable-static \ + --%{?with_tls:en}%{!?with_tls:dis}able-gnutls \ + --enable-bogofilter-plugin \ + --enable-dillo-viewer-plugin \ --enable-libetpan \ - --with-config-dir=.sylpheed + --enable-pthread \ + --enable-spamassassin-plugin \ + --enable-trayicon-plugin \ + --disable-static %{__make} @@ -253,35 +293,46 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}} %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT \ - DATADIRNAME=share + DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la} +rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES +rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{de,en,es,fr,pl}/*.{pdf,ps,html,txt} %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT +%post +%update_icon_cache hicolor + +%postun +%update_icon_cache hicolor + %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README* TODO +%doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO %{_mandir}/man1/%{name}.1* %attr(755,root,root) %{_bindir}/* %dir %{_datadir}/%{name} -%dir %{_datadir}/%{name}/manual +%dir %{_docdir}/%{name} +%dir %{_docdir}/%{name}/manual %dir %{_datadir}/%{name}/themes %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins -%{_datadir}/%{name}/manual/en -%lang(fr) %{_datadir}/%{name}/manual/fr -%lang(pl) %{_datadir}/%{name}/manual/pl +%{_docdir}/%{name}/manual/en +%lang(es) %{_docdir}/%{name}/manual/es +%lang(fr) %{_docdir}/%{name}/manual/fr +%lang(pl) %{_docdir}/%{name}/manual/pl %{_desktopdir}/%{name}.desktop %{_pixmapsdir}/%{name}.png %{_iconsdir}/hicolor/48x48/apps/%{name}.png +%{_iconsdir}/hicolor/64x64/apps/%{name}.png +%{_iconsdir}/hicolor/128x128/apps/%{name}.png %files devel %defattr(644,root,root,755) @@ -291,17 +342,13 @@ rm -rf $RPM_BUILD_ROOT %files plugins %defattr(644,root,root,755) -%if %{with clamav} -%files plugin-clamav +%files plugin-bogofilter %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so -%endif +%attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so -%if %{with dillo} %files plugin-dillo %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so -%endif %if %{with gpg} %files plugin-pgpcore @@ -317,14 +364,14 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so %endif -%if %{with spamassassin} +%files plugin-smime +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/%{name}/plugins/smime.so + %files plugin-spamassassin %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so -%endif -%if %{with trayicon} %files plugin-trayicon %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so -%endif