From 5aa85647d70fbe273ce7273ee8ee267d2b1fe12f Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 2 May 2001 16:29:06 +0000 Subject: [PATCH] - adapterized and made spec %%debug ready or added using %%rpm*flags macros Changed files: iozone.spec -> 1.3 --- iozone.spec | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/iozone.spec b/iozone.spec index b9599d4..225b2b7 100644 --- a/iozone.spec +++ b/iozone.spec @@ -2,16 +2,18 @@ Summary: IO Zone Benchmark Program Name: iozone Version: 3.9 Release: 2 -Group: Utilities/System -Source: ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/iozone3_9.tar.gz +Group: Applications/System +Group(de): Applikationen/System +Group(pl): Aplikacje/System +Source0: ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/%{name}3_9.tar.gz Copyright: distributable -Patch: iozone-3.9-make.patch +Patch0: %{name}-3.9-make.patch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Iozone benchmarks IO performance. By default it benchmarks the speed of -sequential I/O to files, but it also supports a raw mode that attempts -a measurement of speed when accessing a raw device. +Iozone benchmarks IO performance. By default it benchmarks the speed +of sequential I/O to files, but it also supports a raw mode that +attempts a measurement of speed when accessing a raw device. %prep %setup -q -c @@ -19,26 +21,26 @@ a measurement of speed when accessing a raw device. %build cd src -make linux OPT="$RPM_OPT_FLAGS" +%{__make} linux OPT="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/iozone,%{_mandir}/man1} -install -s src/iozone $RPM_BUILD_ROOT%{_bindir} +install src/iozone $RPM_BUILD_ROOT%{_bindir} install src/iozone.1 $RPM_BUILD_ROOT%{_mandir}/man1 install src/*.dem $RPM_BUILD_ROOT%{_datadir}/iozone gzip -d docs/*.gz -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* docs/* src/Changes.txt +gzip -9nf docs/* src/Changes.txt %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(644, root, root, 755) +%defattr(644,root,root,755) %doc docs/*.gz src/*.gz -%attr(750, root, root) %{_bindir}/iozone +%attr(750,root,root) %{_bindir}/iozone %{_datadir}/iozone/*.dem %{_mandir}/man1/iozone.1* -- 2.44.0