iozone3/iozone3.spec

77 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: iozone3
Version: 471
Release: 1mamba
Summary: A filesystem benchmark tool
Group: System/Benchmarks
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.iozone.org/
Source: http://www.iozone.org/src/current/iozone3_%{version}.tar
Source1: iozone-Generate_Graphs
License: Distributable
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
IOzone is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations.
%debug_package
%prep
%setup -q -c %{name}-%{version}
%build
%make -C iozone3_%{version}/src/current linux
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 iozone3_%{version}/src/current/iozone \
%{buildroot}%{_bindir}/iozone
install -D -m0755 iozone3_%{version}/src/current/fileop \
%{buildroot}%{_bindir}/fileop
install -D -m0755 iozone3_%{version}/src/current/pit_server \
%{buildroot}%{_bindir}/pit_server
install -D -m0755 %{SOURCE1} \
%{buildroot}%{_datadir}/iozone/Generate_Graphs
install -D -m0755 iozone3_%{version}/src/current/gengnuplot.sh \
%{buildroot}%{_datadir}/iozone/gengnuplot.sh
install -D -m0755 iozone3_%{version}/src/current/iozone_visualizer.pl \
%{buildroot}%{_datadir}/iozone/iozone_visualizer.pl
install -D -m0755 iozone3_%{version}/src/current/report.pl \
%{buildroot}%{_datadir}/iozone/report.pl
install -D -m0755 iozone3_%{version}/docs/iozone.1 \
%{buildroot}%{_mandir}/man1/iozone.1
cp iozone3_%{version}/src/current/*.dem %{buildroot}%{_datadir}/iozone/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/iozone
%{_bindir}/fileop
%{_bindir}/pit_server
%dir %{_datadir}/iozone
%{_datadir}/iozone/Generate_Graphs
%{_datadir}/iozone/gengnuplot.sh
%{_datadir}/iozone/iozone_visualizer.pl
%{_datadir}/iozone/report.pl
%attr(0644,root,root) %{_datadir}/iozone/*.dem
%{_mandir}/man1/iozone.1*
%changelog
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 471-1mamba
- automatic update by autodist
* Sun Sep 11 2016 Automatic Build System <autodist@mambasoft.it> 465-1mamba
- automatic update by autodist
* Sat Jan 09 2016 Automatic Build System <autodist@mambasoft.it> 434-1mamba
- automatic update by autodist
* Wed Jan 28 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 430-1mamba
- package created using the webbuild interface