X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=claws-mail.spec;h=693f469331575810edb7356d9fb2e739e0d6fd8c;hb=e7e6602ede12a0af32542eaa7604a1e41cd52405;hp=098b8db2a9d90d60cabad30ccca9694b1baf0a0e;hpb=ff99b237bd5d5e5e3684828e71797b566d8eafe6;p=packages%2Fclaws-mail.git diff --git a/claws-mail.spec b/claws-mail.spec index 098b8db..693f469 100644 --- a/claws-mail.spec +++ b/claws-mail.spec @@ -5,45 +5,45 @@ %bcond_without ipv6 # build without IPv6 support %bcond_without jpilot # build without JPilot support %bcond_without ldap # build without LDAP support -%bcond_without ssl # build without SSL support +%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.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń Name: claws-mail -Version: 3.5.0 +Version: 3.7.9 Release: 1 License: GPL v3 Group: X11/Applications/Mail -Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2 -# Source0-md5: 597a9a0b9d113325de6fd01500c0af98 +Source0: http://downloads.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2 +# Source0-md5: 2f9d2dcabf84e312cfeb56efa799b5b3 Source1: %{name}.desktop URL: http://www.claws-mail.org/ -BuildRequires: aspell >= 2:0.50 -BuildRequires: aspell-devel >= 2:0.50 BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: bzip2-devel %{?with_compface:BuildRequires: compface-devel} 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.10.0 -BuildRequires: libetpan-devel >= 0.54 +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 -Requires(post,postun): gtk+2 +Requires(post,postun): gtk-update-icon-cache Requires(post,postun): hicolor-icon-theme -Requires: gtk+2 >= 2:2.10.0 +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 @@ -64,9 +64,9 @@ 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.54 -Requires: openssl-devel >= 0.9.7d Provides: sylpheed-claws-devel Obsoletes: sylpheed-claws-devel @@ -87,6 +87,7 @@ Requires: %{name}-plugin-dillo = %{version}-%{release} Requires: %{name}-plugin-pgpinline = %{version}-%{release} Requires: %{name}-plugin-pgpmime = %{version}-%{release} %endif +Requires: %{name}-plugin-smime = %{version}-%{release} Requires: %{name}-plugin-spamassassin = %{version}-%{release} Requires: %{name}-plugin-trayicon = %{version}-%{release} Provides: sylpheed-claws-plugins = %{version} @@ -189,6 +190,24 @@ 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 Claws-Mail Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail @@ -237,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} @@ -252,8 +277,7 @@ rm -f po/stamp-po --%{?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_ssl:en}%{!?with_ssl:dis}able-openssl \ - --enable-aspell \ + --%{?with_tls:en}%{!?with_tls:dis}able-gnutls \ --enable-bogofilter-plugin \ --enable-dillo-viewer-plugin \ --enable-libetpan \ @@ -276,7 +300,7 @@ 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/{en,es,fr,pl}/*.{pdf,ps,html} +rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{de,en,es,fr,pl}/*.{pdf,ps,html,txt} %find_lang %{name} @@ -307,6 +331,8 @@ rm -rf $RPM_BUILD_ROOT %{_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) @@ -338,6 +364,10 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so %endif +%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