Blame SPECS/dstat.spec

5da188
Summary: Versatile resource statistics tool
5da188
Name: dstat
5da188
Version: 0.7.2
5da188
Release: 12%{?dist}
5da188
License: GPLv2
5da188
Group: System Environment/Base
5da188
URL: http://dag.wieers.com/home-made/dstat/
5da188
5da188
Source: http://dag.wieers.com/home-made/dstat/dstat-%{version}.tar.bz2
5da188
5da188
# Is there any BZ for this ?
5da188
Patch0: dstat-0.6.8-dbus.patch
5da188
5da188
# patch adding options switching from bytes to bits when displaying network and/or disk stats
5da188
# Is there any BZ for this ?
5da188
Patch1: dstat-0.7.2-bits.patch
5da188
5da188
# This patch enables to specify disks with path to device file
5da188
# (or with symbolic link to the device file)
5da188
# For example:
5da188
# dstat -d -D /dev/vda2
5da188
# dstat -d -D /dev/disk/by-id/scsi-SATA_Hitachi_HDP7250_GEA534RF3YYMMA-part3
5da188
# dstat -d -D /dev/disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3-part2
5da188
# dstat -d -D /dev/disk/by-uuid/6df45ed6-c4ad-4054-955d-b15102f2c566
5da188
# (BZ#766443)
5da188
Patch2: dstat-0.7.2-disk-path.patch
5da188
5da188
# Fixed inconsistency between man page and help (#852797)
5da188
Patch3: dstat-0.7.2-man.patch
5da188
5da188
BuildArch: noarch
5da188
BuildRequires: python2-devel
5da188
Requires: python
5da188
5da188
%description
5da188
Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat.
5da188
Dstat overcomes some of their limitations and adds some extra features,
5da188
more counters and flexibility. Dstat is handy for monitoring systems
5da188
during performance tuning tests, benchmarks or troubleshooting.
5da188
5da188
Dstat allows you to view all of your system resources instantly, you
5da188
can eg. compare disk usage in combination with interrupts from your
5da188
IDE controller, or compare the network bandwidth numbers directly
5da188
with the disk throughput (in the same interval).
5da188
5da188
Dstat gives you detailed selective information in columns and clearly
5da188
indicates in what magnitude and unit the output is displayed. Less
5da188
confusion, less mistakes.
5da188
5da188
%prep
5da188
%setup -q
5da188
%patch0 -p1 -b .dbus
5da188
%patch1 -p1 -b .bits
5da188
%patch2 -p1 -b .disk-path
5da188
%patch3 -p1 -b .man
5da188
5da188
sed -i -e '1s,^#!/usr/bin/env python,#!/usr/bin/python,' dstat
5da188
5da188
%build
5da188
# Make sure the docs are in unix format
5da188
%{__sed} -i 's/\r//' docs/*.html
5da188
# Remove the broken symlink
5da188
%{__rm} -rf examples/dstat.py
5da188
%{__chmod} a-x examples/*
5da188
5da188
%install
5da188
%{__make} install DESTDIR=%{buildroot}
5da188
# Install the man page
5da188
cd docs
5da188
%{__make} install DESTDIR=%{buildroot}
5da188
# Plugins .py files are modules, not executable python
5da188
%{__chmod} a-x %{buildroot}/%{_datadir}/dstat/*.py
5da188
%{__chmod} a+x %{buildroot}/%{_datadir}/dstat/dstat.py
5da188
5da188
5da188
%files
5da188
%dir %{_datadir}/dstat
5da188
%doc AUTHORS ChangeLog COPYING README TODO docs/*.html docs/*.txt examples/
5da188
%{_mandir}/man1/dstat.1*
5da188
%{_bindir}/dstat
5da188
%{_datadir}/dstat/*.py*
5da188
5da188
%changelog
5da188
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.7.2-12
5da188
- Mass rebuild 2013-12-27
5da188
5da188
* Mon Jul 22 2013 Jiri Popelka <jpopelka@redhat.com> - 0.7.2-11
5da188
- change shebang to absolute path (#987015)
5da188
5da188
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-10
5da188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5da188
5da188
* Mon Sep 03 2012 Jiri Popelka <jpopelka@redhat.com> - 0.7.2-9
5da188
- use upstream's bits.patch
5da188
- fixed inconsistency between man page and help (#852797)
5da188
5da188
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-8
5da188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5da188
5da188
* Mon Jun 18 2012 Jiri Popelka <jpopelka@redhat.com> - 0.7.2-7
5da188
- fixed typo in bits.patch (#832683)
5da188
5da188
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-6
5da188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5da188
5da188
* Tue Nov 08 2011 Jiri Popelka <jpopelka@redhat.com> - 0.7.2-5
5da188
- enable to specify disks with path to device file or
5da188
  with symbolic link to the device file (#766443)
5da188
- modernize spec
5da188
5da188
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-4
5da188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5da188
5da188
* Tue Aug 24 2010 Jan Zeleny <jzeleny@redhat.com> - 0.7.2-3
5da188
- patch adding options switching from bytes to bits when displaying
5da188
  network and/or disk stats
5da188
5da188
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-2
5da188
- recompiling .py files against Python 2.7 (rhbz#623287)
5da188
5da188
* Mon Jun 28 2010 Jan Zeleny <jzeleny@redhat.com> - 0.7.2-1
5da188
- rebased to 0.7.2
5da188
5da188
* Mon Mar 01 2010 Jan Zeleny <jzeleny@redhat.com> - 0.7.1-1
5da188
- rebased to 0.7.1
5da188
5da188
* Mon Feb 22 2010 Jan Zeleny <jzeleny@redhat.com> - 0.7.0-2
5da188
- fixed syntax error in mysql_conn plugin
5da188
5da188
* Thu Dec 03 2009 Jan Zeleny <jzeleny@redhat.com> - 0.7.0-1
5da188
- rebased to 0.7.0
5da188
5da188
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.9-5
5da188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5da188
5da188
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.9-4
5da188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5da188
5da188
* Tue Dec 23 2008 Zdenek Prikryl <zprikryl@redhat.com> - 0.6.9-3
5da188
- Fixed wrong total disk counts (#476935)
5da188
5da188
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.9-2
5da188
- Rebuild for Python 2.6
5da188
5da188
* Thu Dec 04 2008 Zdenek Prikryl <zprikryl@redhat.com> - 0.6.9-1
5da188
- Updated to 0.6.9
5da188
- Fixed dbus module patch again
5da188
5da188
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.8-2
5da188
- Rebuild for Python 2.6
5da188
5da188
* Tue Sep 16 2008 Zdenek Prikryl <zprikryl@redhat.com> - 0.6.8-1
5da188
- Updated to 0.6.8
5da188
- Fixed dbus module patch
5da188
5da188
* Fri Apr 25 2008 Radek Brich <rbrich@redhat.com> - 0.6.7-3
5da188
- fix dbus module (new dbus-python interface since FC4)
5da188
5da188
* Thu Mar 27 2008 Radek Brich <rbrich@redhat.com> - 0.6.7-2
5da188
- fixes for interrupt stats:
5da188
  * traceback when called with unknown name of interrupt (bz#439143)
5da188
  * allow '-I total' option (bz#439146)
5da188
5da188
* Wed Mar 19 2008 Radek Brich <rbrich@redhat.com> - 0.6.7-1
5da188
- Release 0.6.7
5da188
- Drop upstream patches
5da188
5da188
* Fri Jan 18 2008 Radek Brich <rbrich@redhat.com> - 0.6.6-3
5da188
- Fix --nocolor and --raw (upstream patches)
5da188
- Fix errors in man page
5da188
5da188
* Tue Sep 04 2007 Radek Brich <rbrich@redhat.com> - 0.6.6-2
5da188
- Updated license tag.
5da188
- Spec clean up.
5da188
5da188
* Tue May 01 2007 Scott Baker <scott@perturb.org> - 0.6.6-1
5da188
- Bumped to latest release
5da188
5da188
* Wed Apr 18 2007 Scott Baker <scott@perturb.org> - 0.6.5-1
5da188
- Bumped to latest release
5da188
5da188
* Tue Dec 12 2006 Scott Baker <scott@perturb.org> - 0.6.4-1
5da188
- Bumped to 0.6.4
5da188
5da188
* Fri Aug 11 2006 Scott Baker <scott@perturb.org> - 0.6.3-5
5da188
- Removed the execute permission from the examples directory
5da188
- Fixed the changelog to remove the replaceable %%clean
5da188
5da188
* Tue Jul 25 2006 Scott Baker <scott@perturb.org> - 0.6.3-4
5da188
- Removed some commeted lines in the .spec file that weren't needed
5da188
- Changed the permissions on the examples/* scripts
5da188
- Converted the HTML documentation to unix line endings
5da188
- Removed the erroneous commenting of the %%clean section of the .spec
5da188
5da188
* Fri Jul 21 2006 Scott Baker <scott@perturb.org> - 0.6.3-3
5da188
- Packaged for Fedora Extras.
5da188
5da188
* Mon Jun 26 2006 Dag Wieers <dag@wieers.com> - 0.6.3-1 - 4303+/dries
5da188
- Updated to release 0.6.3.
5da188
5da188
* Thu Mar 09 2006 Dag Wieers <dag@wieers.com> - 0.6.2-1
5da188
- Updated to release 0.6.2.
5da188
5da188
* Mon Sep 05 2005 Dag Wieers <dag@wieers.com> - 0.6.1-1
5da188
- Updated to release 0.6.1.
5da188
5da188
* Sun May 29 2005 Dag Wieers <dag@wieers.com> - 0.6.0-1
5da188
- Updated to release 0.6.0.
5da188
5da188
* Fri Apr 08 2005 Dag Wieers <dag@wieers.com> - 0.5.10-1
5da188
- Updated to release 0.5.10.
5da188
5da188
* Mon Mar 28 2005 Dag Wieers <dag@wieers.com> - 0.5.9-1
5da188
- Updated to release 0.5.9.
5da188
5da188
* Tue Mar 15 2005 Dag Wieers <dag@wieers.com> - 0.5.8-1
5da188
- Updated to release 0.5.8.
5da188
5da188
* Fri Dec 31 2004 Dag Wieers <dag@wieers.com> - 0.5.7-1
5da188
- Updated to release 0.5.7.
5da188
5da188
* Mon Dec 20 2004 Dag Wieers <dag@wieers.com> - 0.5.6-1
5da188
- Updated to release 0.5.6.
5da188
5da188
* Thu Dec 02 2004 Dag Wieers <dag@wieers.com> - 0.5.5-1
5da188
- Updated to release 0.5.5.
5da188
5da188
* Thu Nov 25 2004 Dag Wieers <dag@wieers.com> - 0.5.4-1
5da188
- Updated to release 0.5.4.
5da188
- Use dstat15 if distribution uses python 1.5.
5da188
5da188
* Sun Nov 21 2004 Dag Wieers <dag@wieers.com> - 0.5.3-1
5da188
- Updated to release 0.5.3.
5da188
5da188
* Sat Nov 13 2004 Dag Wieers <dag@wieers.com> - 0.5.2-1
5da188
- Updated to release 0.5.2.
5da188
5da188
* Thu Nov 11 2004 Dag Wieers <dag@wieers.com> - 0.5.1-1
5da188
- Updated to release 0.5.1.
5da188
5da188
* Tue Oct 26 2004 Dag Wieers <dag@wieers.com> - 0.4-1
5da188
- Initial package. (using DAR)