File stress.spec of Package stress

# spec file for package stress
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           stress
Version:        1.0.4
Release:        0
Summary:        Imposes a configurable Amount of Load on your System
License:        GPL-2.0
Group:          System/Benchmark
Source:         %{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM -- disable the build of the info-pages (broken sources)
Patch0:         stress-fix-build
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  glibc-devel
BuildRequires:  libtool
BuildRequires:  make
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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.

%setup -q
%patch0 -p1

autoreconf -fiv
make OPTFLAGS="%{optflags}" %{?_smp_mflags}

make DESTDIR=%{buildroot} install %{?_smp_mflags}

%doc doc/stress.html

openSUSE Build Service is sponsored by