2007-11-03 17:46:19 +00:00
|
|
|
Name: iotop
|
|
|
|
Version: 0.1
|
2007-12-28 13:43:30 +00:00
|
|
|
Release: 2%{?dist}
|
2007-11-03 17:46:19 +00:00
|
|
|
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
|
2007-12-28 13:43:30 +00:00
|
|
|
Patch0: xterm-color-fix.patch
|
2007-11-03 17:46:19 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: python
|
|
|
|
|
|
|
|
%prep
|
2007-12-28 13:43:30 +00:00
|
|
|
%patch0 -p0 -b .xterm-color
|
2007-11-03 17:46:19 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Linux has always been able to show how much I/O was going on
|
|
|
|
(the bi and bo columns of the vmstat 1 command).
|
|
|
|
iotop is a Python program with a top like UI used to
|
|
|
|
show of behalf of which process is the I/O going on.
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -p -m 0755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/iotop
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/iotop
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2007-12-28 13:43:30 +00:00
|
|
|
* Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-2
|
|
|
|
- Fix traceback on xterm-color RH #400071
|
|
|
|
|
2007-11-03 17:46:19 +00:00
|
|
|
* Sun Nov 3 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-1
|
|
|
|
- Fix version
|
|
|
|
|
|
|
|
* Sun Nov 3 2007 Adel Gadllah <adel.gadllah@gmail.com> 20070930-1
|
|
|
|
- Initial Build
|