source: projects/specs/trunk/d/dbench/dbench-vl.spec @ 6622

Revision 6622, 3.1 KB checked in by daisuke, 12 years ago (diff)

new package

Line 
1Name:           dbench
2Version:        4.0
3Release:        1%{?_dist_release}
4Summary:        Filesystem load benchmarking tool
5Summary(ja):    ファイルシステム負荷ベンチマークツール
6
7Group:          System Environment/Base
8License:        GPLv2+
9Source0:        http://samba.org/ftp/tridge/dbench/dbench-%{version}.tar.gz
10URL:            http://samba.org/ftp/tridge/dbench/README
11Patch0:         dbench-4.0-destdir.patch
12Patch1:         dbench-4.0-datadir.patch
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildRequires:  autoconf popt-devel
15 
16%description
17Dbench is a file system benchmark that generates load patterns similar
18to those of the commercial Netbench benchmark, but without requiring a
19lab of Windows load generators to run. It is now considered a de facto
20standard 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
30make %{?_smp_mflags}
31
32%install
33rm -rf $RPM_BUILD_ROOT
34make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}/man1 INSTALLCMD='install -p'
35
36%clean
37rm -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
Note: See TracBrowser for help on using the repository browser.