numactl-vl.spec 7.5 KB

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