]> git.pld-linux.org Git - packages/fio.git/blob - fio.spec
- new
[packages/fio.git] / fio.spec
1 Summary:        I/O tool for benchmark and stress/hardware verification
2 #Summary(pl):   -
3 Name:           fio
4 Version:        1.12
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d4acc850d9b7197e31c08a204368c1ab
10 URL:            http://git.kernel.dk/?p=fio.git;a=summary
11 BuildRequires:  libaio-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 fio is an I/O tool meant to be used both for benchmark and
16 stress/hardware verification. It has support for 9 different types of
17 I/O engines (sync, mmap, libaio, posixaio, SG v3, splice, null,
18 network, syslet), I/O priorities (for newer Linux kernels), rate I/O,
19 forked or threaded jobs, and much more. It can work on block devices
20 as well as files. fio accepts job descriptions in a
21 simple-to-understand text format. Several example job files are
22 included. fio displays all sorts of I/O performance information. It
23 supports Linux, FreeBSD, and OpenSolaris.
24
25 #%%description -l pl
26
27 %prep
28 %setup -q
29
30 %build
31 %{__make} \
32         CC="%{__cc}" \
33         OPTFLAGS="%{rpmcflags}" \
34         LDFLAGS="%{rpmldflags}" \
35         %{?debug:DEBUGFLAGS=-D_FORTIFY_SOURCE=2}%{!?debug:DEBUGFLAGS=}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         prefix="%{_prefix}" \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc HOWTO README
50 %attr(755,root,root) %{_bindir}/*
This page took 0.121594 seconds and 4 git commands to generate.