Author: arekm                        Date: Thu Feb 28 17:53:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 1; cleaned up

---- Files affected:
SPECS:
   iotop.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/iotop.spec
diff -u SPECS/iotop.spec:1.1 SPECS/iotop.spec:1.2
--- SPECS/iotop.spec:1.1        Thu Feb 28 18:42:15 2008
+++ SPECS/iotop.spec    Thu Feb 28 18:53:37 2008
@@ -1,16 +1,18 @@
 # $Revision$, $Date$
 Summary:       Top like utility for I/O
-Summary(pl.UTF-8):Narzędzie podobne do topa dla I/O
+Summary(pl.UTF-8):     Narzędzie podobne do topa dla I/O
 Name:          iotop
 Version:       0.1
-Release:       0.1
+Release:       1
 License:       GPLv2
 Group:         Applications/System
 Source0:       http://guichaz.free.fr/misc/%{name}.py
 # Source0-md5: ed93de5cfc193e62c5ab0101fb8f61c1
-Patch0:                xterm-color-fix.patch
+Patch0:                %{name}-ncurses.patch
 URL:           http://guichaz.free.fr/misc/#iotop
-Requires:      python
+%pyrequires_eq python-modules
+BuildRequires: python-devel
+Requires:      uname(release) >= 2.6.20
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -21,15 +23,18 @@
 going on.
 
 %prep
-cp -p %{SOURCE0} .
+%setup -q -c -T
+install %{SOURCE0} .
 %patch0 -p0 -b .xterm-color
 
 %build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 install -d $RPM_BUILD_ROOT%{_bindir}
-install -p iotop.py $RPM_BUILD_ROOT%{_bindir}/iotop
+
+install iotop.py $RPM_BUILD_ROOT%{_bindir}/iotop
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -38,13 +43,15 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/iotop
 
-
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008-02-28 17:53:37  arekm
+- rel 1; cleaned up
+
 Revision 1.1  2008-02-28 17:42:15  czarny
 - new
 - stolen from FC
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/iotop.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to