rpms/dbench/F-7 dbench.spec,NONE,1.1

Rahul Sundaram (sundaram) fedora-extras-commits at redhat.com
Wed Sep 12 06:21:35 UTC 2007


Author: sundaram

Update of /cvs/pkgs/rpms/dbench/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7437

Added Files:
	dbench.spec 
Log Message:
Initial build



--- NEW FILE dbench.spec ---
Name:           dbench
Version:        3.04 
Release:        6%{?dist}
Summary:        Filesystem load benchmarking tool

Group:          System Environment/Base
License:        GPLv2+
Source0:        http://samba.org/ftp/tridge/dbench/dbench-%{version}.tar.gz 
URL:            http://samba.org/ftp/tridge/dbench/README
Patch0:         dbench-3.04-destdir.patch
Patch1:         dbench-3.04-datadir.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  
%description
Dbench is a file system benchmark that generates load patterns similar
to those of the commercial Netbench benchmark, but without requiring a
lab of Windows load generators to run. It is now considered a de facto
standard for generating load on the Linux VFS.

%prep
%setup -q
%patch0 -p1 -b .destdir 
%patch1 -p1 -b .datadir

%build 
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}/man1 INSTALLCMD='install -p'

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README COPYING
%dir %{_datadir}/dbench
%{_datadir}/dbench/client.txt
%{_bindir}/*
%{_mandir}/man1/*

%changelog

* Tue Sep 11 2007 Rahul Sundaram<sundaram at redhat.com> - 3.04-6
- Drop redundant version macro
* Tue Sep 11 2007 Rahul Sundaram<sundaram at redhat.com> - 3.04-5
- Fix version. Dropped BR on glibc-headers
* Tue Sep 11 2007 Rahul Sundaram<sundaram at redhat.com> - 3.04-4
- Fixed docs

* Tue Sep 11 2007 Rahul Sundaram<sundaram at redhat.com> - 3.04-3
- Fixed description, man page location, timestamps, BR and license tag

* Wed Jul 11 2007 John (J5) Palmieri <johnp at redhat.com> - 3.04-2
- add patch to move client.txt to %%{_datadir}/dbench and have the app look
  there for the file

* Wed Jun 20 2007 John (J5) Palmieri <johnp at redhat.com> - 3.04-1
- add patch to respect DESTDIR
- realy make and make install dbench
- place client.txt file in a sane location

* Wed Jun 20 2007 Rahul Sundaram <sundaram at redhat.com>
- split from olpc-utils as suggested in review. Based on the spec from J5




More information about the scm-commits mailing list