diff --git a/.cvsignore b/.cvsignore index 09751d9..5fe1eab 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -powertop-1.3.tar.gz +powertop-1.5.tar.gz diff --git a/powertop-1.2-install-man-page.patch b/powertop-1.2-install-man-page.patch deleted file mode 100644 index c2207db..0000000 --- a/powertop-1.2-install-man-page.patch +++ /dev/null @@ -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 diff --git a/powertop.spec b/powertop.spec index c9edf81..e1ecedd 100644 --- a/powertop.spec +++ b/powertop.spec @@ -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 1.5-1 +- powertop 1.5. + * Mon May 21 2007 Adam Jackson 1.3-1 - powertop 1.3. diff --git a/sources b/sources index 2c09495..b2c0e0b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ac7776bb70887d416177a137de85c05f powertop-1.3.tar.gz +163c65bde5aa4edc5b1b578035cbc72b powertop-1.5.tar.gz