diff --git a/.gitignore b/.gitignore index e69de29..e40f9aa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/stress-ng-*.tar.xz diff --git a/sources b/sources new file mode 100644 index 0000000..8319861 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (stress-ng-0.11.21.tar.xz) = ec41d57f1d58150efc5db5cf96d8b2d8f6f2453cce2f5b2275b8cacb68fad6acfe7fe3004326413ab4ee02098a340938a3cf04404141f1310a05e07abaf7b500 diff --git a/stress-ng.spec b/stress-ng.spec new file mode 100644 index 0000000..e82a831 --- /dev/null +++ b/stress-ng.spec @@ -0,0 +1,145 @@ +Name: stress-ng +Version: 0.11.21 +Release: 1%{?dist} +Summary: Stress test a computer system in various ways + +License: GPLv2+ +URL: https://kernel.ubuntu.com/~cking/%{name} +Source0: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: glibc-devel +BuildRequires: kernel-headers +BuildRequires: keyutils-libs-devel +BuildRequires: libaio-devel +BuildRequires: libattr-devel +BuildRequires: libbsd-devel +BuildRequires: libcap-devel +BuildRequires: libgcrypt-devel +BuildRequires: lksctp-tools-devel +BuildRequires: libatomic +BuildRequires: zlib-devel +%if 0%{?rhel} >= 8 +# Waiting on BZ #1854339 +# BuildRequires: Judy-devel +%else +BuildRequires: Judy-devel +%endif + +ExcludeArch: ppc64 +ExcludeArch: ppc64le + +%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 +mkdir -p %{buildroot}%{_datadir}/bash-completion/completions +install -pm 644 bash-completion/%{name} \ + %{buildroot}%{_datadir}/bash-completion/completions/%{name} + +%files +%license COPYING +%doc README +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions +%{_datadir}/bash-completion/completions/%{name} + +%changelog +* Wed Sep 30 2020 Chris Brown - 0.11.21-1 +- Bump to 0.11.21 + +* Thu Sep 03 2020 Chris Brown - 0.11.19-1 +- Bump to 0.11.19 + +* Tue Aug 18 2020 Chris Brown - 0.11.14-6 +- Add Judy conditional for EPEL 8 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.11.14-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.11.14-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 07 2020 Fabio Alessandro Locati - 0.11.14-3 +- Fix bash completion path + +* Mon Jul 06 2020 Chris Brown - 0.11.14-2 +- Add bash completion +- Enable Judy, libatomic and libgcrypt +- Switch source and URL to https + +* Fri Jul 03 2020 Chris Brown - 0.11.14-1 +- Bump to 0.11.14 + +* Fri Jan 31 2020 Fedora Release Engineering - 0.07.29-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 0.07.29-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 0.07.29-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 14 2019 Björn Esser - 0.07.29-8 +- Rebuilt for libcrypt.so.2 (#1666033) + +* Sat Jul 14 2018 Fedora Release Engineering - 0.07.29-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.07.29-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 20 2018 Björn Esser - 0.07.29-5 +- Rebuilt for switch to libxcrypt + +* Thu Aug 03 2017 Fedora Release Engineering - 0.07.29-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.07.29-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Apr 18 2017 Fedora - 0.07.29-2 +- exclude ppc64 and ppc64le archs + +* Tue Apr 18 2017 Fedora - 0.07.29-1 +- new version + +* Sat Feb 11 2017 Fedora Release Engineering - 0.07.05-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Nov 21 2016 Sascha Spreitzer - 0.07.05-3 +- License is GPLv2+ + +* Sun Nov 20 2016 Sascha Spreitzer - 0.07.05-2 +- enhance building + +* Sun Nov 20 2016 Sascha Spreitzer - 0.07.05-1 +- new version + +* Mon Nov 14 2016 Sascha Spreitzer - 0.07.04-1 +- new version + +* Mon Jun 13 2016 Sascha Spreitzer - 0.06.06-1 +- new version + +* Fri Apr 29 2016 Sascha Spreitzer - 0.05.25-1 +- initial spec file +