forked from pool/powertop
81 lines
2.4 KiB
RPMSpec
81 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package powertop (Version 1.3)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: powertop
|
|
URL: http://www.linuxpowertop.org
|
|
Summary: PowerTOP is a Linux tool to find out what is using power on a laptop
|
|
Version: 1.3
|
|
Release: 1
|
|
License: GNU General Public License (GPL)
|
|
Group: System/Monitoring
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Autoreqprov: on
|
|
|
|
%description
|
|
PowerTOP is a program that collects the various pieces of information
|
|
from your system and presents an overview of how well your laptop is
|
|
doing in terms of power savings.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Arjan van de Ven <arjan@linux.intel.com>
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
CFLAGS="$RPM_OPT_FLAGS" make
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/%{_bindir}
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
%clean
|
|
rm -rf %{_buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|
|
* Tue May 22 2007 - thoenig@suse.de
|
|
- Update to PowerTOP 1.3
|
|
- Remove patch powertop-fix-compiler-warnings-thoenig-02.patch:
|
|
merged upstream
|
|
- Changes:
|
|
* Add suggestion for CONFIG_SND_AC97_POWER_SAVE
|
|
* Fix inefficient code for readdir (Vince Pinter)
|
|
* Highlight the worst offenders in bold (Vince Pinter)
|
|
* Fix crash when running on 2.4 kernels (Harald Fernengel)
|
|
* Check fgets() return values (Timom Hoenig @ SuSE)
|
|
* add suggestion to enable laptop mode (when disabled)
|
|
* add suggestion to disable bluetooth when unused
|
|
* Tue May 15 2007 - thoenig@suse.de
|
|
- Update to PowerTOP 1.2 (skipped 1.1)
|
|
- Fix battery code to work with both, mA and mW
|
|
- Clean up spec file
|
|
- Update patch powertop-fix-compiler-warnings-thoenig-02.patch
|
|
- Drop patch powertop-respect-rpm-opt-flags-thoenig-01.patch
|
|
* Sun May 13 2007 - thoenig@suse.de
|
|
- Add patch powertop-fix-compiler-warnings-thoenig-01.patch: Make
|
|
compiler warnings about unsued parameters and return values not
|
|
being repected go away.
|
|
- Fix whitespaces for %%description
|
|
* Sun May 13 2007 - thoenig@suse.de
|
|
- Initial package submission (PowerTOP 1.0)
|
|
- Add patch powertop-respect-rpm-opt-flags-thoenig-01.patch: Fix
|
|
Makefile to respect RPM_OPT_FLAGS
|