[6622] | 1 | Name: dbench |
---|
| 2 | Version: 4.0 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Filesystem load benchmarking tool |
---|
| 5 | Summary(ja): ファイルシステム負荷ベンチマークツール |
---|
| 6 | |
---|
| 7 | Group: System Environment/Base |
---|
| 8 | License: GPLv2+ |
---|
| 9 | Source0: http://samba.org/ftp/tridge/dbench/dbench-%{version}.tar.gz |
---|
| 10 | URL: http://samba.org/ftp/tridge/dbench/README |
---|
| 11 | Patch0: dbench-4.0-destdir.patch |
---|
| 12 | Patch1: dbench-4.0-datadir.patch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 14 | BuildRequires: autoconf popt-devel |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | Dbench is a file system benchmark that generates load patterns similar |
---|
| 18 | to those of the commercial Netbench benchmark, but without requiring a |
---|
| 19 | lab of Windows load generators to run. It is now considered a de facto |
---|
| 20 | standard for generating load on the Linux VFS. |
---|
| 21 | |
---|
| 22 | %prep |
---|
| 23 | %setup -q |
---|
| 24 | %patch0 -p1 -b .destdir |
---|
| 25 | %patch1 -p1 -b .datadir |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | ./autogen.sh |
---|
| 29 | %configure |
---|
| 30 | make %{?_smp_mflags} |
---|
| 31 | |
---|
| 32 | %install |
---|
| 33 | rm -rf $RPM_BUILD_ROOT |
---|
| 34 | make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}/man1 INSTALLCMD='install -p' |
---|
| 35 | |
---|
| 36 | %clean |
---|
| 37 | rm -rf $RPM_BUILD_ROOT |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %files |
---|
| 41 | %defattr(-,root,root,-) |
---|
| 42 | %doc README COPYING |
---|
| 43 | %dir %{_datadir}/dbench |
---|
| 44 | %{_datadir}/dbench/client.txt |
---|
| 45 | %{_bindir}/* |
---|
| 46 | %{_mandir}/man1/* |
---|
| 47 | |
---|
| 48 | %changelog |
---|
| 49 | * Sun Jul 22 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-1 |
---|
| 50 | - initial build for Vine Linux |
---|
| 51 | |
---|
| 52 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-6 |
---|
| 53 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 54 | |
---|
| 55 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-5 |
---|
| 56 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 57 | |
---|
| 58 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-4 |
---|
| 59 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 60 | |
---|
| 61 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-3 |
---|
| 62 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 63 | |
---|
| 64 | * Mon Apr 14 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 4.0-2 |
---|
| 65 | - Fix BR's |
---|
| 66 | * Mon Apr 14 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 4.0-1 |
---|
| 67 | - Fix patch |
---|
| 68 | * Mon Apr 14 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 4.0-0 |
---|
| 69 | - New upstream release 4.0 |
---|
| 70 | * Sat Feb 9 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 3.04-7 |
---|
| 71 | - Rebuild for GCC 4.3 |
---|
| 72 | * Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-6 |
---|
| 73 | - Drop redundant version macro |
---|
| 74 | * Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-5 |
---|
| 75 | - Fix version. Dropped BR on glibc-headers |
---|
| 76 | * Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-4 |
---|
| 77 | - Fixed docs |
---|
| 78 | * Tue Sep 11 2007 Rahul Sundaram<sundaram@redhat.com> - 3.04-3 |
---|
| 79 | - Fixed description, man page location, timestamps, BR and license tag |
---|
| 80 | * Wed Jul 11 2007 John (J5) Palmieri <johnp@redhat.com> - 3.04-2 |
---|
| 81 | - add patch to move client.txt to %%{_datadir}/dbench and have the app look |
---|
| 82 | there for the file |
---|
| 83 | * Wed Jun 20 2007 John (J5) Palmieri <johnp@redhat.com> - 3.04-1 |
---|
| 84 | - add patch to respect DESTDIR |
---|
| 85 | - realy make and make install dbench |
---|
| 86 | - place client.txt file in a sane location |
---|
| 87 | * Wed Jun 20 2007 Rahul Sundaram <sundaram@redhat.com> |
---|
| 88 | - split from olpc-utils as suggested in review. Based on the spec from J5 |
---|