diff --git a/README.md b/README.md index 3d59732..7df7098 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # powertop +PowerTOP is a Linux tool to diagnose issues with power consumption and power management. In addition to being a diagnostic tool, PowerTOP also has an interactive mode where the user can experiment various power management settings for cases where the Linux distribution has not enabled these settings + diff --git a/powertop.spec b/powertop.spec new file mode 100644 index 0000000..70e54d4 --- /dev/null +++ b/powertop.spec @@ -0,0 +1,70 @@ +Name: powertop +Version: 2.5 +Release: 1mamba +Summary: A Linux tool to diagnose issues with power consumption and power management +Group: System/Benchmarks +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: https://01.org/powertop/ +Source: https://01.org/powertop/sites/default/files/downloads/powertop-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc +BuildRequires: libgcc +BuildRequires: libncurses +BuildRequires: libpci-devel +BuildRequires: libnl-devel +BuildRequires: libstdc++3-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PowerTOP is a Linux tool to diagnose issues with power consumption and power management. In addition to being a diagnostic tool, PowerTOP also has an interactive mode where the user can experiment various power management settings for cases where the Linux distribution has not enabled these settings + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_sbindir}/powertop +%{_mandir}/man8/powertop.8.gz +%doc COPYING + +%changelog +* Tue Nov 26 2013 Automatic Build System 2.5-1mamba +- automatic version update by autodist + +* Sun Aug 04 2013 Automatic Build System 2.4-1mamba +- automatic version update by autodist + +* Mon Apr 15 2013 Automatic Build System 2.3-1mamba +- automatic version update by autodist + +* Sat Dec 08 2012 Automatic Build System 2.2-1mamba +- update to 2.2 + +* Tue Aug 28 2012 openmamba WebBuild System 2.1-2mamba +- reduce Summary text length + +* Mon Aug 27 2012 openmamba WebBuild System 2.1-1mamba +- update to 2.1 + +* Sun May 13 2012 Ercole 'ercolinux' Carpanetto 2.0-1mamba +- package created by autospec