Author: megabajt Date: Wed Apr 18 16:15:52 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: xfce4-cpufreq-plugin.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/xfce4-cpufreq-plugin.spec diff -u /dev/null SPECS/xfce4-cpufreq-plugin.spec:1.1 --- /dev/null Wed Apr 18 18:15:52 2007 +++ SPECS/xfce4-cpufreq-plugin.spec Wed Apr 18 18:15:47 2007 @@ -0,0 +1,71 @@ +# $Revision$, $Date$ +Summary: A cpufreq plugin for the Xfce panel +Name: xfce4-cpufreq-plugin +Version: 0.0.1 +Release: 1 +License: GPL v2 +Group: X11/Applications +Source0: http://goodies.xfce.org/releases/xfce4-cpufreq-plugin/%{name}-%{version}.tar.gz +# Source0-md5: 7ad41541d8065aab941de7d62857aa8b +URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: intltool >= 0.35.5 +BuildRequires: libtool +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 +This plugin displays the current frequency of the CPU, in GHz or MHz +as necessary. It also displays the frequency relative to the maximum +CPU frequency as an accordingly colored progress bar. + +%prep +%setup -q -n xfce4-cpu-freq-plugin-%{version} + +%build +%{__intltoolize} +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%update_icon_cache hicolor + +%postun +%update_icon_cache hicolor + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-cpu-freq-plugin +%{_datadir}/xfce4/panel-plugins/xfce4-cpu-freq-plugin.desktop +%{_iconsdir}/hicolor/*/apps/cpu.* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/04/18 16:15:47 megabajt +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit