File iops.spec of Package iops

# vim: set sw=4 ts=4 et nu:
# norootforbuild

Name:               iops
Version:            20100812
%define pkg_version 2010-08-12
Release:            0
Summary:            Disk I/O Benchmark
# http://benjamin-schweizer.de/files/iops/iops-%{pkg_version}
Source0:            iops-%{pkg_version}.bz2
URL:                http://benjamin-schweizer.de/measuring-disk-io-performance.html
Group:              System/Benchmark
License:            BSD2c
BuildRoot:          %{_tmppath}/build-%{name}-%{version}
Requires:           python
BuildArch:          noarch

%description
Benchmark script to measure disk I/O performance.

%prep
%setup -q -T -c "%{name}-%{version}"
%__bzip2 -d -c "%{SOURCE0}" > iops

%build

%install
%__install -D -m0755 iops "%{buildroot}%{_bindir}/iops"

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files
%defattr(-,root,root)
%{_bindir}/iops

openSUSE Build Service is sponsored by