2004-09-09 09:20:04 +00:00
|
|
|
Name: numactl
|
|
|
|
Summary: library for tuning for Non Uniform Memory Access machines
|
2006-06-13 14:58:47 +00:00
|
|
|
Version: 0.9.8
|
2006-08-25 15:41:38 +00:00
|
|
|
Release: %(R="$Revision: 1.33 $"; RR="${R##: }"; echo ${RR%%?})
|
2004-09-09 09:20:04 +00:00
|
|
|
License: LGPL/GPL
|
|
|
|
Group: System Environment/Base
|
|
|
|
URL: ftp://ftp.suse.com/pub/people/ak/numa/
|
|
|
|
Source0: ftp://ftp.suse.com/pub/people/ak/numa/numactl-%{version}.tar.gz
|
|
|
|
Buildroot: %{_tmppath}/%{name}-buildroot
|
|
|
|
|
2006-06-14 11:34:48 +00:00
|
|
|
ExcludeArch: s390 s390x
|
2004-09-09 09:20:04 +00:00
|
|
|
|
2006-08-15 14:18:47 +00:00
|
|
|
Patch1: numactl-node-cpubind.patch
|
2004-09-09 09:20:04 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2006-08-25 15:41:38 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for building Applications that use numa
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
AutoReqProv: no
|
|
|
|
Provides: numactl-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Provides development headers for numa library calls
|
|
|
|
|
2004-09-09 09:20:04 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -c -a 0
|
2006-08-15 14:18:47 +00:00
|
|
|
%patch1
|
2004-09-09 09:20:04 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd numactl-%{version}
|
2005-02-09 22:23:49 +00:00
|
|
|
make CFLAGS="$RPM_OPT_FLAGS -I. -fPIC"
|
2004-09-09 09:20:04 +00:00
|
|
|
|
|
|
|
%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}/man3
|
2006-06-13 14:58:47 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
|
2005-07-08 00:40:36 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
2004-09-09 09:20:04 +00:00
|
|
|
|
|
|
|
cd numactl-%{version}
|
2004-10-21 10:43:11 +00:00
|
|
|
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
|
2004-09-09 09:20:04 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libnuma.so.1
|
2005-07-08 01:06:16 +00:00
|
|
|
%{_libdir}/libnuma.so
|
2004-09-09 09:20:04 +00:00
|
|
|
%{_bindir}/numactl
|
|
|
|
%{_bindir}/numademo
|
|
|
|
%{_bindir}/numastat
|
|
|
|
%{_bindir}/memhog
|
2006-06-13 14:58:47 +00:00
|
|
|
%{_bindir}/migratepages
|
|
|
|
%{_mandir}/man5/*.5*
|
2005-07-08 01:03:32 +00:00
|
|
|
%{_mandir}/man8/*.8*
|
2004-09-09 09:20:04 +00:00
|
|
|
|
2006-08-25 15:41:38 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/numa.h
|
|
|
|
%{_includedir}/numaif.h
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
2004-09-09 09:20:04 +00:00
|
|
|
%changelog
|
2006-08-25 15:41:38 +00:00
|
|
|
* 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
|
|
|
|
|
2005-07-08 00:32:20 +00:00
|
|
|
* 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
|
|
|
|
|
2004-09-09 09:20:08 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 09:20:04 +00:00
|
|
|
* 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
|
|
|
|