314 lines
10 KiB
RPMSpec
314 lines
10 KiB
RPMSpec
#
|
|
# spec file for package numactl (Version 2.0.2_2.0.3rc1)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Url: http://oss.sgi.com/projects/libnuma/
|
|
|
|
Name: numactl
|
|
License: GPL v2 only; GPL v2 or later
|
|
Summary: NUMA Policy Control
|
|
Version: 2.0.2_2.0.3rc1
|
|
Release: 3
|
|
%define origversion 2.0.3-rc1
|
|
AutoReqProv: on
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: numactl-64bit
|
|
%endif
|
|
#
|
|
Source: numactl-%{origversion}.tar.bz2
|
|
Patch0: numactl-hardware-bits_per_long_cpus.diff
|
|
Group: System/Management
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
ExclusiveArch: ia64 x86_64 ppc64 ppc
|
|
Requires: perl
|
|
|
|
%description
|
|
Control NUMA policy for individual processes. Offer libnuma for
|
|
individual NUMA policy in applications.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Andi Kleen (ak@suse.de)
|
|
Cliff Wickman (cpw@sgi.com)
|
|
|
|
%package -n libnuma1
|
|
License: GPL v2 or later
|
|
Summary: NUMA Policy Control
|
|
Group: Development/Languages/C and C++
|
|
AutoReqProv: on
|
|
|
|
%description -n libnuma1
|
|
Control NUMA policy for individual processes. Offer libnuma for
|
|
individual NUMA policy in applications.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Andi Kleen (ak@suse.de)
|
|
Cliff Wickman (cpw@sgi.com)
|
|
|
|
%package -n libnuma-devel
|
|
License: GPL v2 or later
|
|
Summary: NUMA Policy Control
|
|
Group: Development/Languages/C and C++
|
|
AutoReqProv: on
|
|
Requires: libnuma1 = %{version}
|
|
|
|
%description -n libnuma-devel
|
|
Control NUMA policy for individual processes. Offer libnuma for
|
|
individual NUMA policy in applications.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Andi Kleen (ak@suse.de)
|
|
Cliff Wickman (cpw@sgi.com)
|
|
|
|
%prep
|
|
%setup -n %{name}-%{origversion}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
make CFLAGS="${RPM_OPT_FLAGS}"
|
|
|
|
%install
|
|
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man5
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}
|
|
install -d -m 755 $RPM_BUILD_ROOT/usr/include
|
|
make prefix=${RPM_BUILD_ROOT}/usr install
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/lib*a
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -n libnuma1 -p /sbin/ldconfig
|
|
|
|
%postun -n libnuma1 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*
|
|
%{_mandir}/man8/*
|
|
%doc CHANGES
|
|
|
|
%files -n libnuma1
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*so.*
|
|
|
|
%files -n libnuma-devel
|
|
%defattr(-,root,root)
|
|
%doc %{_mandir}/man3/*
|
|
%{_includedir}/*
|
|
%{_libdir}/lib*so
|
|
|
|
%changelog
|
|
* Wed Jan 28 2009 bwalle@suse.de
|
|
- Fixes the function to print all available CPUs.
|
|
* Mon Jan 26 2009 cthiel@suse.de
|
|
- fix baselibs.conf, to require libnuma1-32bit on ppc
|
|
* Thu Jan 15 2009 bwalle@suse.de
|
|
- Update to 2.0.3-rc1
|
|
o Fixes to libnuma.c numa.h numacompat1.h by Daniel Gollub to fix
|
|
v1 compatiblity
|
|
o Fixes for 64-bit big-endian systems
|
|
o Restore nodemask_zero() and nodemask_equal()
|
|
o Fixes to read_mask()
|
|
o Drops a warning message about this not being a NUMA system
|
|
o Remove the numa_maps.5 man page (it's in Linux now)
|
|
o Fix makefiles in tests
|
|
o Fix off-by-ones in test mbind_mig_pages
|
|
- Drop numactl-compat.diff: Mainline.
|
|
- Drop numactl-fix-for-ppc64.patch: Mainline.
|
|
* Wed Jan 14 2009 ro@suse.de
|
|
- baselibs.conf: really create libnuma-devel-32bit only on ppc
|
|
* Wed Jan 14 2009 bwalle@suse.de
|
|
- Don't include the numa_maps(5) manpage since it's in man-pages
|
|
for some time (bnc #456823).
|
|
- Add libnuma-devel to baselibs.conf to get a libnuma-devel-32bit
|
|
on PPC (bnc #456823)
|
|
* Tue Jan 13 2009 olh@suse.de
|
|
- obsolete old -XXbit packages (bnc#437293)
|
|
* Tue Jan 13 2009 bwalle@suse.de
|
|
- Fix "memset fails with 'mbind: Invalid argument'" on PPC64
|
|
(bnc #455977).
|
|
* Mon Dec 08 2008 kukuk@suse.de
|
|
- Fix baselibs.conf
|
|
* Fri Dec 05 2008 bwalle@suse.de
|
|
- Revert last change, it breaks other architectures.
|
|
* Fri Dec 05 2008 bwalle@suse.de
|
|
- Fix numademo memset fails with 'mbind: Invalid argument'
|
|
(bnc #455977).
|
|
* Thu Nov 20 2008 bwalle@suse.de
|
|
- Fixes to libnuma.c numa.h numacompat1.h by Daniel Gollub to fix
|
|
v1 compatiblity (bnc#441440).
|
|
* Tue Aug 05 2008 bwalle@suse.de
|
|
- update to 2.0.2
|
|
o Various numademo improvements:
|
|
* Fix random benchmark to use all specified memory
|
|
* Rename to random2 to signify it's different
|
|
* Optimize random benchmark by inlining random number generator
|
|
fast path.
|
|
* Clear caches between runs for more stable results
|
|
* Add new random pointer chaser benchmark
|
|
* Compile benchmarks with gcc vectorization if available
|
|
* run numademo in regression test
|
|
o Add numa_exit_on_warn
|
|
o Fix no cpuset fallback in libnuma.c
|
|
o Install symlinks for the manpages of all new functions
|
|
o Make internal libnuma functions static
|
|
o Add copy_bitmask_to_bitmask() to numa.h
|
|
o Some cleanups
|
|
o Fix line reading in proc
|
|
o Add versions.ldscript to libnuma.so dependencies
|
|
o Remove the non-"numa_" functions from numacompat1.h and numa.h
|
|
o Add ia64 clearcache() to numademo
|
|
o Add -t to numademo for regression testing
|
|
o Remove "numa_all_cpus" from numa.h
|
|
o Changed VERSION1_COMPATIBILITY to NUMA_VERSION1_COMPATIBILITY
|
|
o Defined LIBNUMA_API_VERSION 2 in numa.h
|
|
o Fix numaif.h and numaint.h (migrate_pages)
|
|
o Fixes to numademo (min/max, and array index)
|
|
* Wed Jun 25 2008 bwalle@suse.de
|
|
- change RPM version to '2.0.1+2.0.2_rc1' for a clean update path
|
|
- don't package the static library
|
|
- update baselibs.conf to reflect the package split
|
|
- remove Provides/Obsoletes since the 'numactl' package still
|
|
exists and provides the numactl binary
|
|
- move Changelog from 'libnuma1' package to 'numactl' package
|
|
* Tue Jun 17 2008 bwalle@suse.de
|
|
- update to 2.0.2-rc1
|
|
o Various numademo improvements:
|
|
* Fix random benchmark to use all specified memory
|
|
* Rename to random2 to signify it's different
|
|
* Optimize random benchmark by inlining random number generator
|
|
fast path.
|
|
* Clear caches between runs for more stable results
|
|
* Add new random pointer chaser benchmark
|
|
* Compile benchmarks with gcc vectorization if available
|
|
* run numademo in regression test
|
|
o Add numa_exit_on_warn
|
|
o Fix no cpuset fallback in libnuma.c
|
|
o Fix no cpuset fallback in libnuma.c
|
|
o Install symlinks for the manpages of all new functions
|
|
o Make internal libnuma functions static
|
|
o Add copy_bitmask_to_bitmask() to numa.h
|
|
o Some cleanups
|
|
o Fix line reading in proc
|
|
o Add versions.ldscript to libnuma.so dependencies
|
|
o Remove the non-"numa_" functions from numacompat1.h and numa.h
|
|
o Add ia64 clearcache() to numademo
|
|
o Add -t to numademo for regression testing
|
|
* Wed Jun 11 2008 bwalle@suse.de
|
|
- update to 2.0.1 (see CHANGES file for a changelog)
|
|
- follow shared library packaging policy
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
- added baselibs.conf file to build xxbit packages
|
|
for multilib support
|
|
* Mon Mar 17 2008 jeffm@suse.com
|
|
- Update to 1.0.2
|
|
* Fix parallel Makefile build (Andreas Herrmann)
|
|
* Fix target command argument parsing for numactl
|
|
* Clarify numa_node_to_cpus() manpage
|
|
* Thu Aug 16 2007 ak@suse.de
|
|
- Update to 1.0.1
|
|
* Only bug fixes since the previous version, no
|
|
new functionality.
|
|
* Thu Jun 08 2006 ak@suse.de
|
|
- Save/restore errno correctly (#182158)
|
|
* Thu Jun 08 2006 ak@suse.de
|
|
- Fix cpu buffer sizing for affinity syscalls (#182145)
|
|
* Tue May 23 2006 ak@suse.de
|
|
- Fix cpumap parsing again (#177749)
|
|
* Thu Mar 30 2006 ak@suse.de
|
|
- Fix the cpumap parsing fix to not corrupt memory (still #161089)
|
|
* Tue Mar 28 2006 ak@suse.de
|
|
- Update to 0.9.6: (#161089)
|
|
* consolidates earlier changes
|
|
* fix migrate pages error handling
|
|
* add numa_maps manpage
|
|
* fix cpumap parsing on large systems
|
|
* some build fixes
|
|
* Thu Mar 23 2006 ak@suse.de
|
|
- Don't install syscall manpages which are in the normal
|
|
manpages now (#158550)
|
|
* Sun Feb 12 2006 ak@suse.de
|
|
- Install migratepages manpage (followon for #143825)
|
|
* Wed Feb 08 2006 ak@suse.de
|
|
- Add support for page migration (#143825)
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Jan 04 2006 ak@suse.de
|
|
- Update to numactl 0.9.1 to fix ppc32 build.
|
|
* Tue Jan 03 2006 ak@suse.de
|
|
- Update to numactl 0.9
|
|
* Mon Dec 19 2005 ak@suse.de
|
|
- Update to numactl 0.8
|
|
* Fri Dec 16 2005 ro@suse.de
|
|
- do not build as root
|
|
* Mon Oct 10 2005 ak@suse.de
|
|
- use RPM_OPT_FLAGS
|
|
- fix build on ia64 with debuginfo package
|
|
* Mon Oct 10 2005 ak@suse.de
|
|
- Fix includes in manpages (#72853)
|
|
- Fix buffer length calculation (#118980)
|
|
* Wed Apr 27 2005 jplack@suse.de
|
|
- override broken calculation of libdir in Makefile by using
|
|
%%{_libdir} rpm macro (#75249). Now it builds on ppc also.
|
|
* Mon Apr 25 2005 jplack@suse.de
|
|
- added numactl-LDPS1255-ppc (#75249 - LTC14536)
|
|
* Tue Apr 05 2005 ak@suse.de
|
|
- Fix manpages (#72835, #65944)
|
|
- Fix thread handling with NPTL (#64496)
|
|
* Mon Nov 22 2004 ak@suse.de
|
|
- Fix C++ compilation (#45796)
|
|
* Tue Sep 07 2004 ak@suse.de
|
|
- Fix numa_node_to_cpus on big machines (#44433)
|
|
* Wed Jun 16 2004 ak@suse.de
|
|
- Fix --cpubind on kernels with large NR_CPUS (#42041)
|
|
* Sat Jun 05 2004 ak@suse.de
|
|
- update to 0.6.4:
|
|
* add copyright headers for GPL and LGPL (#41685)
|
|
- Add requires to perl for numastat
|
|
* Thu May 20 2004 ak@suse.de
|
|
- update to 0.6.3:
|
|
* fix cpu map parsing with large number of CPUs (#40820)
|
|
* Tue May 11 2004 ak@suse.de
|
|
- update to 0.6.2:
|
|
* fix numademo to use STREAM
|
|
* make headers C++ clean
|
|
* some other bug fixes.
|
|
* add preliminary i386 syscalls
|
|
* Sun Apr 04 2004 ak@suse.de
|
|
- compile on ia64 too
|
|
* Thu Apr 01 2004 ak@suse.de
|
|
- update to 0.6 final. fix a few bugs in numactl and libnuma and
|
|
work on IA64 too
|
|
* Mon Mar 22 2004 ak@suse.de
|
|
- update to 0.6pre.
|
|
* Mon May 19 2003 ak@suse.de
|
|
- update to numactl-0.3. add libnuma and new manpages. add numademo.
|
|
* Wed May 07 2003 ak@suse.de
|
|
- package written and created
|