From 2d97dc52459da68ca5cd27848f6e9a61edbd5819 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:43:58 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.0.13-1mamba;Sun Jun 21 2020] --- README.md | 2 ++ numactl.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 numactl.spec diff --git a/README.md b/README.md index 3034d6b..e55831b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # numactl +Simple NUMA policy support. + diff --git a/numactl.spec b/numactl.spec new file mode 100644 index 0000000..e8a28d9 --- /dev/null +++ b/numactl.spec @@ -0,0 +1,96 @@ +Name: numactl +Version: 2.0.13 +Release: 1mamba +Summary: Simple NUMA policy support +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/numactl +Source: https://github.com/numactl/numactl.git/v%{version}/numactl-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +## AUTOBUILDREQ-END +Requires: libnuma = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Simple NUMA policy support. + +%package -n libnuma +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n libnuma +This package contains shared libraries for %{name}. + +%package -n libnuma-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: libnuma = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n libnuma-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +rm -f %{buildroot}%{_mandir}/man2/move_pages.2* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n libnuma -p /sbin/ldconfig +%postun -n libnuma -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/memhog +%{_bindir}/migratepages +%{_bindir}/migspeed +%{_bindir}/numactl +%{_bindir}/numademo +%{_bindir}/numastat +%{_mandir}/man8/memhog.8* +%{_mandir}/man8/migratepages.8* +%{_mandir}/man8/migspeed.8* +%{_mandir}/man8/numactl.8* +%{_mandir}/man8/numastat.8* +%doc LICENSE.GPL2 + +%files -n libnuma +%defattr(-,root,root) +%{_libdir}/libnuma.so.* +%doc LICENSE.LGPL2.1 + +%files -n libnuma-devel +%defattr(-,root,root) +%{_includedir}/numa.h +%{_includedir}/numacompat1.h +%{_includedir}/numaif.h +%{_libdir}/libnuma.a +%{_libdir}/libnuma.la +%{_libdir}/libnuma.so +%{_libdir}/pkgconfig/numa.pc +%{_mandir}/man3/numa.3* +%doc README.md + + +%changelog +* Sun Jun 21 2020 Silvan Calarco 2.0.13-1mamba +- package created using the webbuild interface