Name: fio Version: 2.14 Release: 2%{?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}-%{name}-%{version}.tar.gz Patch0: generate_plots.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libaio-devel BuildRequires: librdmacm-devel BuildRequires: gtk2-devel %ifarch x86_64 BuildRequires: librbd1-devel %endif %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. %package gtkgui Summary: GUI frontend for fio Requires: %{name} = %{version}-%{release} %description gtkgui A cross-platform gtk-based GUI frontend (gfio) for fio %prep %setup -q -n %{name}-%{name}-%{version} %patch0 %build %{_configure} --enable-gfio EXTFLAGS="$RPM_OPT_FLAGS" make V=1 %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install prefix=%{_prefix} mandir=%{_mandir} DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}/* [ "${RPM_BUILD_DIR}" != "/" ] && rm -rf ${RPM_BUILD_DIR}/* %files %defattr(-,root,root,-) %doc README REPORTING-BUGS COPYING HOWTO examples %dir %{_datadir}/%{name} %{_bindir}/%{name} %{_bindir}/%{name}-* %{_bindir}/%{name}2gnuplot %{_bindir}/%{name}_latency2csv.py %{_bindir}/%{name}logparser.py %{_bindir}/%{name}logparser_hist.py %{_bindir}/gen%{name} %{_bindir}/%{name}_generate_plots %{_mandir}/man1/* %{_datadir}/%{name}/* %files gtkgui %{_bindir}/g%{name} %changelog * Fri Sep 30 2016 Daniel Steiner 2.14-2 - Problem with fio_generate_plots script fixed, see patch. * Fri Sep 30 2016 Daniel Steiner 2.14-1 - New build for CentOS 7