Name:           stress-ng
Version:        0.15.03
Release:        1
Summary:        stress-ng will stress test a computer system in various selectable ways.

License:        GPL 2.0
URL:            https://github.com/ColinIanKing/stress-ng
Source0:        https://github.com/ColinIanKing/stress-ng/archive/V%{version}.tar.gz

BuildRequires:  keyutils-libs-devel
BuildRequires:  libaio-devel
BuildRequires:  libattr-devel
BuildRequires:  libcap-devel
BuildRequires:  lksctp-tools-devel
BuildRequires:  zlib-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
%make_install

%files
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*
%{_datadir}/*

%changelog
* Tue Jan 31 2023 Cao Jingbo <caojb@chinatelecom.cn> - 0.15.03-1
- update to 0.15.03

* Thu Sep 22 2022 Wei, Qiang <qiang.wei@suse.com> - 0.14.05-1
- update to 0.14.05
- Clean up unused buildrequires

* Tue Mar 8 2022 overweight <suoxiaocong@kylinos.cn> - 0.13.11-1
- update to latest version

* Wed Jul 22 2020 overweight <hexiaowen@huawei.com 0.11.16-1
- package init
