source: projects/specs/trunk/d/dstat/dstat-vl.spec @ 10198

Revision 10198, 7.9 KB checked in by kudoh, 8 years ago (diff)

new upstream release

Line 
1Summary: Versatile resource statistics tool
2Summary(ja): 多目的リソース統計ツール
3Name: dstat
4Version: 0.7.3
5Release: 1%{?_dist_release}
6License: GPLv2
7Group: System Environment/Base
8URL: http://dag.wieers.com/home-made/dstat/
9Source: http://dag.wieers.com/home-made/dstat/dstat-%{version}.tar.bz2
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11
12# Is there any BZ for this ?
13Patch0: dstat-0.6.8-dbus.patch
14
15# patch adding options switching from bytes to bits when displaying network and/or disk stats
16# Is there any BZ for this ?
17#Patch1: dstat-0.7.2-bits.patch
18
19# This patch enables to specify disks with path to device file
20# (or with symbolic link to the device file)
21# For example:
22# dstat -d -D /dev/vda2
23# dstat -d -D /dev/disk/by-id/scsi-SATA_Hitachi_HDP7250_GEA534RF3YYMMA-part3
24# dstat -d -D /dev/disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3-part2
25# dstat -d -D /dev/disk/by-uuid/6df45ed6-c4ad-4054-955d-b15102f2c566
26# (BZ#766443)
27Patch2: dstat-0.7.2-disk-path.patch
28
29# Fixed inconsistency between man page and help (#852797)
30#Patch3: dstat-0.7.2-man.patch
31
32BuildArch: noarch
33BuildRequires: python-devel
34Requires: python
35
36%description
37Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat.
38Dstat overcomes some of their limitations and adds some extra features,
39more counters and flexibility. Dstat is handy for monitoring systems
40during performance tuning tests, benchmarks or troubleshooting.
41
42Dstat allows you to view all of your system resources instantly, you
43can eg. compare disk usage in combination with interrupts from your
44IDE controller, or compare the network bandwidth numbers directly
45with the disk throughput (in the same interval).
46
47Dstat gives you detailed selective information in columns and clearly
48indicates in what magnitude and unit the output is displayed. Less
49confusion, less mistakes.
50
51%prep
52%setup -q
53%patch0 -p1 -b .dbus
54#%patch1 -p1 -b .bits
55%patch2 -p1 -b .disk-path
56#%patch3 -p1 -b .man
57
58%build
59# Make sure the docs are in unix format
60%{__sed} -i 's/\r//' docs/*.html
61# Remove the broken symlink
62%{__rm} -rf examples/dstat.py
63%{__chmod} a-x examples/*
64
65%install
66%{__make} install DESTDIR=%{buildroot}
67# Install the man page
68cd docs
69%{__make} install DESTDIR=%{buildroot}
70# Plugins .py files are modules, not executable python
71%{__chmod} a-x %{buildroot}/%{_datadir}/dstat/*.py
72%{__chmod} a+x %{buildroot}/%{_datadir}/dstat/dstat.py
73
74
75%files
76%dir %{_datadir}/dstat
77%doc AUTHORS ChangeLog COPYING README.md TODO docs/*.html docs/*.adoc examples/
78%{_mandir}/man1/dstat.1*
79%{_bindir}/dstat
80%{_datadir}/dstat/*.py*
81
82%changelog
83* Mon Apr 25 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.3-1
84- new upstream release
85- deleted Patch1,3
86- fixed %%doc
87
88* Fri Aug 29 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-2
89- rebuilt with current environment
90
91* Sat Apr 06 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-1
92- initial build for Vine Linux
93
94* Mon Sep 03 2012 Jiri Popelka <jpopelka@redhat.com> - 0.7.2-9
95- use upstream's bits.patch
96- fixed inconsistency between man page and help (#852797)
97
98* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-8
99- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
100
101* Mon Jun 18 2012 Jiri Popelka <jpopelka@redhat.com> - 0.7.2-7
102- fixed typo in bits.patch (#832683)
103
104* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-6
105- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
106
107* Tue Nov 08 2011 Jiri Popelka <jpopelka@redhat.com> - 0.7.2-5
108- enable to specify disks with path to device file or
109  with symbolic link to the device file (#766443)
110- modernize spec
111
112* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-4
113- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
114
115* Tue Aug 24 2010 Jan Zeleny <jzeleny@redhat.com> - 0.7.2-3
116- patch adding options switching from bytes to bits when displaying
117  network and/or disk stats
118
119* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-2
120- recompiling .py files against Python 2.7 (rhbz#623287)
121
122* Mon Jun 28 2010 Jan Zeleny <jzeleny@redhat.com> - 0.7.2-1
123- rebased to 0.7.2
124
125* Mon Mar 01 2010 Jan Zeleny <jzeleny@redhat.com> - 0.7.1-1
126- rebased to 0.7.1
127
128* Mon Feb 22 2010 Jan Zeleny <jzeleny@redhat.com> - 0.7.0-2
129- fixed syntax error in mysql_conn plugin
130
131* Thu Dec 03 2009 Jan Zeleny <jzeleny@redhat.com> - 0.7.0-1
132- rebased to 0.7.0
133
134* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.9-5
135- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
136
137* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.9-4
138- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
139
140* Tue Dec 23 2008 Zdenek Prikryl <zprikryl@redhat.com> - 0.6.9-3
141- Fixed wrong total disk counts (#476935)
142
143* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.9-2
144- Rebuild for Python 2.6
145
146* Thu Dec 04 2008 Zdenek Prikryl <zprikryl@redhat.com> - 0.6.9-1
147- Updated to 0.6.9
148- Fixed dbus module patch again
149
150* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.8-2
151- Rebuild for Python 2.6
152
153* Tue Sep 16 2008 Zdenek Prikryl <zprikryl@redhat.com> - 0.6.8-1
154- Updated to 0.6.8
155- Fixed dbus module patch
156
157* Fri Apr 25 2008 Radek Brich <rbrich@redhat.com> - 0.6.7-3
158- fix dbus module (new dbus-python interface since FC4)
159
160* Thu Mar 27 2008 Radek Brich <rbrich@redhat.com> - 0.6.7-2
161- fixes for interrupt stats:
162  * traceback when called with unknown name of interrupt (bz#439143)
163  * allow '-I total' option (bz#439146)
164
165* Wed Mar 19 2008 Radek Brich <rbrich@redhat.com> - 0.6.7-1
166- Release 0.6.7
167- Drop upstream patches
168
169* Fri Jan 18 2008 Radek Brich <rbrich@redhat.com> - 0.6.6-3
170- Fix --nocolor and --raw (upstream patches)
171- Fix errors in man page
172
173* Tue Sep 04 2007 Radek Brich <rbrich@redhat.com> - 0.6.6-2
174- Updated license tag.
175- Spec clean up.
176
177* Tue May 01 2007 Scott Baker <scott@perturb.org> - 0.6.6-1
178- Bumped to latest release
179
180* Wed Apr 18 2007 Scott Baker <scott@perturb.org> - 0.6.5-1
181- Bumped to latest release
182
183* Tue Dec 12 2006 Scott Baker <scott@perturb.org> - 0.6.4-1
184- Bumped to 0.6.4
185
186* Fri Aug 11 2006 Scott Baker <scott@perturb.org> - 0.6.3-5
187- Removed the execute permission from the examples directory
188- Fixed the changelog to remove the replaceable %%clean
189
190* Tue Jul 25 2006 Scott Baker <scott@perturb.org> - 0.6.3-4
191- Removed some commeted lines in the .spec file that weren't needed
192- Changed the permissions on the examples/* scripts
193- Converted the HTML documentation to unix line endings
194- Removed the erroneous commenting of the %%clean section of the .spec
195
196* Fri Jul 21 2006 Scott Baker <scott@perturb.org> - 0.6.3-3
197- Packaged for Fedora Extras.
198
199* Mon Jun 26 2006 Dag Wieers <dag@wieers.com> - 0.6.3-1 - 4303+/dries
200- Updated to release 0.6.3.
201
202* Thu Mar 09 2006 Dag Wieers <dag@wieers.com> - 0.6.2-1
203- Updated to release 0.6.2.
204
205* Mon Sep 05 2005 Dag Wieers <dag@wieers.com> - 0.6.1-1
206- Updated to release 0.6.1.
207
208* Sun May 29 2005 Dag Wieers <dag@wieers.com> - 0.6.0-1
209- Updated to release 0.6.0.
210
211* Fri Apr 08 2005 Dag Wieers <dag@wieers.com> - 0.5.10-1
212- Updated to release 0.5.10.
213
214* Mon Mar 28 2005 Dag Wieers <dag@wieers.com> - 0.5.9-1
215- Updated to release 0.5.9.
216
217* Tue Mar 15 2005 Dag Wieers <dag@wieers.com> - 0.5.8-1
218- Updated to release 0.5.8.
219
220* Fri Dec 31 2004 Dag Wieers <dag@wieers.com> - 0.5.7-1
221- Updated to release 0.5.7.
222
223* Mon Dec 20 2004 Dag Wieers <dag@wieers.com> - 0.5.6-1
224- Updated to release 0.5.6.
225
226* Thu Dec 02 2004 Dag Wieers <dag@wieers.com> - 0.5.5-1
227- Updated to release 0.5.5.
228
229* Thu Nov 25 2004 Dag Wieers <dag@wieers.com> - 0.5.4-1
230- Updated to release 0.5.4.
231- Use dstat15 if distribution uses python 1.5.
232
233* Sun Nov 21 2004 Dag Wieers <dag@wieers.com> - 0.5.3-1
234- Updated to release 0.5.3.
235
236* Sat Nov 13 2004 Dag Wieers <dag@wieers.com> - 0.5.2-1
237- Updated to release 0.5.2.
238
239* Thu Nov 11 2004 Dag Wieers <dag@wieers.com> - 0.5.1-1
240- Updated to release 0.5.1.
241
242* Tue Oct 26 2004 Dag Wieers <dag@wieers.com> - 0.4-1
243- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.