libnuma split out of numactl main package, bz799132
This commit is contained in:
parent
a30b57283d
commit
765f1c8ba2
39
numactl.spec
39
numactl.spec
@ -1,9 +1,9 @@
|
||||
Name: numactl
|
||||
Summary: Library for tuning for Non Uniform Memory Access machines
|
||||
Version: 2.0.7
|
||||
Release: 4%{dist}
|
||||
Release: 5%{dist}
|
||||
License: LGPLv2/GPLv2
|
||||
Group: System Environment/Base
|
||||
Group: System Environment/Base
|
||||
URL: ftp://oss.sgi.com/www/projects/libnuma/download
|
||||
Source0: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
|
||||
Buildroot: %{_tmppath}/%{name}-buildroot
|
||||
@ -15,17 +15,36 @@ ExcludeArch: s390 s390x %{arm}
|
||||
|
||||
%description
|
||||
Simple NUMA policy support. It consists of a numactl program to run
|
||||
other programs with a specific NUMA policy and a libnuma to do
|
||||
allocations with NUMA policy in applications.
|
||||
other programs with a specific NUMA policy.
|
||||
|
||||
%package libs
|
||||
Summary: libnuma libraries
|
||||
Group: System Environment/Libraries
|
||||
|
||||
%description libs
|
||||
numactl-libs provides libnuma, a library to do allocations with
|
||||
NUMA policy in applications.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for building Applications that use numa
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Provides development headers for numa library calls
|
||||
|
||||
%package compat
|
||||
Summary: Library for tuning for Non Uniform Memory Access machines
|
||||
Obsoletes: numactl < 2.0.7-5
|
||||
|
||||
Requires: numactl = 2.0.7-5
|
||||
Requires: numactl-libs = 2.0.7-5
|
||||
|
||||
%description compat
|
||||
This package only exists to help transition numactl users to the new
|
||||
package split. It will be removed after one distribution release cycle, please
|
||||
do not reference it or depend on it in any way.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch1 -p1
|
||||
@ -47,12 +66,13 @@ make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libnuma.so.1
|
||||
%{_bindir}/numactl
|
||||
%{_bindir}/numademo
|
||||
%{_bindir}/numastat
|
||||
@ -61,6 +81,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/migratepages
|
||||
%{_mandir}/man8/*.8*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libnuma.so.1
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libnuma.so
|
||||
@ -71,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Sun Apr 15 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-5
|
||||
- Library splitted out of numactl package to numactl-libs
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user