[svn] r5405 - in trunk/rpms: . powertop

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Tue May 15 01:02:45 CEST 2007


Author: dag
Date: 2007-05-15 01:02:45 +0200 (Tue, 15 May 2007)
New Revision: 5405

Added:
   trunk/rpms/powertop/
   trunk/rpms/powertop/powertop.spec
Log:
Updates

Added: trunk/rpms/powertop/powertop.spec
===================================================================
--- trunk/rpms/powertop/powertop.spec	                        (rev 0)
+++ trunk/rpms/powertop/powertop.spec	2007-05-14 23:02:45 UTC (rev 5405)
@@ -0,0 +1,49 @@
+# $Id$
+# Authority: dag
+# Upstream: <power$bughost,org>
+
+Summary: Tool that helps you find what software is using the most power
+Name: powertop
+Version: 1.1
+Release: 1
+License: GPL
+Group: Applications/System
+URL: http://www.linuxpowertop.org/
+
+Source: http://www.linuxpowertop.org/download/powertop-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+powertop is a Linux tool that finds the software component(s) that make your
+laptop use more power than necessary while it is idle. As of Linux kernel
+version 2.6.21, the kernel no longer has a fixed 1000Hz timer tick. This
+will (in theory) give a huge power savings because the CPU stays in low
+power mode for longer periods of time during system idle.
+
+However... there are many things that can ruin the party, both inside the
+kernel and in userspace. PowerTOP combines various sources of information
+from the kernel into one convenient screen so that you can see how well
+your system is doing, and which components are the biggest problem. 
+
+%prep
+%setup -n %{name}
+
+%build
+%{__make} %{?_smp_mflags} CFLAGS="%{optflags}"
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -d -m0755 %{buildroot}%{_bindir}
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changelog COPYING README
+%{_bindir}/powertop
+
+%changelog
+* Tue May 15 2007 Dag Wieers <dag at wieers.com> - 1.1-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/powertop/powertop.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native




More information about the commits mailing list