2007-01-16 00:27:07 +01:00
|
|
|
#
|
2011-05-18 15:44:30 +02:00
|
|
|
# spec file for package numactl
|
2007-01-16 00:27:07 +01:00
|
|
|
#
|
2024-01-30 09:18:47 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:27:07 +01:00
|
|
|
#
|
2008-08-06 01:54:12 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-25 12:34:58 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:27:07 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: numactl
|
2024-02-08 10:03:30 +01:00
|
|
|
Version: 2.0.18.0.g3871b1c
|
2015-08-10 13:17:40 +02:00
|
|
|
Release: 0
|
2007-01-16 00:27:07 +01:00
|
|
|
Summary: NUMA Policy Control
|
2018-08-02 09:02:45 +02:00
|
|
|
License: GPL-2.0-only
|
2013-04-16 11:16:34 +02:00
|
|
|
Group: System/Management
|
2020-01-14 08:27:21 +01:00
|
|
|
URL: https://github.com/numactl/numactl/releases
|
2021-07-19 14:25:33 +02:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2010-01-12 16:07:37 +01:00
|
|
|
Source2: baselibs.conf
|
2021-04-07 22:35:21 +02:00
|
|
|
# PATCH-FIX-OPENSUSE -- Avoid segfault when no node can be found in sysfs
|
2014-06-13 17:12:50 +02:00
|
|
|
Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch
|
2015-02-24 07:44:19 +01:00
|
|
|
Patch2: numactl-clearcache-pie.patch
|
2021-07-18 21:08:10 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2007-01-16 00:27:07 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Control NUMA policy for individual processes. Offer libnuma for
|
|
|
|
individual NUMA policy in applications.
|
|
|
|
|
2008-06-25 22:09:18 +02:00
|
|
|
%package -n libnuma1
|
|
|
|
Summary: NUMA Policy Control
|
2018-08-02 09:02:45 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2008-08-06 01:54:12 +02:00
|
|
|
Group: Development/Languages/C and C++
|
2008-06-25 22:09:18 +02:00
|
|
|
|
|
|
|
%description -n libnuma1
|
|
|
|
Control NUMA policy for individual processes. Offer libnuma for
|
|
|
|
individual NUMA policy in applications.
|
|
|
|
|
|
|
|
%package -n libnuma-devel
|
|
|
|
Summary: NUMA Policy Control
|
2020-01-14 08:27:21 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2008-08-06 01:54:12 +02:00
|
|
|
Group: Development/Languages/C and C++
|
2008-06-25 22:09:18 +02:00
|
|
|
Requires: libnuma1 = %{version}
|
|
|
|
|
|
|
|
%description -n libnuma-devel
|
|
|
|
Control NUMA policy for individual processes. Offer libnuma for
|
|
|
|
individual NUMA policy in applications.
|
|
|
|
|
2007-01-16 00:27:07 +01:00
|
|
|
%prep
|
2012-11-08 22:44:01 +01:00
|
|
|
%setup -q
|
2014-06-13 17:12:50 +02:00
|
|
|
%patch1 -p1
|
2015-02-24 07:44:19 +01:00
|
|
|
%patch2 -p1
|
2015-08-10 13:17:40 +02:00
|
|
|
|
2007-01-16 00:27:07 +01:00
|
|
|
%build
|
2021-07-18 21:08:10 +02:00
|
|
|
./autogen.sh
|
2015-08-10 13:17:40 +02:00
|
|
|
%configure \
|
|
|
|
--disable-static
|
2020-01-14 08:27:21 +01:00
|
|
|
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
|
2007-01-16 00:27:07 +01:00
|
|
|
|
2008-08-06 01:54:12 +02:00
|
|
|
%install
|
2014-11-25 08:08:04 +01:00
|
|
|
%make_install
|
2014-11-27 08:45:36 +01:00
|
|
|
rm %{buildroot}%{_mandir}/man2/move_pages.2*
|
2023-04-25 09:48:54 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-16 00:27:07 +01:00
|
|
|
|
2008-06-25 22:09:18 +02:00
|
|
|
%post -n libnuma1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libnuma1 -p /sbin/ldconfig
|
|
|
|
|
2007-01-16 00:27:07 +01:00
|
|
|
%files
|
2020-01-14 08:27:21 +01:00
|
|
|
%license LICENSE.GPL2 LICENSE.LGPL2.1
|
2008-06-25 22:09:18 +02:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
%files -n libnuma1
|
|
|
|
%{_libdir}/lib*so.*
|
|
|
|
|
|
|
|
%files -n libnuma-devel
|
2015-08-10 13:17:40 +02:00
|
|
|
%{_mandir}/man3/*
|
2008-06-25 22:09:18 +02:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/lib*so
|
2018-11-12 07:00:45 +01:00
|
|
|
%{_libdir}/pkgconfig/numa.pc
|
2007-01-16 00:27:07 +01:00
|
|
|
|
2007-08-16 14:07:21 +02:00
|
|
|
%changelog
|