rpms/powertop/devel powertop-1.2-install-man-page.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 powertop.spec, 1.2, 1.3 sources, 1.3, 1.4 powertop-1.1-build-fixes.patch, 1.1, NONE

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Tue May 15 13:01:41 UTC 2007


Author: ajax

Update of /cvs/pkgs/rpms/powertop/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22045

Modified Files:
	.cvsignore powertop.spec sources 
Added Files:
	powertop-1.2-install-man-page.patch 
Removed Files:
	powertop-1.1-build-fixes.patch 
Log Message:
* Tue May 15 2007 Adam Jackson <ajax at redhat.com> 1.2-1
- powertop 1.2.  Fixes power reports on machines that report power in Amperes
  instead of Watts.


powertop-1.2-install-man-page.patch:

--- NEW FILE powertop-1.2-install-man-page.patch ---
--- 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


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/powertop/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	14 May 2007 01:55:56 -0000	1.3
+++ .cvsignore	15 May 2007 13:01:05 -0000	1.4
@@ -1 +1 @@
-powertop-1.1.tar.gz
+powertop-1.2.tar.gz


Index: powertop.spec
===================================================================
RCS file: /cvs/pkgs/rpms/powertop/devel/powertop.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- powertop.spec	14 May 2007 01:53:44 -0000	1.2
+++ powertop.spec	15 May 2007 13:01:05 -0000	1.3
@@ -1,5 +1,5 @@
 Name:           powertop
-Version:        1.1
+Version:        1.2
 Release:        1%{?dist}
 Summary:        Power consumption monitor
 
@@ -9,18 +9,15 @@
 Source0:        http://www.linuxpowertop.org/download/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Patch0: powertop-1.1-build-fixes.patch
-
-#BuildRequires:  
-#Requires:       
+Patch0: powertop-1.2-install-man-page.patch
 
 %description
 PowerTOP is a tool that finds the software component(s) that make your
 computer use more power than necessary while it is idle.
 
 %prep
-%setup -q -n %{name}
-%patch -p1 -b .build-fixes
+%setup -q
+%patch0 -p1 -b .install-man-page
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"
@@ -37,8 +34,13 @@
 %defattr(-,root,root,-)
 %doc COPYING README
 %{_bindir}/powertop
+%{_mandir}/man1/powertop.1*
 
 %changelog
+* Tue May 15 2007 Adam Jackson <ajax at redhat.com> 1.2-1
+- powertop 1.2.  Fixes power reports on machines that report power in Amperes
+  instead of Watts.
+
 * Sun May 13 2007 Adam Jackson <ajax at redhat.com> 1.1-1
 - powertop 1.1.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/powertop/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	14 May 2007 01:55:56 -0000	1.3
+++ sources	15 May 2007 13:01:05 -0000	1.4
@@ -1 +1 @@
-4420482fff4c3f0c63a4a3cec56f2931  powertop-1.1.tar.gz
+fa18e6115e75417bf94ca38021f8959d  powertop-1.2.tar.gz


--- powertop-1.1-build-fixes.patch DELETED ---




More information about the fedora-extras-commits mailing list