36f4a69
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
cbc9518
Name: iotop
380040b
Version: 0.4.3      
0600938
Release: 2%{?dist}
cbc9518
Summary: Top like utility for I/O       
cbc9518
cbc9518
Group: Applications/System          
cbc9518
License: GPLv2        
a0651ed
URL: http://guichaz.free.fr/iotop/            
a0651ed
Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2 
0600938
0600938
# after CVE-2011-2494 fix, iotop needs root privileges
0600938
Patch1: iotop-0.4.3-rootpriv.patch
0600938
cbc9518
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cbc9518
a0651ed
BuildArch: noarch
a0651ed
BuildRequires: python-devel
cbc9518
Requires: python
cbc9518
      
cbc9518
%prep
a0651ed
%setup
0600938
%patch1 -p1 -b .rootpriv
2c2f0cc
cbc9518
%build
a0651ed
%{__python} setup.py build
cbc9518
cbc9518
%description
cbc9518
Linux has always been able to show how much I/O was going on
cbc9518
(the bi and bo columns of the vmstat 1 command).
cbc9518
iotop is a Python program with a top like UI used to
cbc9518
show of behalf of which process is the I/O going on.
cbc9518
cbc9518
cbc9518
%install
cbc9518
rm -rf $RPM_BUILD_ROOT
a0651ed
%{__python} setup.py install --root=${RPM_BUILD_ROOT}
cbc9518
cbc9518
cbc9518
%clean
cbc9518
rm -rf $RPM_BUILD_ROOT
cbc9518
cbc9518
cbc9518
%files
cbc9518
%defattr(-,root,root,-)
a0651ed
%doc COPYING NEWS THANKS
cbc9518
%{_bindir}/iotop
a0651ed
%{_mandir}/man1/iotop.1.*
a0651ed
%{python_sitelib}/*
cbc9518
cbc9518
%changelog
0600938
* Thu Oct 13 2011 Michal Hlavinka <mhlavink@redhat.com> 0.4.3-2
0600938
- after CVE-2011-2494 fix, iotop needs root privileges
0600938
380040b
* Sun Sep 18 2011 Adel Gadllah <adel.gadllah@gmail.com> 0.4.3-1
380040b
- New upstream version
380040b
11dd997
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
11dd997
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
11dd997
5a581e0
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.4-2
5a581e0
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
5a581e0
36f4a69
* Tue Jan 12 2010 Adel Gadllah <adel.gadllah@gmail.com> 0.4-1
36f4a69
- New upstream version
36f4a69
e86b4bd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
e86b4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e86b4bd
42bd285
* Tue May 19 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.3-1
42bd285
- New upstream version
42bd285
- fixes RH #475917
42bd285
f54cab4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
f54cab4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f54cab4
9654088
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.1-2
9654088
- Rebuild for Python 2.6
9654088
0dcf3b0
* Wed Jul 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2.1-1
0dcf3b0
- Update to 0.2.1
0dcf3b0
7ab71d0
* Mon Jul 07 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2-2
7ab71d0
- New upstream tarball..
7ab71d0
a0651ed
* Mon May 26 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2-1
a0651ed
- Update to new upstream version
a0651ed
2c2f0cc
* Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-3
2c2f0cc
- Fix build issue
2c2f0cc
fc5c545
* Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-2
fc5c545
- Fix traceback on xterm-color RH #400071
fc5c545
cbc9518
* Sun Nov 3 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-1
cbc9518
- Fix version
cbc9518
cbc9518
* Sun Nov 3 2007 Adel Gadllah <adel.gadllah@gmail.com> 20070930-1
cbc9518
- Initial Build