rpms/iotop/F-9 iotop-0.2-setuptools.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 iotop.spec, 1.3, 1.4 sources, 1.1, 1.2 iotop.py, 1.1, NONE xterm-color-fix.patch, 1.1, NONE

Adel Gadllah (drago01) fedora-extras-commits at redhat.com
Mon May 26 15:36:46 UTC 2008


Author: drago01

Update of /cvs/pkgs/rpms/iotop/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1766

Modified Files:
	.cvsignore iotop.spec sources 
Added Files:
	iotop-0.2-setuptools.patch 
Removed Files:
	iotop.py xterm-color-fix.patch 
Log Message:
update to 0.2

iotop-0.2-setuptools.patch:

--- NEW FILE iotop-0.2-setuptools.patch ---
diff -upNr iotop-0.2.orign/setup.py iotop-0.2/setup.py
--- iotop-0.2.orign/setup.py	2008-05-23 00:27:55.000000000 +0200
+++ iotop-0.2/setup.py	2008-05-26 17:25:23.000000000 +0200
@@ -2,7 +2,6 @@
 
 import sys
 
-sys.path.insert(0, 'setuptools-0.6c6-py2.4.egg')
 from setuptools import setup, find_packages
 from iotop.version import VERSION
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/iotop/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Nov 2007 17:28:01 -0000	1.1
+++ .cvsignore	26 May 2008 15:35:55 -0000	1.2
@@ -0,0 +1 @@
+iotop-0.2.tar.bz2


Index: iotop.spec
===================================================================
RCS file: /cvs/pkgs/rpms/iotop/F-9/iotop.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- iotop.spec	28 Dec 2007 14:27:57 -0000	1.3
+++ iotop.spec	26 May 2008 15:35:55 -0000	1.4
@@ -1,24 +1,28 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 Name: iotop
-Version: 0.1       
-Release: 3%{?dist}
+Version: 0.2       
+Release: 1%{?dist}
 Summary: Top like utility for I/O       
 
 Group: Applications/System          
 License: GPLv2        
-URL: http://guichaz.free.fr/misc/#iotop            
-Source0: http://guichaz.free.fr/misc/%{name}.py       
-Patch0: xterm-color-fix.patch
+URL: http://guichaz.free.fr/iotop/            
+Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
 
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-setuptools-devel
 Requires: python
+
+Patch0: iotop-0.2-setuptools.patch
       
 %prep
-cp -p %{SOURCE0} .
-%patch0 -p0 -b .xterm-color
-
+%setup
+%patch0 -p1 
 
 %build
+%{__python} setup.py build
 
 %description
 Linux has always been able to show how much I/O was going on
@@ -29,8 +33,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_bindir}
-install -p -m 0755 iotop.py $RPM_BUILD_ROOT%{_bindir}/iotop
+%{__python} setup.py install --root=${RPM_BUILD_ROOT}
 
 
 %clean
@@ -39,10 +42,15 @@
 
 %files
 %defattr(-,root,root,-)
+%doc COPYING NEWS THANKS
 %{_bindir}/iotop
-
+%{_mandir}/man1/iotop.1.*
+%{python_sitelib}/*
 
 %changelog
+* Mon May 26 2008 Adel Gadllah <adel.gadllah at gmail.com> 0.2-1
+- Update to new upstream version
+
 * Fri Dec 28 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.1-3
 - Fix build issue
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/iotop/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Nov 2007 17:28:01 -0000	1.1
+++ sources	26 May 2008 15:35:55 -0000	1.2
@@ -0,0 +1 @@
+9fad407f56fd37cb76a29d40fe250517  iotop-0.2.tar.bz2


--- iotop.py DELETED ---


--- xterm-color-fix.patch DELETED ---




More information about the fedora-extras-commits mailing list