SPECS: gkrellm-cpufreq.spec - updated to 0.5.5 - package scripts t...
maciek2w
maciek2w at pld-linux.org
Thu Feb 2 13:51:49 CET 2006
Author: maciek2w Date: Thu Feb 2 12:51:49 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.5.5
- package scripts to change CPU frequency
---- Files affected:
SPECS:
gkrellm-cpufreq.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/gkrellm-cpufreq.spec
diff -u SPECS/gkrellm-cpufreq.spec:1.4 SPECS/gkrellm-cpufreq.spec:1.5
--- SPECS/gkrellm-cpufreq.spec:1.4 Sun Jan 9 20:14:34 2005
+++ SPECS/gkrellm-cpufreq.spec Thu Feb 2 13:51:44 2006
@@ -2,12 +2,12 @@
Summary: CPU Frequency plugin for Gkrellm 2.x
Summary(pl): Wtyczka częstotliwości CPU dla Gkrellma 2.x
Name: gkrellm-cpufreq
-Version: 0.5.2
+Version: 0.5.5
Release: 1
License: GPL
Group: X11/Applications
Source0: http://iacs.epfl.ch/~winkelma/gkrellm2-cpufreq/gkrellm2-cpufreq-%{version}.tar.gz
-# Source0-md5: 9be9b733b19790cab2fd155b54f686ef
+# Source0-md5: c7fd073c1fd4d32cb76ab131cf29e1fe
URL: http://iacs.epfl.ch/~winkelma/gkrellm2-cpufreq/
BuildRequires: gkrellm-devel >= 2.0
BuildRequires: gtk+2-devel >= 1:2.0
@@ -18,9 +18,21 @@
%description
A plugin for displaying and manipulating CPU frequency.
+You might want to add the following to /etc/sudoers:
+<user> ALL = (root) NOPASSWD: /usr/sbin/cpufreqset [0-9]*
+<user> ALL = (root) NOPASSWD: /usr/sbin/cpufreqsetgovernor [a-z]
+<user> ALL = (root) NOPASSWD: /usr/sbin/cpufreqnextgovernor
+
%description -l pl
Wtyczka do wyświetlania i manipulowania częstotliwością CPU.
+Aby zezwolić użytkownikowi <user> na zmianę częstotliwości CPU,
+należy dodać poniższe linie do pliku /etc/sudoers:
+
+<user> ALL = (root) NOPASSWD: /usr/sbin/cpufreqset [0-9]*
+<user> ALL = (root) NOPASSWD: /usr/sbin/cpufreqsetgovernor [a-z]
+<user> ALL = (root) NOPASSWD: /usr/sbin/cpufreqnextgovernor
+
%prep
%setup -q -n gkrellm2-cpufreq-%{version}
@@ -31,8 +43,12 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins
+install -d $RPM_BUILD_ROOT%{_sbindir}
install cpufreq.so $RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins
+install cpufreqset $RPM_BUILD_ROOT%{_sbindir}
+install cpufreqnextgovernor $RPM_BUILD_ROOT%{_sbindir}
+install cpufreqsetgovernor $RPM_BUILD_ROOT%{_sbindir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -41,6 +57,7 @@
%defattr(644,root,root,755)
%doc ChangeLog README
%attr(755,root,root) %{_libdir}/gkrellm2/plugins/cpufreq.so
+%attr(755,root,root) %{_sbindir}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -48,6 +65,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/02/02 12:51:44 maciek2w
+- updated to 0.5.5
+- package scripts to change CPU frequency
+
Revision 1.4 2005/01/09 19:14:34 pawelb
- up to 0.5.2
- by Paweł Cyranek
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gkrellm-cpufreq.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list