dbench-vl.spec 3.1 KB

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