ベンチマークに使うツール関連
Révision | d93e1ff04068b1ccb925e5c4aac8a84b3280db2f (tree) |
---|---|
l'heure | 2012-08-16 04:53:59 |
Auteur | hylom <hylom@hylo...> |
Commiter | hylom |
add unixbench.spec
@@ -0,0 +1,49 @@ | ||
1 | +Name: unixbench | |
2 | +Version: 5.1.3 | |
3 | +Release: hy1 | |
4 | +Group: Utilities | |
5 | +Vendor: hylom | |
6 | +URL: http://code.google.com/p/byte-unixbench/ | |
7 | +Packager: hylom <hylom@hylom.net> | |
8 | +License: GNU General Public License Version 2 (GPLv2) | |
9 | +Summary: A Unix benchmark suite | |
10 | +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root | |
11 | +Source: UnixBench%{version}.tgz | |
12 | +Requires: perl-Time-HiRes | |
13 | +Requires: make | |
14 | + | |
15 | +%description | |
16 | +UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years. | |
17 | +Portable, fully-threaded I/O benchmark program | |
18 | + | |
19 | +%prep | |
20 | +%setup -q -n UnixBench | |
21 | + | |
22 | +%build | |
23 | +make | |
24 | + | |
25 | +%install | |
26 | +rm -rf $RPM_BUILD_ROOT | |
27 | +mkdir -p $RPM_BUILD_ROOT/usr/bin | |
28 | +mkdir -p $RPM_BUILD_ROOT/usr/share/%name/ | |
29 | +cp -pr Makefile Run pgms results testdir tmp $RPM_BUILD_ROOT/usr/share/%name/ | |
30 | + | |
31 | +%clean | |
32 | +rm -rf $RPM_BUILD_ROOT | |
33 | + | |
34 | +%files | |
35 | +/usr/share/%name/pgms/ | |
36 | +/usr/share/%name/testdir/ | |
37 | +/usr/share/%name/Makefile | |
38 | +/usr/share/%name/Run | |
39 | +/usr/share/%name/results | |
40 | +/usr/share/%name/tmp | |
41 | + | |
42 | +%defattr(-,root,root,-) | |
43 | + | |
44 | +%doc README USAGE WRITING_TESTS | |
45 | + | |
46 | +%changelog | |
47 | +* Wed Aug 15 2012 hylom <hylom@hylom.net> | |
48 | +- Initial build. | |
49 | + |