numactl/numactl.spec

253 lines
7.6 KiB
RPMSpec
Raw Normal View History

Name: numactl
2007-08-03 23:52:58 +00:00
Summary: Library for tuning for Non Uniform Memory Access machines
2011-04-15 07:17:41 +00:00
Version: 2.0.7
2012-05-19 11:19:36 +00:00
Release: 6%{dist}
2008-09-29 19:45:39 +00:00
License: LGPLv2/GPLv2
Group: System Environment/Base
2008-09-29 19:45:39 +00:00
URL: ftp://oss.sgi.com/www/projects/libnuma/download
2009-06-26 15:48:16 +00:00
Source0: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-buildroot
2009-06-17 17:17:18 +00:00
Patch1: numactl-2.0.3-rc3-no-nodes-warning.patch
2012-01-02 12:20:58 +00:00
Patch2: numactl-2.0.7-manpages.patch
2012-05-19 11:19:36 +00:00
Patch3: numactl-2.0.7-numademo-alloc.patch
Patch4: numactl-2.0.7-numademo-msize-check.patch
2008-09-29 20:10:23 +00:00
2011-06-18 11:18:33 +00:00
ExcludeArch: s390 s390x %{arm}
%description
Simple NUMA policy support. It consists of a numactl program to run
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}-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
2009-06-26 15:48:16 +00:00
%setup -q -n %{name}-%{version}
2009-06-17 17:17:18 +00:00
%patch1 -p1
2012-01-02 12:20:58 +00:00
%patch2 -p1
2012-05-19 11:19:36 +00:00
%patch3 -p1
%patch4 -p1
%build
2009-05-08 18:56:31 +00:00
make CFLAGS="$RPM_OPT_FLAGS -I."
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_libdir}
mkdir -p $RPM_BUILD_ROOT%{_includedir}
2005-07-08 00:40:36 +00:00
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
2004-10-21 10:43:11 +00:00
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
%clean
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,-)
%{_bindir}/numactl
%{_bindir}/numademo
%{_bindir}/numastat
%{_bindir}/memhog
2008-05-08 13:12:38 +00:00
%{_bindir}/migspeed
2008-09-29 19:45:39 +00:00
%{_bindir}/migratepages
2005-07-08 01:03:32 +00:00
%{_mandir}/man8/*.8*
%files libs
%defattr(-,root,root,-)
%{_libdir}/libnuma.so.1
%files devel
%defattr(-,root,root,-)
%{_libdir}/libnuma.so
2010-02-15 16:33:49 +00:00
%exclude %{_libdir}/libnuma.a
%{_includedir}/numa.h
%{_includedir}/numaif.h
2008-05-08 13:12:38 +00:00
%{_includedir}/numacompat1.h
%{_mandir}/man3/*.3*
%changelog
2012-05-19 11:19:36 +00:00
* Sat May 19 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-6
- numademo segfault fix (bz823125, bz823127)
* 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
2012-01-02 12:20:58 +00:00
* Mon Jan 01 2012 Anton Arapov <anton@redhat.com> - 2.0.7-3
- Include missing manpages
2011-06-18 11:18:33 +00:00
* Sat Jun 18 2011 Peter Robinson <pbrobinson@gmail.com> - 2.0.7-2
- Exclude ARM platforms
2011-04-15 07:17:41 +00:00
* Fri Apr 15 2011 Anton Arapov <anton@redhat.com> - 2.0.7-1
- Update to latest upstream stable version (bz 696703)
2011-03-22 17:13:57 +00:00
* Tue Mar 22 2011 Anton Arapov <anton@redhat.com> - 2.0.6-2
- Better manpages (bz 673613)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-01-04 21:13:38 +00:00
* Tue Jan 04 2011 Neil Horman <nhorman@redhat.com> - 2.0.6-1
- Update to latest upstream stable version (bz 666379)
* Mon Oct 18 2010 Neil Horman <nhorman@redhat.com> - 2.0.5-1
- Update to latest stable upstream source
2010-02-15 16:33:49 +00:00
* Mon Feb 15 2010 Neil Horman <nhorman@redhat.com> - 2.0.3-8
- Remove static libs from numactl (bz 556088)
2009-08-10 14:06:26 +00:00
* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-7
- Add destructor to libnuma.so to free allocated memory (bz 516227)
2009-08-10 11:16:58 +00:00
* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-6
- Fix obo in nodes_allowed_list strncpy (bz 516223)
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-06-26 15:48:16 +00:00
* Fri Jun 26 2009 Neil Horman <nhorman@redhat.com>
- Update to full 2.0.3 version (bz 506795)
2009-06-17 17:17:18 +00:00
* Wed Jun 17 2009 Neil Horman <nhorman@redhat.com>
- Fix silly libnuma warnings again (bz 499633)
2009-05-08 18:56:31 +00:00
* Fri May 08 2009 Neil Horman <nhorman@redhat.com>
- Update to 2.0.3-rc3 (bz 499633)
* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2.0.2-4
- Remove warning from libnuma (bz 484552)
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-09-29 20:10:23 +00:00
* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-2
- Fix build break due to register selection in asm
2008-09-29 19:45:39 +00:00
* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-1
- Update rawhide to version 2.0.2 of numactl
2008-05-08 13:12:38 +00:00
2008-04-25 13:13:30 +00:00
* Fri Apr 25 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-6
- Fix buffer size passing and arg sanity check for physcpubind (bz 442521)
2008-03-14 11:38:31 +00:00
* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-5
- Fixing spec file to actually apply alpha patch :)
2008-03-14 11:31:23 +00:00
* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-4
- Add alpha syscalls (bz 396361)
2008-02-19 16:10:30 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-3
- Autorebuild for GCC 4.3
2007-12-20 15:13:33 +00:00
* Thu Dec 20 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
- Update numactl to fix get_mempolicy signature (bz 418551)
2007-12-14 20:15:57 +00:00
* Fri Dec 14 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
- Update numactl to latest version (bz 425281)
2007-08-07 20:36:56 +00:00
* Tue Aug 07 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-4
2007-08-07 20:35:06 +00:00
- Fixing some remaining merge review issues (bz 226207)
2007-08-07 20:31:56 +00:00
* Fri Aug 03 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-3
2007-08-03 23:52:58 +00:00
- fixing up merge review (bz 226207)
2007-08-07 20:31:56 +00:00
* Fri Jan 12 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-2
- Properly fixed bz 221982
- Updated revision string to include %{dist}
* Thu Jan 11 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-1.38
- Fixed -devel to depend on base package so libnuma.so resolves
2006-09-21 16:34:54 +00:00
* Thu Sep 21 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.36
- adding nodebind patch for bz 207404
* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.35
- moving over libnuma.so to -devel package as well
* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.34
- split out headers/devel man pages to a devel subpackage
2006-08-15 14:18:47 +00:00
* Tue Aug 15 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.32
- add patch for broken cpu/nodebind output (bz 201906)
2006-07-12 07:29:48 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9.8-1.31
- rebuild
2006-06-13 14:58:47 +00:00
* Tue Jun 13 2006 Neil Horman <nhorman@redhat.com>
- Rebased numactl to version 0.9.8 for FC6/RHEL5
2006-04-27 14:38:52 +00:00
* Wed Apr 26 2006 Neil Horman <nhorman@redhat.com>
- Added patches for 64 bit overflows and cpu mask problem
2006-03-10 06:06:35 +00:00
* Fri Mar 10 2006 Bill Nottingham <notting@redhat.com>
- rebuild for ppc TLS issue (#184446)
2006-02-11 04:48:25 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.4-1.25.2
- bump again for double-long bug on ppc(64)
2006-03-10 06:06:35 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com>
2006-02-07 13:16:46 +00:00
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:42:31 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Thu Jul 7 2005 Dave Jones <davej@redhat.com>
- numactl doesn't own the manpage dirs. (#161547)
2005-03-02 04:07:30 +00:00
* Tue Mar 1 2005 Dave Jones <davej@redhat.com>
- Rebuild for gcc4
2005-02-08 23:50:02 +00:00
* Tue Feb 8 2005 Dave Jones <davej@redhat.com>
2005-02-09 00:06:41 +00:00
- rebuild with -D_FORTIFY_SOURCE=2
2005-02-08 23:49:48 +00:00
2004-11-10 17:16:44 +00:00
* Wed Nov 10 2004 David Woodhouse <dwmw2@redhat.com>
- Fix build on x86_64
2004-10-21 10:43:11 +00:00
* Thu Oct 21 2004 David Woodhouse <dwmw2@redhat.com>
- Add PPC support
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Sat Jun 05 2004 Warren Togami <wtogami@redhat.com>
- spec cleanup
* Sat Jun 05 2004 Arjan van de Ven <arjanv@redhat.com>
- initial packaging
2005-02-08 23:53:06 +00:00