diff --git a/iozone.spec b/iozone.spec new file mode 100644 index 0000000000000000000000000000000000000000..53551d44ac8dbee4b4fbcf8adf101512191dcfd0 --- /dev/null +++ b/iozone.spec @@ -0,0 +1,75 @@ +Summary: Filesystem benchmarking utility +Name: iozone +Version: 3 +Release: 5%{?dist} +License: Freeware +Group: Applications/Engineering +URL: http://www.iozone.org +Source: http://www.iozone.org/src/current/%{name}%{version}_490.tar +Buildroot: %{_tmppath}/%{name}%{version}_490-root-%(%{__id_u} -n) +Requires: gnuplot + +%description +IOzone is a filesystem benchmark tool. The benchmark generates and +measures a variety of file operations. Iozone has been ported to +many machines and runs under many operating systems. + +Iozone is useful for performing a broad filesystem analysis of a vendors +computer platform. The benchmark tests file I/O performance for the following +operations: Read, write, re-read, re-write, read backwards, read strided, +fread, fwrite, random read, pread ,mmap, aio_read, aio_write. + + +%prep + +%setup -n iozone3_490 +%patch0 -p1 +%patch1 -p1 + +%build +cd src/current +make linux +cd ../.. + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_bindir} +mkdir -p $RPM_BUILD_ROOT/usr/share/iozone +mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 + +install -p src/current/iozone $RPM_BUILD_ROOT/%{_bindir} +install -p src/current/Generate_Graphs $RPM_BUILD_ROOT/%{_bindir} +install -p src/current/gengnuplot.sh $RPM_BUILD_ROOT/%{_bindir} +install -p -m 644 src/current/gnu3d.dem $RPM_BUILD_ROOT/usr/share/iozone +install -p -m 644 docs/iozone.1 $RPM_BUILD_ROOT/%{_mandir}/man1/ +chmod 644 docs/IOzone_msword_98.pdf +chmod 644 docs/Run_rules.doc +chmod 644 src/current/Gnuplot.txt + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{_mandir}/man1/* +%doc docs/IOzone_msword_98.pdf +%doc docs/Run_rules.doc +%doc src/current/Gnuplot.txt +/usr/share/iozone/ + + +%clean +rm -rf $RPM_BUILD_ROOT + +%changelog +* Tue July 21 2020 chenyaqiang - 3-5 +- Autorebuild for GCC 4.3 + +* Tue Feb 19 2008 Fedora Release Engineering - 3-5 +- Autorebuild for GCC 4.3 + +* Fri Jan 18 2008 Neil Horman +- Update revision for rebuild + +* Tue May 27 2005 Neil Horman +- cleaned up spec file +- packaged for Fedora Extras \ No newline at end of file diff --git a/iozone3_490.tar b/iozone3_490.tar new file mode 100644 index 0000000000000000000000000000000000000000..6ecd06e507f34ed796785dcf4d4395b1d56406d3 Binary files /dev/null and b/iozone3_490.tar differ