SPECS: sylpheed-claws.spec - up to 2.5.0 - add bogofilter plugin -...

megabajt megabajt at pld-linux.org
Mon Sep 25 19:40:49 CEST 2006


Author: megabajt                     Date: Mon Sep 25 17:40:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.5.0
- add bogofilter plugin
- use %update_icon_cache macro

---- Files affected:
SPECS:
   sylpheed-claws.spec (1.127 -> 1.128) 

---- Diffs:

================================================================
Index: SPECS/sylpheed-claws.spec
diff -u SPECS/sylpheed-claws.spec:1.127 SPECS/sylpheed-claws.spec:1.128
--- SPECS/sylpheed-claws.spec:1.127	Wed Sep  6 11:13:57 2006
+++ SPECS/sylpheed-claws.spec	Mon Sep 25 19:40:43 2006
@@ -16,12 +16,12 @@
 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
+Version:	2.5.0
 Release:	1
 License:	GPL v2
 Group:		X11/Applications/Networking
 Source0:	http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
-# Source0-md5:	8e8e2b847d6466b1384e3a5a15b9f2e7
+# Source0-md5:	1a7e6ae8db860e15c7d9c2081fb82496
 Source1:	%{name}.desktop
 URL:		http://www.sylpheed-claws.net/
 BuildRequires:	aspell-devel >= 2:0.50
@@ -34,9 +34,9 @@
 BuildRequires:	gettext-devel
 BuildRequires:	gmp-devel
 %{?with_gpg:BuildRequires:	gpgme-devel >= 1:0.4.5}
-BuildRequires:	gtk+2-devel >= 2:2.4.0
+BuildRequires:	gtk+2-devel >= 2:2.6.0
 BuildRequires:	imlib-devel >= 1.9
-BuildRequires:	libetpan-devel >= 0.45
+BuildRequires:	libetpan-devel >= 0.46
 %{?with_gnomeprint:BuildRequires:	libgnomeprintui-devel}
 BuildRequires:	libltdl-devel
 BuildRequires:	libtool
@@ -44,7 +44,9 @@
 %{?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):	hicolor-icon-theme
 Obsoletes:	sylpheed
 Obsoletes:	sylpheed-gtk2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -65,7 +67,7 @@
 Group:		X11/Applications/Networking
 Requires:	%{name} = %{version}-%{release}
 Requires:	gpgme-devel >= 1:0.4.5
-Requires:	libetpan-devel >= 0.45
+Requires:	libetpan-devel >= 0.46
 Requires:	openssl-devel >= 0.9.7d
 
 %description devel
@@ -79,6 +81,7 @@
 Summary(pl):	Dodatkowe wtyczki dla Sylpheed-Claws (metapakiet)
 Group:		X11/Applications/Networking
 Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-plugin-bogofilter = %{version}-%{release}
 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
 %{?with_dillo:Requires:	%{name}-plugin-dillo = %{version}-%{release}}
 %if %{with gpg}
@@ -96,6 +99,24 @@
 Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości
 Sylpheed-Claws (metapakiet).
 
+%package plugin-bogofilter
+Summary:	Bogofilter plugin for Sylpheed-Claws
+Summary(pl):	Wtyczka bogofilter dla Sylpheed-Claws
+Group:		X11/Applications/Networking
+Requires:	%{name} = %{version}-%{release}
+Requires:	bogofilter
+
+%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-bogofilter -l pl
+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-clamav
 Summary:	clamav plugin for Sylpheed-Claws
 Summary(pl):	Wtyczka clamav dla Sylpheed-Claws
@@ -241,6 +262,7 @@
 	--%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
 	--%{?with_trayicon:en}%{!?with_trayicon:dis}able-trayicon-plugin \
 	--enable-aspell \
+	--enable-bogofilter \
 	--enable-gdk-pixbuf \
 	--enable-pthread \
 	--disable-static \
@@ -254,19 +276,25 @@
 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%{_datadir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
 
 %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
@@ -278,6 +306,7 @@
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/plugins
 %{_datadir}/%{name}/manual/en
+%lang(es) %{_datadir}/%{name}/manual/es
 %lang(fr) %{_datadir}/%{name}/manual/fr
 %lang(pl) %{_datadir}/%{name}/manual/pl
 %{_desktopdir}/%{name}.desktop
@@ -292,6 +321,10 @@
 %files plugins
 %defattr(644,root,root,755)
 
+%files plugin-bogofilter
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
+
 %if %{with clamav}
 %files plugin-clamav
 %defattr(644,root,root,755)
@@ -336,6 +369,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.128  2006/09/25 17:40:43  megabajt
+- up to 2.5.0
+- add bogofilter plugin
+- use %update_icon_cache macro
+
 Revision 1.127  2006/09/06 09:13:57  luzik
 - added DATADIRNAME var
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sylpheed-claws.spec?r1=1.127&r2=1.128&f=u



More information about the pld-cvs-commit mailing list