diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..55b7ad3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/v2.2.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/numatop.spec b/numatop.spec new file mode 100644 index 0000000..3044059 --- /dev/null +++ b/numatop.spec @@ -0,0 +1,144 @@ +# https://github.com/intel/numatop/pull/53 +%undefine _ld_as_needed + +Name: numatop +Version: 2.2 +Release: 1%{?dist} +Summary: Memory access locality characterization and analysis + +License: BSD +URL: https://01.org/numatop +Source: https://github.com/intel/numatop/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: make +BuildRequires: libtool +BuildRequires: gcc +BuildRequires: check-devel +BuildRequires: ncurses-devel +BuildRequires: numactl-devel + +# This only works for Intel and Power CPUs +ExclusiveArch: x86_64 ppc64le + + +%description +NumaTOP is an observation tool for runtime memory locality characterization and +analysis of processes and threads running on a NUMA system. It helps the user +characterize the NUMA behavior of processes and threads and identify where the +NUMA-related performance bottlenecks reside. + +NumaTOP supports the Intel Xeon processors and PowerPC processors. + + +%prep +#%setup -q -n %{name}-v%{version} +%autosetup + + +%build +autoreconf --force --install --symlink +%configure +%make_build + + +%install +%make_install + + +%check +%make_build check + + +%files +%doc AUTHORS +%license COPYING +%{_bindir}/%{name} +%{_mandir}/man8/%{name}.8* + + +%changelog +* Wed Dec 1 2021 Pingfan Liu - 2.2-1 +- rebase to v2.2 + +* Thu Jul 25 2019 Fedora Release Engineering - 2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Mar 23 2019 Dridi Boukelmoune - 2.1-1 +- Update to 2.1 +- Upstream moved to github +- Upstream switched to autotools +- Disable --as-needed until it's patched upstream +- Drop defunct 32bit x86 support +- Add ppc64le support +- Run the new test suite + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jul 15 2018 Dridi Boukelmoune - 1.0.4-8 +- Build requires gcc + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1.0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Feb 13 2017 Dridi Boukelmoune - 1.0.4-3 +- Catch up with packaging guidelines + +* Sat Feb 11 2017 Fedora Release Engineering - 1.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jun 28 2016 Zbigniew Jędrzejewski-Szmek - 1.0.4-1 +- Update to latest version (support for BDW-EP/EX) + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Aug 14 2015 Zbigniew Jędrzejewski-Szmek - 1.0.3-3 +- Replace ExcludeArch with ExclusiveArch + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Aug 25 2014 Zbigniew Jędrzejewski-Szmek - 1.0.3-1 +- New upstream release (#1076549) +- Remove upstreamed patch + +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Mon Jun 30 2014 Dridi Boukelmoune - 1.0.2-3 +- Backport and rebase 1.0.1 patch + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Mar 16 2014 Dridi Boukelmoune - 1.0.2-1 +- Bump version to 1.0.2 +- Remove upstreamed patch + +* Fri Sep 20 2013 Dan Horák - 1.0.1-5 +- no numa on s390(x) + +* Fri Sep 13 2013 Dridi Boukelmoune - 1.0.1-4 +- Patch for the 32bit hardened build. + +* Sun Aug 25 2013 Dridi Boukelmoune - 1.0.1-3 +- Hardened build. +- Automatic requires. + +* Fri Aug 02 2013 Dridi Boukelmoune - 1.0.1-2 +- Fix the license tag. + +* Thu Aug 01 2013 Dridi Boukelmoune - 1.0.1-1 +- Initial spec. diff --git a/sources b/sources new file mode 100644 index 0000000..d1a8530 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (v2.2.tar.gz) = 6f94b7f0a331262414bb3fb4e277104f32bdc92c39797c704e8bfebb44f9a5c4b3ff71dc5042242f738d521166dfd232ff15e1236fb3207790eac1a12c61e535