Пакет powertop: Specfile

Name: powertop
Version: 1.98
Release: alt0.M60P.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.kernel.org/pub/linux/status/powertop/
Source: http://www.kernel.org/pub/linux/status/powertop/powertop-%version.tar.bz2

# Automatically added by buildreq on Sat Aug 20 2011
BuildRequires: gcc-c++ libncursesw-devel libnl-devel libpci-devel zlib-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 an
Intel mobile processor (certain small non-laptop devices also contain a
mobile processor). When using PowerTOP on a laptop, do so when running
on battery.

%prep
%setup

%build
subst 's/@$(CC)/$(CC)/' Makefile
%make_build CC="gcc %optflags"

%install
%makeinstall_std

%find_lang %name

%files -f %name.lang
%doc README
%_bindir/*
/var/cache/powertop

%changelog
* Fri Dec 09 2011 Andrey Cherepanov <cas@altlinux.org> 1.98-alt0.M60P.1
- Backport to p6 branch (new version with error fixes)

* Sat Aug 20 2011 Victor Forsiuk <force@altlinux.org> 1.98-alt1
- 1.98

* Wed Aug 04 2010 Victor Forsiuk <force@altlinux.org> 1.13-alt1
- 1.13

* Fri Jan 15 2010 Victor Forsyuk <force@altlinux.org> 1.11-alt2
- Increase config lines buffer size. Closes ALT #22750.

* Thu Jun 18 2009 Victor Forsyuk <force@altlinux.org> 1.11-alt1
- 1.11

* Tue Jun 17 2008 Victor Forsyuk <force@altlinux.org> 1.10-alt1
- 1.10

* Thu Dec 27 2007 Victor Forsyuk <force@altlinux.org> 1.9-alt1
- 1.9

* Thu Aug 30 2007 Victor Forsyuk <force@altlinux.org> 1.8-alt1
- 1.8

* Mon Jul 09 2007 Victor Forsyuk <force@altlinux.org> 1.7-alt1
- 1.7

* Tue May 29 2007 Victor Forsyuk <force@altlinux.org> 1.5-alt1
- 1.5

* Wed May 16 2007 Victor Forsyuk <force@altlinux.org> 1.2-alt1
- 1.2

* Mon May 14 2007 Victor Forsyuk <force@altlinux.org> 1.1-alt1
- Initial build.