SPECS: xfce4-genmon-plugin.spec - up to 3.0 (for Xfce 4.4)
teodor
teodor at pld-linux.org
Tue Jan 23 17:37:41 CET 2007
Author: teodor Date: Tue Jan 23 16:37:41 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 3.0 (for Xfce 4.4)
---- Files affected:
SPECS:
xfce4-genmon-plugin.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/xfce4-genmon-plugin.spec
diff -u SPECS/xfce4-genmon-plugin.spec:1.6 SPECS/xfce4-genmon-plugin.spec:1.7
--- SPECS/xfce4-genmon-plugin.spec:1.6 Mon Jun 6 23:22:05 2005
+++ SPECS/xfce4-genmon-plugin.spec Tue Jan 23 17:37:35 2007
@@ -1,17 +1,16 @@
# $Revision$, $Date$
-%define name_src xfce4-GenMon-plugin
Summary: Generic monitor plugin for the Xfce4 Panel
Summary(pl): Wtyczka ogólnego przeznaczenia dla panelu Xfce4
Name: xfce4-genmon-plugin
-Version: 1.1
+Version: 3.0
Release: 1
License: LGPL v2.1
Group: X11/Applications
-Source0: http://download.berlios.de/xfce-goodies/%{name_src}-%{version}.tar.gz
-# Source0-md5: d9ebea4373ba52b08ec37c9026e09402
-URL: http://xfce-goodies.berlios.de/
+Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: e44c78dab7a2856b76d5a1d8c9e6ebf2
+URL: http://goodies.xfce.org/
BuildRequires: pkgconfig
-BuildRequires: xfce4-panel-devel >= 4.1.99
+BuildRequires: xfce4-panel-devel >= 4.4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -23,10 +22,28 @@
przechwytując jego standardowe wyjście i wyświetla je w postaci
tekstowej na panelu.
+%package scripts
+Summary: Sample scripts for xfce4-genmon-plugin
+Summary(pl): Przykładowe skrypty dla xfce4-genmon-plugin
+Group: X11/Applications
+Requires: %{name} = %{version}
+
+%description scripts
+Sample scripts for xfce4-genmon-plugin
+
+%description scripts -l pl
+Przykładowe skrypty dla xfce4-genmon-plugin
+
%prep
%setup -q
%build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
%configure \
--disable-static
%{__make}
@@ -37,15 +54,33 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.la
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install scripts/{datetime,disktemp,dkspuse,monBat,monCPU,monTime,monUSB,monWIFI,samples.txt} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
+%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/%{name}
+%{_datadir}/xfce4/panel-plugins/genmon.desktop
+
+%files scripts
+%defattr(644,root,root,755)
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/datetime
+%{_examplesdir}/%{name}-%{version}/disktemp
+%{_examplesdir}/%{name}-%{version}/dkspuse
+%{_examplesdir}/%{name}-%{version}/monBat
+%{_examplesdir}/%{name}-%{version}/monCPU
+%{_examplesdir}/%{name}-%{version}/monTime
+%{_examplesdir}/%{name}-%{version}/monUSB
+%{_examplesdir}/%{name}-%{version}/monWIFI
+%{_examplesdir}/%{name}-%{version}/samples.txt
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -53,6 +88,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2007/01/23 16:37:35 teodor
+- up to 3.0 (for Xfce 4.4)
+
Revision 1.6 2005/06/06 21:22:05 zbyniu
- BR: pkgconfig
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/xfce4-genmon-plugin.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list