cvsdist d63ebf
Name:		numactl
Neil Horman be1281
Summary:	Library for tuning for Non Uniform Memory Access machines
Anton Arapov 64cfa6
Version:	2.0.7
Petr Holasek fae4fe
Release:	6%{dist} 
Neil Horman 5f06a6
License:	LGPLv2/GPLv2
Petr Holasek 765f1c
Group:		System Environment/Base
Neil Horman 5f06a6
URL:		ftp://oss.sgi.com/www/projects/libnuma/download
Neil Horman 40a16d
Source0:	ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
cvsdist d63ebf
Buildroot:	%{_tmppath}/%{name}-buildroot
cvsdist d63ebf
Neil Horman 8629a1
Patch1: numactl-2.0.3-rc3-no-nodes-warning.patch
Anton Arapov a27d58
Patch2: numactl-2.0.7-manpages.patch
Petr Holasek fae4fe
Patch3: numactl-2.0.7-numademo-alloc.patch
Petr Holasek fae4fe
Patch4: numactl-2.0.7-numademo-msize-check.patch
Neil Horman 9e543f
Peter Robinson 5ed43f
ExcludeArch: s390 s390x %{arm}
cvsdist d63ebf
cvsdist d63ebf
%description
cvsdist d63ebf
Simple NUMA policy support. It consists of a numactl program to run
Petr Holasek 765f1c
other programs with a specific NUMA policy.
Petr Holasek 765f1c
Petr Holasek 765f1c
%package libs
Petr Holasek 765f1c
Summary: libnuma libraries
Petr Holasek 765f1c
Group: System Environment/Libraries
Petr Holasek 765f1c
Petr Holasek 765f1c
%description libs
Petr Holasek 765f1c
numactl-libs provides libnuma, a library to do allocations with
Petr Holasek 765f1c
NUMA policy in applications.
cvsdist d63ebf
Neil Horman 13f7fa
%package devel
Neil Horman 13f7fa
Summary: Development package for building Applications that use numa
Neil Horman 13f7fa
Group: System Environment/Libraries
Petr Holasek 765f1c
Requires: %{name}-libs = %{version}-%{release}
Neil Horman 13f7fa
Neil Horman 13f7fa
%description devel
Neil Horman 13f7fa
Provides development headers for numa library calls
Neil Horman 13f7fa
Petr Holasek 765f1c
%package compat
Petr Holasek 765f1c
Summary: Library for tuning for Non Uniform Memory Access machines
Petr Holasek 765f1c
Obsoletes: numactl < 2.0.7-5
Petr Holasek 765f1c
Petr Holasek 765f1c
Requires:  numactl = 2.0.7-5
Petr Holasek 765f1c
Requires:  numactl-libs = 2.0.7-5
Petr Holasek 765f1c
Petr Holasek 765f1c
%description compat
Petr Holasek 765f1c
This package only exists to help transition numactl users to the new
Petr Holasek 765f1c
package split. It will be removed after one distribution release cycle, please
Petr Holasek 765f1c
do not reference it or depend on it in any way.
Petr Holasek 765f1c
cvsdist d63ebf
%prep
Neil Horman 40a16d
%setup -q -n %{name}-%{version}
Neil Horman 8629a1
%patch1 -p1
Anton Arapov a27d58
%patch2 -p1
Petr Holasek fae4fe
%patch3 -p1
Petr Holasek fae4fe
%patch4 -p1
cvsdist d63ebf
cvsdist d63ebf
%build
Neil Horman 8749d6
make CFLAGS="$RPM_OPT_FLAGS -I."
cvsdist d63ebf
cvsdist d63ebf
%install
cvsdist d63ebf
rm -rf $RPM_BUILD_ROOT
cvsdist d63ebf
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cvsdist d63ebf
mkdir -p $RPM_BUILD_ROOT%{_libdir}
cvsdist d63ebf
mkdir -p $RPM_BUILD_ROOT%{_includedir}
Dave Jones b10c2e
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
cvsdist d63ebf
David Woodhouse 318ccb
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
cvsdist d63ebf
cvsdist d63ebf
%clean
cvsdist d63ebf
rm -rf $RPM_BUILD_ROOT
cvsdist d63ebf
cvsdist d63ebf
%post -p /sbin/ldconfig
Petr Holasek 765f1c
%post libs -p /sbin/ldconfig
cvsdist d63ebf
cvsdist d63ebf
%postun -p /sbin/ldconfig
Petr Holasek 765f1c
%postun libs -p /sbin/ldconfig
cvsdist d63ebf
cvsdist d63ebf
%files
cvsdist d63ebf
%defattr(-,root,root,-)
cvsdist d63ebf
%{_bindir}/numactl
cvsdist d63ebf
%{_bindir}/numademo
cvsdist d63ebf
%{_bindir}/numastat
cvsdist d63ebf
%{_bindir}/memhog
Neil Horman 4bbc52
%{_bindir}/migspeed
Neil Horman 5f06a6
%{_bindir}/migratepages
Dave Jones 6c4760
%{_mandir}/man8/*.8*
cvsdist d63ebf
Petr Holasek 765f1c
%files libs
Petr Holasek 765f1c
%defattr(-,root,root,-)
Petr Holasek 765f1c
%{_libdir}/libnuma.so.1
Petr Holasek 765f1c
Neil Horman 13f7fa
%files devel
Neil Horman 13f7fa
%defattr(-,root,root,-)
Neil Horman 5340de
%{_libdir}/libnuma.so
Neil Horman 164d9e
%exclude %{_libdir}/libnuma.a
Neil Horman 13f7fa
%{_includedir}/numa.h
Neil Horman 13f7fa
%{_includedir}/numaif.h
Neil Horman 4bbc52
%{_includedir}/numacompat1.h
Neil Horman 13f7fa
%{_mandir}/man3/*.3*
Neil Horman 13f7fa
cvsdist d63ebf
%changelog
Petr Holasek fae4fe
* Sat May 19 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-6
Petr Holasek fae4fe
- numademo segfault fix (bz823125, bz823127)
Petr Holasek fae4fe
Petr Holasek 765f1c
* Sun Apr 15 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-5
Petr Holasek 765f1c
- Library splitted out of numactl package to numactl-libs
Petr Holasek 765f1c
a30b57
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-4
a30b57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a30b57
Anton Arapov a27d58
* Mon Jan 01 2012 Anton Arapov <anton@redhat.com> - 2.0.7-3
Anton Arapov a27d58
- Include missing manpages
Anton Arapov a27d58
Peter Robinson 5ed43f
* Sat Jun 18 2011 Peter Robinson <pbrobinson@gmail.com> - 2.0.7-2
Peter Robinson 5ed43f
- Exclude ARM platforms
Peter Robinson 5ed43f
Anton Arapov 64cfa6
* Fri Apr 15 2011 Anton Arapov <anton@redhat.com> - 2.0.7-1
Anton Arapov 64cfa6
- Update to latest upstream stable version (bz 696703)
Anton Arapov 64cfa6
Anton Arapov d56f79
* Tue Mar 22 2011 Anton Arapov <anton@redhat.com> - 2.0.6-2
Anton Arapov d56f79
- Better manpages (bz 673613)
Anton Arapov d56f79
51bf96
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
51bf96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
51bf96
0b3bb4
* Tue Jan 04 2011 Neil Horman <nhorman@redhat.com> - 2.0.6-1
0b3bb4
- Update to latest upstream stable version (bz 666379)
0b3bb4
031e79
* Mon Oct 18 2010 Neil Horman <nhorman@redhat.com> - 2.0.5-1
031e79
- Update to latest stable upstream source
031e79
Neil Horman 164d9e
* Mon Feb 15 2010 Neil Horman <nhorman@redhat.com> - 2.0.3-8
Neil Horman 164d9e
- Remove static libs from numactl (bz 556088)
Neil Horman 164d9e
Neil Horman ce6702
* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-7
Neil Horman ce6702
- Add destructor to libnuma.so to free allocated memory (bz 516227)
Neil Horman ce6702
Neil Horman 05de20
* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-6
Neil Horman 05de20
- Fix obo in nodes_allowed_list strncpy (bz 516223)
Neil Horman 05de20
Jesse Keating 0d7a4b
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-5
Jesse Keating 0d7a4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating 0d7a4b
Neil Horman 40a16d
* Fri Jun 26 2009 Neil Horman <nhorman@redhat.com>
Neil Horman 40a16d
- Update to full 2.0.3 version (bz 506795)
Neil Horman 40a16d
Neil Horman 8629a1
* Wed Jun 17 2009 Neil Horman <nhorman@redhat.com>
Neil Horman 8629a1
- Fix silly libnuma warnings again (bz 499633)
Neil Horman 8629a1
Neil Horman 8749d6
* Fri May 08 2009 Neil Horman <nhorman@redhat.com>
Neil Horman 8749d6
- Update to 2.0.3-rc3 (bz 499633)
Neil Horman 8749d6
Mark McLoughlin 33b077
* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2.0.2-4
Mark McLoughlin 33b077
- Remove warning from libnuma (bz 484552)
Mark McLoughlin 33b077
Jesse Keating 1dc957
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
Jesse Keating 1dc957
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 1dc957
Neil Horman 9e543f
* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-2
Neil Horman 9e543f
- Fix build break due to register selection in asm
Neil Horman 9e543f
Neil Horman 5f06a6
* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-1
Neil Horman 5f06a6
- Update rawhide to version 2.0.2 of numactl
Neil Horman 4bbc52
Neil Horman 9d951c
* Fri Apr 25 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-6
Neil Horman 9d951c
- Fix buffer size passing and arg sanity check for physcpubind (bz 442521)
Neil Horman 9d951c
Neil Horman b007e6
* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-5
Neil Horman b007e6
- Fixing spec file to actually apply alpha patch :)
Neil Horman b007e6
Neil Horman f4c2a3
* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-4
Neil Horman f4c2a3
- Add alpha syscalls (bz 396361)
Neil Horman f4c2a3
Jesse Keating f2ae22
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-3
Jesse Keating f2ae22
- Autorebuild for GCC 4.3
Jesse Keating f2ae22
Neil Horman 6f7d5b
* Thu Dec 20 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
Neil Horman 6f7d5b
- Update numactl to fix get_mempolicy signature (bz 418551)
Neil Horman 6f7d5b
Neil Horman 49b5a8
* Fri Dec 14 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
Neil Horman 49b5a8
- Update numactl to latest version (bz 425281)
Neil Horman 49b5a8
Neil Horman 53b2fd
* Tue Aug 07 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-4
Neil Horman 60bb60
- Fixing some remaining merge review issues (bz 226207)
Neil Horman 60bb60
Neil Horman d40e4a
* Fri Aug 03 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-3
Neil Horman be1281
- fixing up merge review (bz 226207)
Neil Horman be1281
Neil Horman d40e4a
* Fri Jan 12 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-2
Neil Horman 6bcd60
- Properly fixed bz 221982
Neil Horman 6bcd60
- Updated revision string to include %{dist}
Neil Horman 6bcd60
Neil Horman 72f007
* Thu Jan 11 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-1.38
Neil Horman 4eee2f
- Fixed -devel to depend on base package so libnuma.so resolves
Neil Horman 4eee2f
Neil Horman c7cf63
* Thu Sep 21 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.36
Neil Horman c7cf63
- adding nodebind patch for bz 207404
Neil Horman c7cf63
Neil Horman 5340de
* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.35
Neil Horman 5340de
- moving over libnuma.so to -devel package as well
Neil Horman 5340de
Neil Horman 13f7fa
* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.34
Neil Horman 13f7fa
- split out headers/devel man pages to a devel subpackage
Neil Horman 13f7fa
Neil Horman f6d391
* Tue Aug 15 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.32
Neil Horman f6d391
- add patch for broken cpu/nodebind output (bz 201906)
Neil Horman f6d391
Jesse Keating dd04b4
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9.8-1.31
Jesse Keating dd04b4
- rebuild
Jesse Keating dd04b4
Neil Horman 2883c3
* Tue Jun 13 2006 Neil Horman <nhorman@redhat.com>
Neil Horman 2883c3
- Rebased numactl to version 0.9.8 for FC6/RHEL5
Neil Horman 2883c3
Neil Horman 6b282e
* Wed Apr 26 2006 Neil Horman <nhorman@redhat.com>
Neil Horman 6b282e
- Added patches for 64 bit overflows and cpu mask problem
Neil Horman 6b282e
Bill Nottingham 2ee2e8
* Fri Mar 10 2006 Bill Nottingham <notting@redhat.com>
Bill Nottingham 2ee2e8
- rebuild for ppc TLS issue (#184446)
Bill Nottingham 2ee2e8
Jesse Keating b7aa47
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.4-1.25.2
Jesse Keating b7aa47
- bump again for double-long bug on ppc(64)
Jesse Keating b7aa47
Bill Nottingham 2ee2e8
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com>
Jesse Keating c76969
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating c76969
Jesse Keating 3755bd
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating 3755bd
- rebuilt
Jesse Keating 3755bd
Dave Jones 420d4b
* Thu Jul  7 2005 Dave Jones <davej@redhat.com>
Dave Jones 420d4b
- numactl doesn't own the manpage dirs. (#161547)
Dave Jones 420d4b
Dave Jones bfb475
* Tue Mar  1 2005 Dave Jones <davej@redhat.com>
Dave Jones bfb475
- Rebuild for gcc4
Dave Jones bfb475
Dave Jones c87078
* Tue Feb  8 2005 Dave Jones <davej@redhat.com>
Dave Jones cfae74
- rebuild with -D_FORTIFY_SOURCE=2
Dave Jones b5e45d
David Woodhouse 7dca8b
* Wed Nov 10 2004 David Woodhouse <dwmw2@redhat.com>
David Woodhouse 7dca8b
- Fix build on x86_64
David Woodhouse 7dca8b
David Woodhouse 318ccb
* Thu Oct 21 2004 David Woodhouse <dwmw2@redhat.com>
David Woodhouse 318ccb
- Add PPC support
David Woodhouse 318ccb
cvsdist f72e87
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f72e87
- rebuilt
cvsdist f72e87
cvsdist d63ebf
* Sat Jun 05 2004 Warren Togami <wtogami@redhat.com> 
cvsdist d63ebf
- spec cleanup
cvsdist d63ebf
cvsdist d63ebf
* Sat Jun 05 2004 Arjan van de Ven <arjanv@redhat.com>
cvsdist d63ebf
- initial packaging
Dave Jones 519012