ベンチマークに使うツール関連
修訂 | 0487d93050398bd9e40998124563281a37a7b0ac (tree) |
---|---|
時間 | 2012-08-16 04:16:55 |
作者 | hylom <hylom@hylo...> |
Commiter | hylom |
add tiobench.spec
@@ -0,0 +1,48 @@ | ||
1 | +Name: tiobench | |
2 | +Version: 0.3.3 | |
3 | +Release: hy1 | |
4 | +Group: Utilities | |
5 | +Vendor: hylom | |
6 | +URL: http://sourceforge.net/projects/tiobench/ | |
7 | +Packager: hylom <hylom@hylom.net> | |
8 | +License: GNU General Public License (GPL) | |
9 | +Summary: Threaded I/O tester benchmark tool | |
10 | +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root | |
11 | +Source: tiobench-%{version}.tar.gz | |
12 | + | |
13 | +%description | |
14 | +Portable, fully-threaded I/O benchmark program | |
15 | + | |
16 | +%prep | |
17 | +%setup -q | |
18 | + | |
19 | +%build | |
20 | +make | |
21 | + | |
22 | +%install | |
23 | +rm -rf $RPM_BUILD_ROOT | |
24 | +mkdir -p $RPM_BUILD_ROOT/usr/bin | |
25 | +mkdir -p $RPM_BUILD_ROOT/usr/share/%name/scripts | |
26 | +install -s -m0755 tiotest $RPM_BUILD_ROOT/usr/bin | |
27 | +install -m0755 tiobench.pl tiosum.pl $RPM_BUILD_ROOT/usr/bin | |
28 | +install -m0644 scripts/README scripts/bigbench.sh scripts/makeimages.pl $RPM_BUILD_ROOT/usr/share/%name/scripts | |
29 | + | |
30 | +%clean | |
31 | +rm -rf $RPM_BUILD_ROOT | |
32 | + | |
33 | +%files | |
34 | +/usr/bin/tiotest | |
35 | +/usr/bin/tiobench.pl | |
36 | +/usr/bin/tiosum.pl | |
37 | +/usr/share/%name/scripts/bigbench.sh | |
38 | +/usr/share/%name/scripts/makeimages.pl | |
39 | +/usr/share/%name/scripts/README | |
40 | + | |
41 | +%defattr(-,root,root,-) | |
42 | + | |
43 | +%doc README BUGS COPYING ChangeLog TODO | |
44 | + | |
45 | +%changelog | |
46 | +* Wed Aug 15 2012 hylom <hylom@hylom.net> | |
47 | +- Initial build. | |
48 | + |