powertop 1.5
This commit is contained in:
parent
6d0198f65b
commit
113ffffc32
@ -1 +1 @@
|
||||
powertop-1.3.tar.gz
|
||||
powertop-1.5.tar.gz
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
--- powertop-1.2/Makefile.jx 2007-05-14 12:36:35.000000000 -0400
|
||||
+++ powertop-1.2/Makefile 2007-05-15 08:53:06.000000000 -0400
|
||||
@@ -1,4 +1,5 @@
|
||||
BINDIR=/usr/bin
|
||||
+MANDIR=/usr/share/man/man1
|
||||
WARNFLAGS=-Wall
|
||||
CFLAGS?=-O2 -g ${WARNFLAGS}
|
||||
CC?=gcc
|
||||
@@ -9,6 +10,8 @@
|
||||
install: powertop
|
||||
mkdir -p ${DESTDIR}${BINDIR}
|
||||
cp powertop ${DESTDIR}${BINDIR}
|
||||
+ mkdir -p ${DESTDIR}${MANDIR}
|
||||
+ cp powertop.1 ${DESTDIR}${MANDIR}
|
||||
|
||||
clean:
|
||||
rm -f *~ powertop
|
||||
@ -1,5 +1,5 @@
|
||||
Name: powertop
|
||||
Version: 1.3
|
||||
Version: 1.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Power consumption monitor
|
||||
|
||||
@ -9,7 +9,7 @@ URL: http://www.linuxpowertop.org/
|
||||
Source0: http://www.linuxpowertop.org/download/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Patch0: powertop-1.2-install-man-page.patch
|
||||
BuildRequires: gettext
|
||||
|
||||
%description
|
||||
PowerTOP is a tool that finds the software component(s) that make your
|
||||
@ -17,7 +17,6 @@ computer use more power than necessary while it is idle.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .install-man-page
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
@ -26,17 +25,21 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README
|
||||
%{_bindir}/powertop
|
||||
%{_mandir}/man1/powertop.1*
|
||||
|
||||
%changelog
|
||||
* Tue May 29 2007 Adam Jackson <ajax@redhat.com> 1.5-1
|
||||
- powertop 1.5.
|
||||
|
||||
* Mon May 21 2007 Adam Jackson <ajax@redhat.com> 1.3-1
|
||||
- powertop 1.3.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user