1Summary: Test tool for driving IO to block, raw, filesystem targets 2Name: disktest 3Version: v1.4.1 4Vendor: IBM Corp. 5Release: 1 6Copyright: GPL 7Group: Applications/System 8BuildRoot: /tmp/%{name}-buildroot 9Source: disktest-%{version}.tar.gz 10Requires: man rpm 11 12%description 13This package provides the disk testing utility for performing IO testing to 14block, raw, and filesystem targets. 15 16Authors: 17-------- 18 Brent Yardley <yardleyb@us.ibm.com> 19 20 21%prep 22RPM_SOURCE_DIR="~/work/SOURCES" 23%setup 24make all-clean 25 26%build 27make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" 28 29%install 30[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; 31rm -rf $RPM_BUILD_ROOT 32mkdir -p $RPM_BUILD_ROOT/usr/bin 33mkdir -p $RPM_BUILD_ROOT/usr/man/man1 34 35install -m 775 disktest $RPM_BUILD_ROOT/usr/bin 36install -m 775 man1/disktest.1.gz $RPM_BUILD_ROOT/usr/man/man1 37 38%clean 39rm -rf $RPM_BUILD_ROOT 40 41%files 42%defattr(-,root,root) 43%doc README LICENSE CHANGELOG 44/usr/bin/disktest 45/usr/man/man1/disktest.1.gz 46 47%changelog 48* Tue Oct 19 2006 Brent Yardley <yardleyb@us.ibm.com> 49- Added signal handlers 50* Tue Jun 13 2006 Brent Yardley <yardleyb@us.ibm.com> 51- First rpm package build 52