6196522
Name:           dbench
6196522
Version:        3.04 
6196522
Release:        6%{?dist}
6196522
Summary:        Filesystem load benchmarking tool
6196522
6196522
Group:          System Environment/Base
6196522
License:        GPLv2+
6196522
Source0:        http://samba.org/ftp/tridge/dbench/dbench-%{version}.tar.gz 
6196522
URL:            http://samba.org/ftp/tridge/dbench/README
6196522
Patch0:         dbench-3.04-destdir.patch
6196522
Patch1:         dbench-3.04-datadir.patch
6196522
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6196522
  
6196522
%description
6196522
Dbench is a file system benchmark that generates load patterns similar
6196522
to those of the commercial Netbench benchmark, but without requiring a
6196522
lab of Windows load generators to run. It is now considered a de facto
6196522
standard for generating load on the Linux VFS.
6196522
6196522
%prep
6196522
%setup -q
6196522
%patch0 -p1 -b .destdir 
6196522
%patch1 -p1 -b .datadir
6196522
6196522
%build 
6196522
%configure
6196522
make %{?_smp_mflags}
6196522
6196522
%install
6196522
rm -rf $RPM_BUILD_ROOT
6196522
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}/man1 INSTALLCMD='install -p'
6196522
6196522
%clean
6196522
rm -rf $RPM_BUILD_ROOT
6196522
6196522
6196522
%files
6196522
%defattr(-,root,root,-)
6196522
%doc README COPYING
6196522
%dir %{_datadir}/dbench
6196522
%{_datadir}/dbench/client.txt
6196522
%{_bindir}/*
6196522
%{_mandir}/man1/*
6196522
6196522
%changelog
6196522
6196522
* Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-6
6196522
- Drop redundant version macro
6196522
* Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-5
6196522
- Fix version. Dropped BR on glibc-headers
6196522
* Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-4
6196522
- Fixed docs
6196522
6196522
* Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-3
6196522
- Fixed description, man page location, timestamps, BR and license tag
6196522
6196522
* Wed Jul 11 2007 John (J5) Palmieri <johnp@redhat.com> - 3.04-2
6196522
- add patch to move client.txt to %%{_datadir}/dbench and have the app look
6196522
  there for the file
6196522
6196522
* Wed Jun 20 2007 John (J5) Palmieri <johnp@redhat.com> - 3.04-1
6196522
- add patch to respect DESTDIR
6196522
- realy make and make install dbench
6196522
- place client.txt file in a sane location
6196522
6196522
* Wed Jun 20 2007 Rahul Sundaram <sundaram@redhat.com>
6196522
- split from olpc-utils as suggested in review. Based on the spec from J5