libnuma split out of numactl main package, bz799132
This commit is contained in:
parent
a30b57283d
commit
765f1c8ba2
37
numactl.spec
37
numactl.spec
@ -1,7 +1,7 @@
|
|||||||
Name: numactl
|
Name: numactl
|
||||||
Summary: Library for tuning for Non Uniform Memory Access machines
|
Summary: Library for tuning for Non Uniform Memory Access machines
|
||||||
Version: 2.0.7
|
Version: 2.0.7
|
||||||
Release: 4%{dist}
|
Release: 5%{dist}
|
||||||
License: LGPLv2/GPLv2
|
License: LGPLv2/GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: ftp://oss.sgi.com/www/projects/libnuma/download
|
URL: ftp://oss.sgi.com/www/projects/libnuma/download
|
||||||
@ -15,17 +15,36 @@ ExcludeArch: s390 s390x %{arm}
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
Simple NUMA policy support. It consists of a numactl program to run
|
Simple NUMA policy support. It consists of a numactl program to run
|
||||||
other programs with a specific NUMA policy and a libnuma to do
|
other programs with a specific NUMA policy.
|
||||||
allocations with NUMA policy in applications.
|
|
||||||
|
%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
|
%package devel
|
||||||
Summary: Development package for building Applications that use numa
|
Summary: Development package for building Applications that use numa
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Provides development headers for numa library calls
|
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
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
@ -47,12 +66,13 @@ make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libnuma.so.1
|
|
||||||
%{_bindir}/numactl
|
%{_bindir}/numactl
|
||||||
%{_bindir}/numademo
|
%{_bindir}/numademo
|
||||||
%{_bindir}/numastat
|
%{_bindir}/numastat
|
||||||
@ -61,6 +81,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/migratepages
|
%{_bindir}/migratepages
|
||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/libnuma.so.1
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libnuma.so
|
%{_libdir}/libnuma.so
|
||||||
@ -71,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user