Home | History | Annotate | Download | only in disktest
      1 Summary: Test tool for driving IO to block, raw, filesystem targets
      2 Name: disktest
      3 Version: v1.4.1
      4 Vendor: IBM Corp.
      5 Release: 1
      6 Copyright: GPL
      7 Group: Applications/System
      8 BuildRoot: /tmp/%{name}-buildroot
      9 Source: disktest-%{version}.tar.gz
     10 Requires: man rpm
     11 
     12 %description
     13 This package provides the disk testing utility for performing IO testing to
     14 block, raw, and filesystem targets.
     15 
     16 Authors:
     17 --------
     18     Brent Yardley <yardleyb@us.ibm.com>
     19 
     20 
     21 %prep
     22 RPM_SOURCE_DIR="~/work/SOURCES"
     23 %setup
     24 make all-clean
     25 
     26 %build
     27 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
     28 
     29 %install
     30 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
     31 rm -rf $RPM_BUILD_ROOT
     32 mkdir -p $RPM_BUILD_ROOT/usr/bin
     33 mkdir -p $RPM_BUILD_ROOT/usr/man/man1
     34 
     35 install -m 775 disktest $RPM_BUILD_ROOT/usr/bin
     36 install -m 775 man1/disktest.1.gz $RPM_BUILD_ROOT/usr/man/man1
     37 
     38 %clean
     39 rm -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