numactl-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. Name: numactl
  2. Summary: Library for tuning for Non Uniform Memory Access machines
  3. Summary(ja): NUMA マシンをチューニングするためのライブラリ
  4. Version: 2.0.7
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2/GPLv2
  7. Group: System Environment/Base
  8. URL: ftp://oss.sgi.com/www/projects/libnuma/download
  9. Source0: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
  10. Buildroot: %{_tmppath}/%{name}-buildroot
  11. Patch1: numactl-2.0.3-rc3-no-nodes-warning.patch
  12. Patch2: numactl-2.0.7-manpages.patch
  13. ExcludeArch: s390 s390x %{arm}
  14. %description
  15. Simple NUMA policy support. It consists of a numactl program to run
  16. other programs with a specific NUMA policy.
  17. %package libs
  18. Summary: libnuma libraries
  19. Summary(ja): libnuma libraries
  20. Group: System Environment/Libraries
  21. %description libs
  22. numactl-libs provides libnuma, a library to do allocations with
  23. NUMA policy in applications.
  24. %package devel
  25. Summary: Development package for building Applications that use numa
  26. Summary(ja): Development package for building Applications that use numa
  27. Group: System Environment/Libraries
  28. Requires: %{name}-libs = %{version}-%{release}
  29. %description devel
  30. Provides development headers for numa library calls
  31. %package compat
  32. Summary: Library for tuning for Non Uniform Memory Access machines
  33. Summary(ja): Library for tuning for Non Uniform Memory Access machines
  34. Obsoletes: numactl < 2.0.7-5
  35. Requires: numactl = 2.0.7-5
  36. Requires: numactl-libs = 2.0.7-5
  37. %description compat
  38. This package only exists to help transition numactl users to the new
  39. package split. It will be removed after one distribution release cycle, please
  40. do not reference it or depend on it in any way.
  41. %prep
  42. %setup -q -n %{name}-%{version}
  43. %patch1 -p1
  44. %patch2 -p1
  45. %build
  46. make CFLAGS="$RPM_OPT_FLAGS -I."
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  50. mkdir -p $RPM_BUILD_ROOT%{_libdir}
  51. mkdir -p $RPM_BUILD_ROOT%{_includedir}
  52. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
  53. make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %post -p /sbin/ldconfig
  57. %post libs -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %postun libs -p /sbin/ldconfig
  60. %files
  61. %defattr(-,root,root,-)
  62. %{_bindir}/numactl
  63. %{_bindir}/numademo
  64. %{_bindir}/numastat
  65. %{_bindir}/memhog
  66. %{_bindir}/migspeed
  67. %{_bindir}/migratepages
  68. %{_mandir}/man8/*.8*
  69. %files libs
  70. %defattr(-,root,root,-)
  71. %{_libdir}/libnuma.so.1
  72. %files devel
  73. %defattr(-,root,root,-)
  74. %{_libdir}/libnuma.so
  75. %exclude %{_libdir}/libnuma.a
  76. %{_includedir}/numa.h
  77. %{_includedir}/numaif.h
  78. %{_includedir}/numacompat1.h
  79. %{_mandir}/man3/*.3*
  80. %changelog
  81. * Tue Apr 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.7-1
  82. - initial build for Vine Linux
  83. * Sun Apr 15 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-5
  84. - Library splitted out of numactl package to numactl-libs
  85. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-4
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  87. * Mon Jan 01 2012 Anton Arapov <anton@redhat.com> - 2.0.7-3
  88. - Include missing manpages
  89. * Sat Jun 18 2011 Peter Robinson <pbrobinson@gmail.com> - 2.0.7-2
  90. - Exclude ARM platforms
  91. * Fri Apr 15 2011 Anton Arapov <anton@redhat.com> - 2.0.7-1
  92. - Update to latest upstream stable version (bz 696703)
  93. * Tue Mar 22 2011 Anton Arapov <anton@redhat.com> - 2.0.6-2
  94. - Better manpages (bz 673613)
  95. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  97. * Tue Jan 04 2011 Neil Horman <nhorman@redhat.com> - 2.0.6-1
  98. - Update to latest upstream stable version (bz 666379)
  99. * Mon Oct 18 2010 Neil Horman <nhorman@redhat.com> - 2.0.5-1
  100. - Update to latest stable upstream source
  101. * Mon Feb 15 2010 Neil Horman <nhorman@redhat.com> - 2.0.3-8
  102. - Remove static libs from numactl (bz 556088)
  103. * Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-7
  104. - Add destructor to libnuma.so to free allocated memory (bz 516227)
  105. * Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-6
  106. - Fix obo in nodes_allowed_list strncpy (bz 516223)
  107. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-5
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  109. * Fri Jun 26 2009 Neil Horman <nhorman@redhat.com>
  110. - Update to full 2.0.3 version (bz 506795)
  111. * Wed Jun 17 2009 Neil Horman <nhorman@redhat.com>
  112. - Fix silly libnuma warnings again (bz 499633)
  113. * Fri May 08 2009 Neil Horman <nhorman@redhat.com>
  114. - Update to 2.0.3-rc3 (bz 499633)
  115. * Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2.0.2-4
  116. - Remove warning from libnuma (bz 484552)
  117. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
  118. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  119. * Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-2
  120. - Fix build break due to register selection in asm
  121. * Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-1
  122. - Update rawhide to version 2.0.2 of numactl
  123. * Fri Apr 25 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-6
  124. - Fix buffer size passing and arg sanity check for physcpubind (bz 442521)
  125. * Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-5
  126. - Fixing spec file to actually apply alpha patch :)
  127. * Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-4
  128. - Add alpha syscalls (bz 396361)
  129. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-3
  130. - Autorebuild for GCC 4.3
  131. * Thu Dec 20 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
  132. - Update numactl to fix get_mempolicy signature (bz 418551)
  133. * Fri Dec 14 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
  134. - Update numactl to latest version (bz 425281)
  135. * Tue Aug 07 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-4
  136. - Fixing some remaining merge review issues (bz 226207)
  137. * Fri Aug 03 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-3
  138. - fixing up merge review (bz 226207)
  139. * Fri Jan 12 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-2
  140. - Properly fixed bz 221982
  141. - Updated revision string to include %{dist}
  142. * Thu Jan 11 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-1.38
  143. - Fixed -devel to depend on base package so libnuma.so resolves
  144. * Thu Sep 21 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.36
  145. - adding nodebind patch for bz 207404
  146. * Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.35
  147. - moving over libnuma.so to -devel package as well
  148. * Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.34
  149. - split out headers/devel man pages to a devel subpackage
  150. * Tue Aug 15 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.32
  151. - add patch for broken cpu/nodebind output (bz 201906)
  152. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9.8-1.31
  153. - rebuild
  154. * Tue Jun 13 2006 Neil Horman <nhorman@redhat.com>
  155. - Rebased numactl to version 0.9.8 for FC6/RHEL5
  156. * Wed Apr 26 2006 Neil Horman <nhorman@redhat.com>
  157. - Added patches for 64 bit overflows and cpu mask problem
  158. * Fri Mar 10 2006 Bill Nottingham <notting@redhat.com>
  159. - rebuild for ppc TLS issue (#184446)
  160. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.4-1.25.2
  161. - bump again for double-long bug on ppc(64)
  162. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com>
  163. - rebuilt for new gcc4.1 snapshot and glibc changes
  164. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  165. - rebuilt
  166. * Thu Jul 7 2005 Dave Jones <davej@redhat.com>
  167. - numactl doesn't own the manpage dirs. (#161547)
  168. * Tue Mar 1 2005 Dave Jones <davej@redhat.com>
  169. - Rebuild for gcc4
  170. * Tue Feb 8 2005 Dave Jones <davej@redhat.com>
  171. - rebuild with -D_FORTIFY_SOURCE=2
  172. * Wed Nov 10 2004 David Woodhouse <dwmw2@redhat.com>
  173. - Fix build on x86_64
  174. * Thu Oct 21 2004 David Woodhouse <dwmw2@redhat.com>
  175. - Add PPC support
  176. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  177. - rebuilt
  178. * Sat Jun 05 2004 Warren Togami <wtogami@redhat.com>
  179. - spec cleanup
  180. * Sat Jun 05 2004 Arjan van de Ven <arjanv@redhat.com>
  181. - initial packaging