|
cvsdist |
d63ebf |
Name: numactl
|
|
cvsdist |
d63ebf |
Summary: library for tuning for Non Uniform Memory Access machines
|
|
cvsdist |
d63ebf |
Version: 0.6.4
|
|
Jesse Keating |
b7aa47 |
Release: %(R="$Revision: 1.25 $"; RR="${R##: }"; echo ${RR%%?}).2
|
|
cvsdist |
d63ebf |
License: LGPL/GPL
|
|
cvsdist |
d63ebf |
Group: System Environment/Base
|
|
cvsdist |
d63ebf |
URL: ftp://ftp.suse.com/pub/people/ak/numa/
|
|
cvsdist |
d63ebf |
Source0: ftp://ftp.suse.com/pub/people/ak/numa/numactl-%{version}.tar.gz
|
|
cvsdist |
d63ebf |
Buildroot: %{_tmppath}/%{name}-buildroot
|
|
cvsdist |
d63ebf |
|
|
David Woodhouse |
318ccb |
ExcludeArch: ppc64 s390 s390x
|
|
cvsdist |
d63ebf |
|
|
cvsdist |
d63ebf |
Patch1: numactl-lib.patch
|
|
David Woodhouse |
318ccb |
Patch2: numactl-0.6.4-ppc.patch
|
|
David Woodhouse |
7dca8b |
Patch3: numactl-0.6.4-commonalias.patch
|
|
cvsdist |
d63ebf |
|
|
cvsdist |
d63ebf |
%description
|
|
cvsdist |
d63ebf |
Simple NUMA policy support. It consists of a numactl program to run
|
|
cvsdist |
d63ebf |
other programs with a specific NUMA policy and a libnuma to do
|
|
cvsdist |
d63ebf |
allocations with NUMA policy in applications.
|
|
cvsdist |
d63ebf |
|
|
cvsdist |
d63ebf |
%prep
|
|
cvsdist |
d63ebf |
%setup -q -c -a 0
|
|
cvsdist |
d63ebf |
|
|
cvsdist |
d63ebf |
#
|
|
cvsdist |
d63ebf |
# reduce the number of relocations and PLT entries
|
|
cvsdist |
d63ebf |
#
|
|
cvsdist |
d63ebf |
%patch1
|
|
cvsdist |
d63ebf |
|
|
David Woodhouse |
318ccb |
# Support ppc
|
|
David Woodhouse |
318ccb |
%patch2
|
|
cvsdist |
d63ebf |
|
|
David Woodhouse |
7dca8b |
# Fix breakage with aliases to tentatitive common symbols.
|
|
David Woodhouse |
7dca8b |
%patch3
|
|
David Woodhouse |
7dca8b |
|
|
cvsdist |
d63ebf |
%build
|
|
cvsdist |
d63ebf |
cd numactl-%{version}
|
|
Dave Jones |
a8d6b0 |
make CFLAGS="$RPM_OPT_FLAGS -I. -fPIC"
|
|
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}/man2
|
|
Dave Jones |
b10c2e |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
|
|
Dave Jones |
b10c2e |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
|
cvsdist |
d63ebf |
|
|
cvsdist |
d63ebf |
cd numactl-%{version}
|
|
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
|
|
cvsdist |
d63ebf |
|
|
cvsdist |
d63ebf |
%postun -p /sbin/ldconfig
|
|
cvsdist |
d63ebf |
|
|
cvsdist |
d63ebf |
%files
|
|
cvsdist |
d63ebf |
%defattr(-,root,root,-)
|
|
cvsdist |
d63ebf |
%{_includedir}/numa.h
|
|
cvsdist |
d63ebf |
%{_includedir}/numaif.h
|
|
cvsdist |
d63ebf |
%{_libdir}/libnuma.so.1
|
|
Dave Jones |
17f8b8 |
%{_libdir}/libnuma.so
|
|
cvsdist |
d63ebf |
%{_bindir}/numactl
|
|
cvsdist |
d63ebf |
%{_bindir}/numademo
|
|
cvsdist |
d63ebf |
%{_bindir}/numastat
|
|
cvsdist |
d63ebf |
%{_bindir}/memhog
|
|
Dave Jones |
6c4760 |
%{_mandir}/man2/*.2*
|
|
Dave Jones |
6c4760 |
%{_mandir}/man3/*.3*
|
|
Dave Jones |
6c4760 |
%{_mandir}/man8/*.8*
|
|
cvsdist |
d63ebf |
|
|
cvsdist |
d63ebf |
%changelog
|
|
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 |
|
|
Jesse Keating |
c76969 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - error: line 4: Tag takes single token only: Release: :.1 1.24.1
|
|
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 |
|