65 lines
1.4 KiB
RPMSpec
65 lines
1.4 KiB
RPMSpec
|
Name: stress-ng
|
||
|
Version: 0.07.05
|
||
|
Release: 2%{?dist}
|
||
|
Summary: Stress test a computer system in various ways
|
||
|
|
||
|
License: GPLv2
|
||
|
URL: http://kernel.ubuntu.com/~cking/%{name}
|
||
|
Source0: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
|
||
|
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: kernel-headers
|
||
|
BuildRequires: keyutils-libs-devel
|
||
|
BuildRequires: libaio-devel
|
||
|
BuildRequires: libattr-devel
|
||
|
BuildRequires: libbsd-devel
|
||
|
BuildRequires: libcap-devel
|
||
|
BuildRequires: lksctp-tools-devel
|
||
|
BuildRequires: zlib-devel
|
||
|
|
||
|
|
||
|
%description
|
||
|
Stress test a computer system in various ways. It was designed to exercise
|
||
|
various physical subsystems of a computer as well as the various operating
|
||
|
system kernel interfaces.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
|
||
|
%build
|
||
|
export CFLAGS="%{optflags}"
|
||
|
export LDFLAGS="%{__global_ldflags}"
|
||
|
%make_build
|
||
|
|
||
|
|
||
|
%install
|
||
|
install -p -m 755 -D %{name} %{buildroot}%{_bindir}/%{name}
|
||
|
install -p -m 644 -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||
|
|
||
|
|
||
|
%files
|
||
|
%license COPYING
|
||
|
%doc README
|
||
|
%{_bindir}/%{name}
|
||
|
%{_mandir}/man1/%{name}.1.*
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Sun Nov 20 2016 Sascha Spreitzer <sspreitz@redhat.com> - 0.07.05-2
|
||
|
- enhance building
|
||
|
|
||
|
* Sun Nov 20 2016 Sascha Spreitzer <sspreitz@redhat.com> - 0.07.05-1
|
||
|
- new version
|
||
|
|
||
|
* Mon Nov 14 2016 Sascha Spreitzer <sspreitz@redhat.com> - 0.07.04-1
|
||
|
- new version
|
||
|
|
||
|
* Mon Jun 13 2016 Sascha Spreitzer <sspreitz@redhat.com> - 0.06.06-1
|
||
|
- new version
|
||
|
|
||
|
* Fri Apr 29 2016 Sascha Spreitzer <sspreitz@redhat.com> - 0.05.25-1
|
||
|
- initial spec file
|
||
|
|