summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.cvsignore1
-rw-r--r--fio.spec49
-rw-r--r--sources1
3 files changed, 51 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index e69de29..cac26a0 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+fio-1.18.tar.bz2
diff --git a/fio.spec b/fio.spec
new file mode 100644
index 0000000..f715fe2
--- /dev/null
+++ b/fio.spec
@@ -0,0 +1,49 @@
+Name: fio
+Version: 1.18
+Release: 1%{?dist}
+Summary: Multithreaded IO generation tool
+
+Group: Applications/System
+License: GPLv2
+URL: http://git.kernel.dk/?p=fio.git;a=summary
+Source: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: libaio-devel
+
+%description
+fio is an I/O tool that will spawn a number of threads or processes doing
+a particular type of io action as specified by the user. fio takes a
+number of global parameters, each inherited by the thread unless
+otherwise parameters given to them overriding that setting is given.
+The typical use of fio is to write a job file matching the io load
+one wants to simulate.
+
+
+%prep
+%setup -q
+
+
+%build
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install prefix=%{_prefix} mandir=%{_mandir} DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc README REPORTING-BUGS COPYING HOWTO examples
+%{_bindir}/*
+%{_mandir}/man1/*
+
+%changelog
+* Wed Feb 13 2008 Eric Sandeen <sandeen@redhat.com> 1.18-1
+- Initial build
diff --git a/sources b/sources
index e69de29..9a5eff3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9217392c075de5c1adb944bfee44d126 fio-1.18.tar.bz2