|
|
f174599 |
Name: powertop
|
|
|
33c121d |
Version: 1.11
|
|
|
64abb1d |
Release: 3%{?dist}
|
|
|
f174599 |
Summary: Power consumption monitor
|
|
|
f174599 |
|
|
|
f174599 |
Group: Applications/System
|
|
|
0013c9a |
License: GPLv2
|
|
|
224589d |
URL: http://www.lesswatts.org/
|
|
|
224589d |
Source0: http://www.lesswatts.org/projects/%{name}/download/%{name}-%{version}.tar.gz
|
|
|
f174599 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f174599 |
|
|
|
113ffff |
BuildRequires: gettext
|
|
|
09c126d |
BuildRequires: ncurses-devel
|
|
|
f174599 |
|
|
|
e88bd46 |
Patch1: powertop-1.7-strncpy.patch
|
|
|
2540c06 |
|
|
|
f174599 |
%description
|
|
|
f174599 |
PowerTOP is a tool that finds the software component(s) that make your
|
|
|
f174599 |
computer use more power than necessary while it is idle.
|
|
|
f174599 |
|
|
|
f174599 |
%prep
|
|
|
e059469 |
%setup -q
|
|
|
e88bd46 |
%patch1 -p1 -b .strncpy
|
|
|
f174599 |
|
|
|
f174599 |
%build
|
|
|
f174599 |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
f174599 |
make %{?_smp_mflags}
|
|
|
f174599 |
|
|
|
f174599 |
%install
|
|
|
f174599 |
rm -rf $RPM_BUILD_ROOT
|
|
|
f174599 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
113ffff |
%find_lang %{name}
|
|
|
f174599 |
|
|
|
f174599 |
%clean
|
|
|
f174599 |
rm -rf $RPM_BUILD_ROOT
|
|
|
f174599 |
|
|
|
113ffff |
%files -f %{name}.lang
|
|
|
f174599 |
%defattr(-,root,root,-)
|
|
|
a6d211a |
%doc COPYING README
|
|
|
f174599 |
%{_bindir}/powertop
|
|
|
e059469 |
%{_mandir}/man1/powertop.1*
|
|
|
f174599 |
|
|
|
f174599 |
%changelog
|
|
|
64abb1d |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
|
|
|
64abb1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
64abb1d |
|
|
|
0f509a9 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
|
|
|
0f509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
0f509a9 |
|
|
|
33c121d |
* Tue Jan 06 2009 Adam Jackson <ajax@redhat.com> 1.11-1
|
|
|
33c121d |
- powertop 1.11
|
|
|
33c121d |
|
|
|
224589d |
* Thu Nov 20 2008 Adam Jackson <ajax@redhat.com>
|
|
|
224589d |
- Spec only change, fix URL.
|
|
|
224589d |
|
|
|
ee8319d |
* Thu Nov 6 2008 Josh Boyer <jwboyer@gmail.com> - 1.10-1
|
|
|
ee8319d |
- Update to latest release
|
|
|
ee8319d |
- Drop upstreamed patch
|
|
|
ee8319d |
|
|
|
0013c9a |
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.9-4
|
|
|
0013c9a |
- fix license tag
|
|
|
0013c9a |
|
|
|
fc72e1d |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9-3
|
|
|
fc72e1d |
- Autorebuild for GCC 4.3
|
|
|
fc72e1d |
|
|
|
67814a5 |
* Tue Jan 22 2008 Adam Jackson <ajax@redhat.com> 1.9-2
|
|
|
67814a5 |
- Use full path when invoking hciconfig. (Ville Skyttä, #426721)
|
|
|
67814a5 |
|
|
|
e59fcf7 |
* Mon Dec 10 2007 Josh Boyer <jwboyer@gmail.com> 1.9-1
|
|
|
e59fcf7 |
- Update to latest release
|
|
|
e59fcf7 |
|
|
|
e95cb0d |
* Mon Aug 20 2007 Josh Boyer <jwboyer@jdub.homelinux.org> 1.8-1
|
|
|
e95cb0d |
- Update to latest release
|
|
|
e95cb0d |
|
|
|
4d73580 |
* Mon Jul 23 2007 Bill Nottingham <notting@redhat.com> 1.7-4
|
|
|
4d73580 |
- add patch to allow dumping output to stdout
|
|
|
4d73580 |
|
|
|
e88bd46 |
* Mon Jul 09 2007 Adam Jackson <ajax@redhat.com> 1.7-3
|
|
|
e88bd46 |
- powertop-1.7-strncpy.patch: Use strncpy() to avoid stack smash. Patch from
|
|
|
e88bd46 |
Till Maas. (#246796)
|
|
|
e88bd46 |
|
|
|
2540c06 |
* Thu Jul 05 2007 Adam Jackson <ajax@redhat.com> 1.7-2
|
|
|
2540c06 |
- Don't suggest disabling g-p-m. Any additional power consumption is more
|
|
|
2540c06 |
than offset by the ability to suspend.
|
|
|
2540c06 |
|
|
|
616af20 |
* Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.7-1
|
|
|
616af20 |
- powertop 1.7.
|
|
|
616af20 |
|
|
|
18f9686 |
* Mon Jun 11 2007 Adam Jackson <ajax@redhat.com> 1.6-1
|
|
|
18f9686 |
- powertop 1.6.
|
|
|
18f9686 |
|
|
|
113ffff |
* Tue May 29 2007 Adam Jackson <ajax@redhat.com> 1.5-1
|
|
|
113ffff |
- powertop 1.5.
|
|
|
113ffff |
|
|
|
6d0198f |
* Mon May 21 2007 Adam Jackson <ajax@redhat.com> 1.3-1
|
|
|
6d0198f |
- powertop 1.3.
|
|
|
6d0198f |
|
|
|
e059469 |
* Tue May 15 2007 Adam Jackson <ajax@redhat.com> 1.2-1
|
|
|
e059469 |
- powertop 1.2. Fixes power reports on machines that report power in Amperes
|
|
|
e059469 |
instead of Watts.
|
|
|
e059469 |
|
|
|
a6d211a |
* Sun May 13 2007 Adam Jackson <ajax@redhat.com> 1.1-1
|
|
|
a6d211a |
- powertop 1.1.
|
|
|
a6d211a |
|
|
|
f174599 |
* Fri May 11 2007 Adam Jackson <ajax@redhat.com> 1.0-1
|
|
|
f174599 |
- Initial revision.
|