SPECS: xfce4-battery-plugin.spec - up to 0.5.0

megabajt megabajt at pld-linux.org
Sat Jan 27 21:55:53 CET 2007


Author: megabajt                     Date: Sat Jan 27 20:55:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.5.0

---- Files affected:
SPECS:
   xfce4-battery-plugin.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/xfce4-battery-plugin.spec
diff -u SPECS/xfce4-battery-plugin.spec:1.16 SPECS/xfce4-battery-plugin.spec:1.17
--- SPECS/xfce4-battery-plugin.spec:1.16	Mon Feb 27 10:36:44 2006
+++ SPECS/xfce4-battery-plugin.spec	Sat Jan 27 21:55:48 2007
@@ -2,33 +2,39 @@
 Summary:	Battery monitor panel plugin for Xfce
 Summary(pl):	Monitor zużycia baterii dla panelu Xfce
 Name:		xfce4-battery-plugin
-Version:	0.3.0
+Version:	0.5.0
 Release:	1
-License:	BSD-like
+License:	GPL v2
 Group:		X11/Applications
-Source0:	http://download.berlios.de/xfce-goodies/%{name}-%{version}.tar.gz
-# Source0-md5:	04e121df1ff264281e56e12a8ff5f155
-URL:		http://xfce-goodies.berlios.de/
-BuildRequires:	autoconf
+Source0:	http://goodies.xfce.org/releases/xfce4-battery-plugin/%{name}-%{version}.tar.bz2
+# Source0-md5:	c1d923bb90b79087ca7044bcc24bab5a
+URL:		http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin
+BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
+BuildRequires:	intltool
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
-BuildRequires:	xfce4-panel-devel >= 3.99.2
-Requires:	xfce4-panel >= 3.99.2
+BuildRequires:	rpmbuild(macros) >= 1.311
+BuildRequires:	xfce4-dev-tools >= 4.4.0
+BuildRequires:	xfce4-panel-devel >= 4.4.0
+Requires(post,postun):	gtk+2
+Requires(post,postun):	hicolor-icon-theme
+Requires:	xfce4-panel >= 4.4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Battery monitor panel plugin for Xfce.
 
 %description -l pl
-Wtyczka dla panelu Xfce4 pokazująca zużycie baterii.
+Wtyczka dla panelu Xfce pokazująca zużycie baterii.
 
 %prep
 %setup -q
 
 %build
+%{__intltoolize}
 %{__libtoolize}
-%{__aclocal} -I m4
+%{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -43,15 +49,23 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.la
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog README
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-battery-plugin
+%{_datadir}/xfce4/panel-plugins/battmon.desktop
+%{_iconsdir}/hicolor/*/devices/*.*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2007/01/27 20:55:48  megabajt
+- up to 0.5.0
+
 Revision 1.16  2006/02/27 09:36:44  rotom
 - up to 0.3.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xfce4-battery-plugin.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list