memtest86+-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. # Prevent stripping
  2. %define __spec_install_post /usr/lib/rpm/brp-compress
  3. # Turn off debuginfo package
  4. %define debug_package %{nil}
  5. Summary: Stand-alone memory tester for x86 and x86-64 computers
  6. Summary(ja): x86 および x86_64 用のスタンドアロンメモリ検査ツール
  7. Name: memtest86+
  8. Version: 2.11
  9. Release: 1%{?_dist_release}
  10. License: GPL
  11. ExclusiveArch: %{ix86} x86_64
  12. Group: System Environment/Base
  13. Source0: http://www.memtest.org/download/1.20/memtest86+-%{version}.tar.gz
  14. URL: http://www.memtest.org
  15. Source1: new-memtest-pkg
  16. Source2: memtest-setup
  17. Requires(preun): coreutils
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  19. Obsoletes: memtest86
  20. %description
  21. Memtest86+ is a thorough stand-alone memory test for x86 and x86-64
  22. architecture computers. BIOS based memory tests are only a quick
  23. check and often miss many of the failures that are detected by
  24. Memtest86+.
  25. Run 'memtest-setup' to add to your GRUB or lilo boot menu.
  26. %prep
  27. %setup -q
  28. %build
  29. # Regular build flags not wanted for this binary
  30. # Note: i486 minimum runtime arch
  31. make
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. mkdir -p $RPM_BUILD_ROOT/boot
  35. mkdir -p $RPM_BUILD_ROOT/sbin
  36. mkdir -p $RPM_BUILD_ROOT%{_sbindir}
  37. install -m644 memtest.bin $RPM_BUILD_ROOT/boot/memtest86+-%{version}
  38. install -m755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/new-memtest-pkg
  39. install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/memtest-setup
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc README
  45. /boot/memtest86+-%{version}
  46. /sbin/new-memtest-pkg
  47. %{_sbindir}/memtest-setup
  48. %preun
  49. /sbin/new-memtest-pkg --remove %{version}
  50. %changelog
  51. * Sat May 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11-1
  52. - new upstream release
  53. * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.65-1vl5
  54. - applied new versioning policy, spec in utf-8
  55. * Fri Aug 18 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.65-0vl1
  56. - initial build for Vine Linux
  57. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.65-4.1
  58. - rebuild
  59. * Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 1.65-4
  60. - make sure coreutils is installed for the preun script
  61. * Thu Jun 08 2006 Jesse Keating <jkeating@redhat.com> - 1.65-3
  62. - rebuilt for new buildsystem
  63. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.65-2.2
  64. - rebuilt for new gcc4.1 snapshot and glibc changes
  65. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  66. - rebuilt
  67. * Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
  68. - make sure 32bit glibc-devel is installed (#170614)
  69. * Sat Oct 01 2005 Warren Togami <wtogami@redhat.com> - 1.65-1
  70. - 1.65
  71. * Wed Jun 29 2005 Warren Togami <wtogami@redhat.com> - 1.60-1
  72. - 1.60
  73. * Mon Mar 28 2005 Warren Togami <wtogami@redhat.com> - 1.55.1-1
  74. - 1.55.1 fixes K8
  75. * Sun Mar 27 2005 Warren Togami <wtogami@redhat.com> - 1.55-1
  76. - 1.55
  77. * Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com>
  78. - rebuilt
  79. * Sat Feb 19 2005 Warren Togami <wtogami@redhat.com> - 1.51-1
  80. - 1.51
  81. * Fri Jan 21 2005 Warren Togami <wtogami@redhat.com> - 1.50-1
  82. - 1.50
  83. * Sun Nov 28 2004 Warren Togami <wtogami@redhat.com> - 1.40-1
  84. - 1.40
  85. - remove arch patch, now upstream
  86. * Tue Oct 26 2004 Warren Togami <wtogami@redhat.com> - 1.27-1
  87. - 1.27
  88. * Mon Oct 25 2004 Jeremy Katz <katzj@redhat.com> - 1.26-3
  89. - allow building on all x86 arches
  90. - pass appropriate compiler options to build on x86_64 as well (#136939)
  91. * Wed Sep 02 2004 Warren Togami <wtogami@redhat.com> 1.26-1
  92. - update to 1.26
  93. * Sat Aug 28 2004 Warren Togami <wtogami@redhat.com> 1.25-1
  94. - update to 1.25
  95. * Mon Jun 28 2004 Warren Togami <wtogami@redhat.com>
  96. - update to 1.20
  97. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  98. - rebuilt
  99. * Sun May 16 2004 Warren Togami <wtogami@redhat.com> 1.15-1
  100. - update to 1.15
  101. * Sun Feb 29 2004 Warren Togami <wtogami@redhat.com> 1.11-2
  102. - switch to memtest86+ 1.11
  103. - add boot loader setup script
  104. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  105. - rebuilt
  106. * Tue Oct 21 2003 Mike A. Harris <mharris@redhat.com> 3.0-3
  107. - Pedantic spec file cleanups - s/Copyright/License/ and use _libdir instead of
  108. /usr/lib everywhere (even though it's currently x86 only)
  109. * Tue Oct 21 2003 Jeremy Katz <katzj@redhat.com> 3.0-2
  110. - fix perms (#107610)
  111. - doesn't really require dev86 to build
  112. * Thu Jul 21 2003 Michael Fulbright <msf@redhat.com>
  113. - initial integration into distribution. Removed the scripts to install a
  114. entry in the boot loader for memtest for the moment, and relocated to under
  115. /usr/lib.
  116. * Thu Apr 17 2003 Joe Szep <jszep@bu.edu>
  117. - rebuilt for Doolittle final
  118. * Mon Feb 3 2003 Matthew Miller <mattdm@bu.edu>
  119. - rebuild for doolittle
  120. - patches to make build -- new gcc growing pains, I guess
  121. * Tue Jul 30 2002 Matthew Miller <mattdm@bu.edu>
  122. - added grubby stuff
  123. * Tue Jul 30 2002 Dave Heistand <davidbh@bu.edu>
  124. - updated source to v 3
  125. * Thu Mar 7 2002 Dave Heistand <davidbh@bu.edu>
  126. - updated source to 2.9, also changed setup -n
  127. - to use %{version}.
  128. * Thu Nov 1 2001 Matthew Miller <mattdm@bu.edu>
  129. - v 2.8a
  130. - removed lilo-configuring scripts. need to figure out the best way to
  131. work with grub and RH 7.2 / BU Linux 2.5
  132. - group -> System Environment/Base
  133. * Mon Aug 20 2001 Matthew Miller <mattdm@bu.edu>
  134. - v 2.7
  135. * Wed Feb 14 2001 Matthew Miller <mattdm@bu.edu>
  136. - v 2.5
  137. * Fri Oct 06 2000 Matthew Miller <mattdm@bu.edu>
  138. - v 2.4
  139. * Thu Mar 23 2000 Matthew Miller <mattdm@bu.edu>
  140. - changed so that lilo.conf isn't written if it already exists. This is
  141. important if you're including memtest86 in a distribution
  142. - GPG key available from http://www.bu.edu/dsgsupport/linux/BULinux-GPG-KEY
  143. - changed name of lilo.conf backup file to something less likely to conflict
  144. with other backups
  145. * Wed Mar 01 2000 Matthew Miller <mattdm@bu.edu>
  146. - Updated to version 2.2
  147. - Cosmetic changes to spec file
  148. - updated Source: to reflect actual author's url
  149. * Fri Dec 25 1998 Peter Soos <sp@osb.hu>
  150. - Corrected the file attributes
  151. * Mon Aug 17 1998 Peter Soos <sp@osb.hu>
  152. - Moved to 1.4a
  153. * Mon Jun 22 1998 Peter Soos <sp@osb.hu>
  154. - Moved to 1.4
  155. * Wed Dec 31 1997 Peter Soos <sp@osb.hu>
  156. - Initial version