File stress.spec of Package stress

# norootforbuild

Name:		stress
Version:	1.0.0
Release:	0
Summary:	Stress imposes a configurable Amount of Load on your System
Source:		%{name}-%{version}.tar.bz2
Patch1:		stress-cflags-optflags.diff
Patch2:		stress-uninitialized-pointer.diff
URL:		http://weather.ou.edu/~apw/projects/stress/
Group:		System/Benchmarks
License:	GNU General Public License (GPL)
BuildRoot:	%{_tmppath}/build-%{name}-%{version}
BuildRequires:	autoconf automake libtool make gcc glibc-devel
PreReq:		%install_info_prereq

%description
stress is a simple tool that imposes a configurable amount of CPU, memory,
I/O, and disk stress on POSIX-compliant operating systems. It is written in
portable ANSI C, and uses the GNU Autotools to compile on most UNIX-like
operating systems.

stress is not a benchmark. It is a tool used by system administrators to
evaluate how well their systems will scale, by kernel programmers to evaluate
perceived performance characteristics, and by systems programmers to expose
the classes of bugs which only or more frequently manifest themselves when the
system is under heavy load.


%prep
%setup -q
%patch1
%patch2
chmod 0644 AUTHORS NEWS README

%build
autoreconf -fiv
%configure
%__make OPTFLAGS="%{optflags}" %{?jobs:-j%{jobs}}

%install
%makeinstall

%clean
%__rm -rf "%{buildroot}"

%post
%install_info --info-dir="%{_infodir}" "%{_infodir}/stress.info.gz"

%preun
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/stress.info.gz"

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%doc doc/stress.html
%{_bindir}/stress
%doc %{_mandir}/man1/stress.1*
%doc %{_infodir}/stress.info*

%changelog
* Mon Dec 17 2007 Pascal Bleser <guru@unixtech.be> 1.0.0
- moved to openSUSE Build Service
- new upstream version

* Sun Apr 23 2006 Pascal Bleser <guru@unixtech.be> 0.18.8-2
- removed Packager and Distribution, injected by rpmmacros
- added binary stripping for SUSE < 9.3

* Fri Dec  9 2005 Pascal Bleser <guru@unixtech.be> 0.18.8-1
- added debuginfo support
- rewrote spec file
- new upstream version

* Fri Jul  1 2005 Pascal Bleser <guru@unixtech.be> 0.18.6-1
- version 0.18.6

* Fri Apr  8 2005 Pascal Bleser <guru@unixtech.be> 0.18.4-1
- version 0.18.4

* Fri Nov 19 2004 Pascal Bleser <guru@unixtech.be> 0.18.2-1
- new package

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
openSUSE Build Service is sponsored by