############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = memtest86+ version = 6.10 release = 1 thisapp = memtest86plus-%{version} sup_arches = x86_64 groups = System/Base url = http://www.memtest.org/ license = GPLv2 summary = Stand-alone memory tester for x86 and x86-64 computers description Memtest86+ is a thorough stand-alone memory test for x86 and x86-64 architecture computers. BIOS based memory tests are only a quick check and often miss many of the failures that are detected by Memtest86+. end source_dl = https://github.com/memtest86plus/memtest86plus/archive/refs/tags/v%{version}.tar.gz#/ sources = %{thisapp}.tar.gz build requires dosfstools end build make -C build64 memtest.bin memtest.efi %{PARALLELISMFLAGS} end install mkdir -pv %{BUILDROOT}/boot/memtest86+ install -v -m 644 build64/memtest.{bin,efi} %{BUILDROOT}/boot/memtest86+/ mkdir -pv %{BUILDROOT}%{sysconfdir}/grub.d install -v -m 644 %{DIR_SOURCE}/60_memtest86+{,-efi} %{BUILDROOT}%{sysconfdir}/grub.d/ end end packages package %{name} recommends %{name}-efi = %{thisver} end files /boot/memtest86+/memtest.bin %{sysconfdir}/grub.d/60_memtest86+ end end package %{name}-efi summary = Memory Test for EFI systems files /boot/memtest86+/memtest.efi %{sysconfdir}/grub.d/60_memtest86+-efi end end end