Group :: Sistema/Kernel e hardware
RPM: powertop1
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define origname powertop
Name: powertop1
Version: 1.13
Release: alt3.1
Summary: Tool that helps you find what software is using the most power
License: GPLv2 only
Group: System/Kernel and hardware
Url: http://www.lesswatts.org/projects/powertop
Source: %url/download/powertop-%version.tar.gz
Patch: powertop-1.13-kconfig.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Wed Aug 04 2010
BuildRequires: libncursesw-devel
%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.
PowerTOP works best on a laptop computer, or at least a computer
with a mobile processor (certain small non-laptop devices also
contain a mobile processor). When using PowerTOP on a laptop,
do so when running on battery.
Please note that it also runs just fine with e.g. AMD CPUs. :)
%prep
%setup -n %origname-%version
%patch -p1
%build
%make_build CC="gcc %optflags"
%install
%makeinstall_std
#find_lang %origname
%files
%doc Changelog README
%_bindir/*
#_man8dir/*
%changelog
…
Todas as alterações você pod ver aqui
Name: powertop1
Version: 1.13
Release: alt3.1
Summary: Tool that helps you find what software is using the most power
License: GPLv2 only
Group: System/Kernel and hardware
Url: http://www.lesswatts.org/projects/powertop
Source: %url/download/powertop-%version.tar.gz
Patch: powertop-1.13-kconfig.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Wed Aug 04 2010
BuildRequires: libncursesw-devel
%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.
PowerTOP works best on a laptop computer, or at least a computer
with a mobile processor (certain small non-laptop devices also
contain a mobile processor). When using PowerTOP on a laptop,
do so when running on battery.
Please note that it also runs just fine with e.g. AMD CPUs. :)
%prep
%setup -n %origname-%version
%patch -p1
%build
%make_build CC="gcc %optflags"
%install
%makeinstall_std
#find_lang %origname
%files
%doc Changelog README
%_bindir/*
#_man8dir/*
%changelog
…
Todas as alterações você pod ver aqui