|
|
@@ -29,13 +29,13 @@
|
|
|
Name: iozone
|
|
|
Summary: Filesystem Benchmark
|
|
|
URL: http://www.iozone.org/
|
|
|
-Vendor: ?
|
|
|
+Vendor: William D. Norcott
|
|
|
Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [EXP]
|
|
|
Group: Benchmark
|
|
|
-License: ?
|
|
|
+License: Open Source
|
|
|
Version: %{V_logic}
|
|
|
-Release: 2
|
|
|
+Release: 3
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.iozone.org/src/current/iozone%{V_real}.tar
|
|
|
@@ -43,7 +43,7 @@ Source0: http://www.iozone.org/src/current/iozone%{V_real}.tar
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 0.9-33, openssl
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 0.9-33, gcc, make
|
|
|
PreReq: OpenPKG, openpkg >= 0.9-33
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -57,14 +57,15 @@ AutoReqProv: no
|
|
|
%setup -q -c
|
|
|
|
|
|
%build
|
|
|
+ PATH="%{l_prefix}/bin:$PATH"; export PATH
|
|
|
cd src/current
|
|
|
platform="generic"
|
|
|
case "%{l_target}" in
|
|
|
*-freebsd* ) platform="freebsd" ;;
|
|
|
*-linux* ) platform="linux" ;;
|
|
|
- *-solaris* ) platform="solaris" ;;
|
|
|
+ *-solaris* ) platform="Solaris" ;;
|
|
|
esac
|
|
|
- %{l_make} %{l_mflags -O} \
|
|
|
+ %{l_make} %{l_mflags} \
|
|
|
CC="%{l_cc}" CFLAGS="%{l_cflags -O}" \
|
|
|
$platform
|
|
|
|