Name: memtest86 Version: 2.9 Release: 1 Summary: memtest86 - A Stand-alone Memory Diagnostic Group: System Environment/Base License: GPL URL: http://www.memtest86.com/ Source0: http://www.memtest86.com/%{name}-%{version}.tar.gz ExclusiveArch: i386 BuildRequires: dev86 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Memtest86 is thorough, stand alone memory test for x86 architecture computers. BIOS based memory tests are only a quick check and often miss many of the failures that are detected by Memtest86. %prep %setup -q %build make %install rm -fr $RPM_BUILD_ROOT mkdir -p ${RPM_BUILD_ROOT}/boot cp memtest.bin ${RPM_BUILD_ROOT}/boot/memtest86.bin %clean rm -fr $RPM_BUILD_ROOT %triggerin -- grub if [ -f /boot/grub/menu.lst ]; then grep -q "/boot/memtest86.bin" /boot/grub/menu.lst || cat >> /boot/grub/menu.lst <> /etc/lilo.conf < - initial spec