fbc3851
Name:           dbench
566926e
Version:        4.0 
5b8ca12
Release:        6%{?dist}
fbc3851
Summary:        Filesystem load benchmarking tool
fbc3851
fbc3851
Group:          System Environment/Base
fbc3851
License:        GPLv2+
fbc3851
Source0:        http://samba.org/ftp/tridge/dbench/dbench-%{version}.tar.gz 
fbc3851
URL:            http://samba.org/ftp/tridge/dbench/README
566926e
Patch0:         dbench-4.0-destdir.patch
566926e
Patch1:         dbench-4.0-datadir.patch
fbc3851
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f2af2a7
BuildRequires:  autoconf popt-devel
fbc3851
  
fbc3851
%description
fbc3851
Dbench is a file system benchmark that generates load patterns similar
fbc3851
to those of the commercial Netbench benchmark, but without requiring a
fbc3851
lab of Windows load generators to run. It is now considered a de facto
fbc3851
standard for generating load on the Linux VFS.
fbc3851
fbc3851
%prep
fbc3851
%setup -q
fbc3851
%patch0 -p1 -b .destdir 
fbc3851
%patch1 -p1 -b .datadir
fbc3851
9da8017
%build
9da8017
./autogen.sh 
fbc3851
%configure
fbc3851
make %{?_smp_mflags}
fbc3851
fbc3851
%install
fbc3851
rm -rf $RPM_BUILD_ROOT
fbc3851
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}/man1 INSTALLCMD='install -p'
fbc3851
fbc3851
%clean
fbc3851
rm -rf $RPM_BUILD_ROOT
fbc3851
fbc3851
fbc3851
%files
fbc3851
%defattr(-,root,root,-)
fbc3851
%doc README COPYING
fbc3851
%dir %{_datadir}/dbench
fbc3851
%{_datadir}/dbench/client.txt
fbc3851
%{_bindir}/*
fbc3851
%{_mandir}/man1/*
fbc3851
fbc3851
%changelog
5b8ca12
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-6
5b8ca12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5b8ca12
3720724
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-5
3720724
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3720724
7af3dd0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-4
7af3dd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7af3dd0
1fe8ed2
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-3
1fe8ed2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1fe8ed2
3150cfc
* Mon Apr 14 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 4.0-2
f2af2a7
- Fix BR's
f2af2a7
* Mon Apr 14 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 4.0-1
9da8017
- Fix patch
f2af2a7
* Mon Apr 14 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 4.0-0
566926e
- New upstream release 4.0
fa07e31
* Sat Feb 9 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 3.04-7
fa07e31
- Rebuild for GCC 4.3
fbc3851
* Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-6
fbc3851
- Drop redundant version macro
fbc3851
* Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-5
fbc3851
- Fix version. Dropped BR on glibc-headers
fbc3851
* Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-4
fbc3851
- Fixed docs
fbc3851
* Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-3
fbc3851
- Fixed description, man page location, timestamps, BR and license tag
fbc3851
* Wed Jul 11 2007 John (J5) Palmieri <johnp@redhat.com> - 3.04-2
fbc3851
- add patch to move client.txt to %%{_datadir}/dbench and have the app look
fbc3851
  there for the file
fbc3851
* Wed Jun 20 2007 John (J5) Palmieri <johnp@redhat.com> - 3.04-1
fbc3851
- add patch to respect DESTDIR
fbc3851
- realy make and make install dbench
fbc3851
- place client.txt file in a sane location
fbc3851
* Wed Jun 20 2007 Rahul Sundaram <sundaram@redhat.com>
fbc3851
- split from olpc-utils as suggested in review. Based on the spec from J5