commit
9f4724cb14
BIN
stress-ng-0.11.16.tar.xz
Normal file
BIN
stress-ng-0.11.16.tar.xz
Normal file
Binary file not shown.
40
stress-ng.spec
Normal file
40
stress-ng.spec
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Name: stress-ng
|
||||||
|
Version: 0.11.16
|
||||||
|
Release: 1
|
||||||
|
Summary: stress-ng will stress test a computer system in various selectable ways.
|
||||||
|
|
||||||
|
License: GPL 2.0
|
||||||
|
URL: https://kernel.ubuntu.com/~cking/stress-ng/
|
||||||
|
Source0: https://kernel.ubuntu.com/~cking/tarballs/stress-ng/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gcc glibc-devel kernel-headers keyutils-libs-devel libatomic zlib-devel
|
||||||
|
BuildRequires: libaio-devel libattr-devel libcap-devel libgcrypt-devel Judy-devel lksctp-tools-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
export LDFLAGS="%{__global_ldflags}"
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_mandir}/man1/%{name}.1.*
|
||||||
|
%{_datadir}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jul 22 2020 overweight <hexiaowen@huawei.com 0.11.16-1
|
||||||
|
- package init
|
||||||
5
stress-ng.yaml
Normal file
5
stress-ng.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
version_control: github
|
||||||
|
src_repo: ColinIanKing/stress-ng
|
||||||
|
tag_prefix: ^V
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user