Name: stress Version: 1.0.4 Release: 1 Summary: A tool to put given subsystems under a specified load Group: Development/Tools License: GPLv2+ URL: http://weather.ou.edu/~apw/projects/stress/ Source0: http://weather.ou.edu/~apw/projects/stress/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: texinfo Requires: info %description stress is not a benchmark, but is rather a tool designed to put given subsytems under a specified load. Instances in which this is useful include those in which a system administrator wishes to perform tuning activities, a kernel or libc programmer wishes to evaluate denial of service possibilities, etc. %prep %setup -q chmod -x README TODO AUTHORS doc/Makefile.am doc/mdate-sh NEWS src/stress.c rm INSTALL %build ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir gzip --best ${RPM_BUILD_ROOT}%{_infodir}/*info* cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %post /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : fi %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO doc/stress.html %{_bindir}/%{name} %{_infodir}/%{name}* %{_mandir}/man1/%{name}.1 /usr/bin/%{name} %changelog * Wed Nov 24 2010 Michael Perzl - 1.0.4-1 - first version for AIX V5.1 and higher