memtest86+-vl.spec 6.3 KB

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