Summary: The BYTE UNIX Benchmarks: Dhrystone Name: dhrystone Version: 2.1 Release: 1 URL: http://www.byte.com/bmark/ Source0: dhrystone.tar.gz License: Distributable Group: Monitoring BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description The BYTE UNIX Benchmarks: DHRYSTONE by Reinhold P. Weicker. %prep %setup -q -n %{name} %build export OBJECT_MODE=64 make %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} chmod 0755 ${RPM_BUILD_ROOT}%{_bindir} cp %{name} ${RPM_BUILD_ROOT}%{_bindir}/ /usr/bin/strip -X32_64 ${RPM_BUILD_ROOT}%{_bindir}/* chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/* mkdir -p ${RPM_BUILD_ROOT}/usr/bin cd ${RPM_BUILD_ROOT}/usr/bin ln -s ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %{_bindir}/* /usr/bin/* %changelog * Wed Apr 20 2016 Michael Perzl - 2.1-1 - first version for AIX V5.1 and higher