modified: src1/input.c
[GalaxyCodeBases.git] / c_cpp / aio-test / aio-stress.spec
blob5bb73384a0ab9c8ad314ec7ae7ad28749b6045ba
1 # $Id$
2 # Authority: dag
3 # Upstream: Chris Mason <mason$suse,com>
5 Summary: AIO benchmark tool
6 Name: aio-stress
7 Version: 0.21
8 Release: 1%{?dist}
9 License: GPL
10 Group: Applications/System
11 URL: http://fsbench.filesystems.org/
13 Source: http://fsbench.filesystems.org/bench/aio-stress.c
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16 %description
17 aio-stress is a AIO benchmark tool.
19 %prep
20 %{__cp} -v %{SOURCE0} aio-stress.c
22 %build
23 %{__cc} -Wall -laio -lpthread -o aio-stress aio-stress.c
25 %install
26 %{__rm} -rf %{buildroot}
27 %{__install} -Dp -m0755 aio-stress %{buildroot}%{_bindir}/aio-stress
29 %clean
30 %{__rm} -rf %{buildroot}
32 %files
33 %defattr(-, root, root, 0755)
34 %{_bindir}/aio-stress
36 %changelog
37 * Tue Jun 08 2010 Dag Wieers <dag@wieers.com> - 0.21-1
38 - Initial package. (using DAR)