numactl/numactl.spec

236 lines
6.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package numactl (Version 2.0.1+2.0.2_rc1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Url: http://oss.sgi.com/projects/libnuma/
Name: numactl
License: GPL v2 or later
Summary: NUMA Policy Control
Version: 2.0.1+2.0.2_rc1
Release: 1
%define tarversion 2.0.2-rc1
AutoReqProv: on
Source: numactl-%{tarversion}.tar.bz2
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: System/Management
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: System/Management
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}-%{tarversion}
%build
make CFLAGS="${RPM_OPT_FLAGS}"
%install
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8
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/*
%doc %{_mandir}/man5/*
%{_includedir}/*
%{_libdir}/lib*so
%changelog
* 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)
* Wed May 24 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)
* Mon Feb 13 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
* Tue Oct 11 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