iotop/iotop.spec

100 lines
2.9 KiB
RPMSpec
Raw Normal View History

2010-01-12 15:23:09 +00:00
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2007-11-03 17:46:19 +00:00
Name: iotop
2011-09-18 08:15:19 +00:00
Version: 0.4.3
Release: 2%{?dist}
2007-11-03 17:46:19 +00:00
Summary: Top like utility for I/O
Group: Applications/System
License: GPLv2
2008-05-26 15:35:57 +00:00
URL: http://guichaz.free.fr/iotop/
Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2
# after CVE-2011-2494 fix, iotop needs root privileges
Patch1: iotop-0.4.3-rootpriv.patch
2007-11-03 17:46:19 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2008-05-26 15:35:57 +00:00
BuildArch: noarch
BuildRequires: python-devel
2007-11-03 17:46:19 +00:00
Requires: python
%prep
2008-05-26 15:35:57 +00:00
%setup
%patch1 -p1 -b .rootpriv
2007-12-28 14:27:57 +00:00
2007-11-03 17:46:19 +00:00
%build
2008-05-26 15:35:57 +00:00
%{__python} setup.py build
2007-11-03 17:46:19 +00:00
%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
2008-05-26 15:35:57 +00:00
%{__python} setup.py install --root=${RPM_BUILD_ROOT}
2007-11-03 17:46:19 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
2008-05-26 15:35:57 +00:00
%doc COPYING NEWS THANKS
2007-11-03 17:46:19 +00:00
%{_bindir}/iotop
2008-05-26 15:35:57 +00:00
%{_mandir}/man1/iotop.1.*
%{python_sitelib}/*
2007-11-03 17:46:19 +00:00
%changelog
* Thu Oct 13 2011 Michal Hlavinka <mhlavink@redhat.com> 0.4.3-2
- after CVE-2011-2494 fix, iotop needs root privileges
2011-09-18 08:15:19 +00:00
* Sun Sep 18 2011 Adel Gadllah <adel.gadllah@gmail.com> 0.4.3-1
- New upstream version
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-01-12 15:23:09 +00:00
* Tue Jan 12 2010 Adel Gadllah <adel.gadllah@gmail.com> 0.4-1
- New upstream version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-05-19 12:55:35 +00:00
* Tue May 19 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.3-1
- New upstream version
- fixes RH #475917
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-11-29 16:47:54 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.1-2
- Rebuild for Python 2.6
2008-07-09 09:50:07 +00:00
* Wed Jul 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2.1-1
- Update to 0.2.1
2008-07-07 18:13:18 +00:00
* Mon Jul 07 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2-2
- New upstream tarball..
2008-05-26 15:35:57 +00:00
* Mon May 26 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2-1
- Update to new upstream version
2007-12-28 14:27:57 +00:00
* Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-3
- Fix build issue
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