400d7d
Name: iotop
400d7d
Version: 0.6
807b2d
Release: 30%{?dist}
400d7d
Summary: Top like utility for I/O       
400d7d
License: GPLv2+
400d7d
URL: http://guichaz.free.fr/iotop/            
400d7d
Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2
400d7d
400d7d
# rhbz#1035503
400d7d
Patch0: iotop-0.6-noendcurses.patch
400d7d
Patch1: iotop-0.6-python3.patch
400d7d
400d7d
# Fix build error with Python 3 caused by itervalues() in setup.py
400d7d
# http://repo.or.cz/iotop.git/commit/99c8d7cedce81f17b851954d94bfa73787300599
400d7d
Patch2:	iotop-python3build.patch
400d7d
400d7d
# sent upstream, iotop <= 0.6, rhbz#1285088
400d7d
Patch3: iotop-0.3.2-batchprintutf8.patch
400d7d
807b2d
# 3x from upstream, iotop <= 0.6,  prerequisities for rhbz#1679201
807b2d
Patch4:	iotop-0.6-gitdd4fcc71.patch
807b2d
Patch5:	iotop-0.6-gitab35334d.patch
807b2d
Patch6:	iotop-0.6-git9c49d59.patch
807b2d
807b2d
# rhbz#1679201
807b2d
Patch7:	iotop-0.6-delayacctmsg.patch
807b2d
400d7d
BuildArch: noarch
400d7d
BuildRequires:	python3-devel
400d7d
400d7d
%description
400d7d
Linux has always been able to show how much I/O was going on
400d7d
(the bi and bo columns of the vmstat 1 command).
400d7d
iotop is a Python program with a top like UI used to
400d7d
show of behalf of which process is the I/O going on.
400d7d
400d7d
%prep
400d7d
%setup -n %{name}-%{version}
400d7d
%patch0 -p1 -b .noendcurses
400d7d
%patch1 -p1 -b .python3
400d7d
%patch2	-p1
400d7d
%patch3 -p1 -b .batchprintutf8
807b2d
%patch4 -p1 -b .gitdd4fcc71
807b2d
%patch5 -p1 -b .gitab35334d
807b2d
%patch6 -p1 -b .git9c49d59
807b2d
%patch7 -p1 -b .delayacctmsg
400d7d
400d7d
%build
400d7d
%py3_build
400d7d
400d7d
%install
400d7d
%py3_install
400d7d
400d7d
%files -n %{name}
400d7d
%doc NEWS THANKS README ChangeLog
400d7d
%license COPYING
400d7d
%{python3_sitelib}/*
400d7d
%{_sbindir}/iotop
400d7d
%{_mandir}/man8/iotop.*
400d7d
400d7d
%changelog
807b2d
* Fri Jul 01 2022 Michal Hlavinka <mhlavink@redhat.com> - 0.6-30
807b2d
- bump release for gating rebuild(#2052422)
807b2d
807b2d
* Tue Jun 28 2022 Michal Hlavinka <mhlavink@redhat.com> - 0.6-29
807b2d
- do not show DELAY_ACCT error for non-existent pids(#2052422)
807b2d
400d7d
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.6-28
400d7d
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
400d7d
  Related: rhbz#1991688
400d7d
400d7d
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.6-27
400d7d
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
400d7d
400d7d
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-26
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
400d7d
400d7d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-25
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
400d7d
400d7d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.6-24
400d7d
- Rebuilt for Python 3.9
400d7d
400d7d
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-23
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
400d7d
400d7d
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6-22
400d7d
- Rebuilt for Python 3.8.0rc1 (#1748018)
400d7d
400d7d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6-21
400d7d
- Rebuilt for Python 3.8
400d7d
400d7d
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-20
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
400d7d
400d7d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-19
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
400d7d
400d7d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-18
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
400d7d
400d7d
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6-17
400d7d
- Rebuilt for Python 3.7
400d7d
400d7d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-16
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
400d7d
400d7d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-15
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
400d7d
400d7d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-14
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
400d7d
400d7d
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.6-13
400d7d
- Rebuild for Python 3.6
400d7d
400d7d
* Mon Nov 14 2016 Michal Hlavinka <mhlavink@redhat.com> - 0.6-12
400d7d
- fix printing unicode strings in batch mode (#1285088)
400d7d
400d7d
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-11
400d7d
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
400d7d
400d7d
* Mon Feb 29 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.6-10
400d7d
- SPEC file cleanup
400d7d
- Added licence tag
400d7d
- Removal of old and unneeded macros
400d7d
- Use of newest python macros
400d7d
- Removed Python 2 dependency
400d7d
- Added patch for Python 3 build
400d7d
400d7d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-9
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
400d7d
400d7d
* Sun Nov 15 2015 Adel Gadllah <adel.gadllah@gmail.com> - 0.6-8
400d7d
- Fix python3 patch
400d7d
400d7d
* Sun Nov 15 2015 Adel Gadllah <adel.gadllah@gmail.com> - 0.6-7
400d7d
- Rebuilt with python3 - RH#1282262
400d7d
400d7d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-6
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
400d7d
400d7d
* Fri Jan 30 2015 Michal Hlavinka <mhlavink@redhat.com> - 0.6-5
400d7d
- always ignore nocbreak errors, there is way too many false positives (#1035503)
400d7d
400d7d
* Wed Dec 03 2014 Michal Hlavinka <mhlavink@redhat.com> - 0.6-4
400d7d
- ignore curses failures during termination (#1035503)
400d7d
400d7d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
400d7d
400d7d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
400d7d
400d7d
* Wed May 29 2013 Michal Hlavinka <mhlavink@redhat.com> - 0.6-1
400d7d
- iotop updated to 0.6
400d7d
400d7d
* Tue Feb 05 2013 Michal Hlavinka <mhlavink@redhat.com> - 0.5-1
400d7d
- iotop updated to 0.5
400d7d
400d7d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-3
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
400d7d
400d7d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
400d7d
400d7d
* Wed Nov 16 2011 Michal Hlavinka <mhlavink@redhat.com> - 0.4.4-1
400d7d
- iotop updated to 0.4.4
400d7d
400d7d
* Fri Oct 14 2011 Michal Hlavinka <mhlavink@redhat.com> 0.4.3-3
400d7d
- fix typo in last patch
400d7d
400d7d
* Thu Oct 13 2011 Michal Hlavinka <mhlavink@redhat.com> 0.4.3-2
400d7d
- after CVE-2011-2494 fix, iotop needs root privileges
400d7d
400d7d
* Sun Sep 18 2011 Adel Gadllah <adel.gadllah@gmail.com> 0.4.3-1
400d7d
- New upstream version
400d7d
400d7d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
400d7d
400d7d
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.4-2
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
400d7d
400d7d
* Tue Jan 12 2010 Adel Gadllah <adel.gadllah@gmail.com> 0.4-1
400d7d
- New upstream version
400d7d
400d7d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
400d7d
400d7d
* Tue May 19 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.3-1
400d7d
- New upstream version
400d7d
- fixes RH #475917
400d7d
400d7d
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
400d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
400d7d
400d7d
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.1-2
400d7d
- Rebuild for Python 2.6
400d7d
400d7d
* Wed Jul 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2.1-1
400d7d
- Update to 0.2.1
400d7d
400d7d
* Mon Jul 07 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2-2
400d7d
- New upstream tarball..
400d7d
400d7d
* Mon May 26 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.2-1
400d7d
- Update to new upstream version
400d7d
400d7d
* Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-3
400d7d
- Fix build issue
400d7d
400d7d
* Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-2
400d7d
- Fix traceback on xterm-color RH #400071
400d7d
400d7d
* Sat Nov 3 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-1
400d7d
- Fix version
400d7d
400d7d
* Sat Nov 3 2007 Adel Gadllah <adel.gadllah@gmail.com> 20070930-1
400d7d
- Initial Build