summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrobell2004-01-28 12:25:17 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit1c4562c69032d4e7636232e97b2ed2292a231da9 (patch)
treecb3583db92fb5f0f8e134be2f649de7295c26361
downloadiostat-1c4562c69032d4e7636232e97b2ed2292a231da9.zip
iostat-1c4562c69032d4e7636232e97b2ed2292a231da9.tar.gz
- based on template
Changed files: iostat.spec -> 1.1
-rw-r--r--iostat.spec43
1 files changed, 43 insertions, 0 deletions
diff --git a/iostat.spec b/iostat.spec
new file mode 100644
index 0000000..2388a9a
--- /dev/null
+++ b/iostat.spec
@@ -0,0 +1,43 @@
+Summary: Command line I/O performance monitoring utility
+Name: iostat
+Version: 2.0
+Release: 1
+License: unknown
+Group: Applications/System
+Source0: http://linux.inet.hr/%{name}-%{version}.tar.gz
+# Source0-md5: 11f0c7e04ce17967fa9ea0259f53ea94
+URL: http://linux.inet.hr/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+iostat is a command line I/O performance monitoring utility. It is present
+in almost every major Unix flavor in use today, and here you can get your
+version for Linux. It works on both 2.4 & 2.6. What makes it different from
+other Linux utilities, which mostly show only I/O transfer rates, is that
+you finally can get important information about disk utilization, number of
+requests, average queue size and disk & queue wait times. No serious
+sysadmin should be without it. Check the screenshots to learn more.
+
+
+%prep
+%setup -q
+
+%build
+%{__make} CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
+
+install iostat $RPM_BUILD_ROOT%{_bindir}
+install iostat.8 $RPM_BUILD_ROOT%{_mandir}/man8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man8/*