]>
Commit | Line | Data |
---|---|---|
6d675cd3 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
6d675cd3 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = memtest86+ |
4402bf8d | 7 | version = 6.10 |
869a755e MT |
8 | release = 1 |
9 | thisapp = memtest86plus-%{version} | |
6d675cd3 | 10 | |
795dc62c | 11 | groups = System/Base |
e14a82a1 | 12 | url = https://www.memtest.org/ |
802ea3af | 13 | license = GPLv2 |
869a755e | 14 | summary = Stand-alone memory tester for x86 and x86-64 computers |
6d675cd3 | 15 | |
802ea3af MT |
16 | description |
17 | Memtest86+ is a thorough stand-alone memory test for x86 and x86-64 | |
18 | architecture computers. BIOS based memory tests are only a quick | |
19 | check and often miss many of the failures that are detected by | |
6d675cd3 | 20 | Memtest86+. |
802ea3af MT |
21 | end |
22 | ||
4402bf8d | 23 | source_dl = https://github.com/memtest86plus/memtest86plus/archive/refs/tags/v%{version}.tar.gz#/ |
869a755e | 24 | sources = %{thisapp}.tar.gz |
6d675cd3 | 25 | |
802ea3af | 26 | build |
84587bfe MT |
27 | arches = x86_64 |
28 | ||
869a755e MT |
29 | requires |
30 | dosfstools | |
31 | end | |
6d675cd3 | 32 | |
802ea3af | 33 | build |
869a755e | 34 | make -C build64 memtest.bin memtest.efi %{PARALLELISMFLAGS} |
802ea3af | 35 | end |
6d675cd3 | 36 | |
802ea3af | 37 | install |
869a755e MT |
38 | mkdir -pv %{BUILDROOT}/boot/memtest86+ |
39 | install -v -m 644 build64/memtest.{bin,efi} %{BUILDROOT}/boot/memtest86+/ | |
6d675cd3 | 40 | |
869a755e MT |
41 | mkdir -pv %{BUILDROOT}%{sysconfdir}/grub.d |
42 | install -v -m 644 %{DIR_SOURCE}/60_memtest86+{,-efi} %{BUILDROOT}%{sysconfdir}/grub.d/ | |
802ea3af MT |
43 | end |
44 | end | |
435aa863 | 45 | |
802ea3af MT |
46 | packages |
47 | package %{name} | |
869a755e MT |
48 | recommends |
49 | %{name}-efi = %{thisver} | |
50 | end | |
51 | ||
52 | files | |
53 | /boot/memtest86+/memtest.bin | |
54 | %{sysconfdir}/grub.d/60_memtest86+ | |
55 | end | |
56 | end | |
57 | ||
58 | package %{name}-efi | |
59 | summary = Memory Test for EFI systems | |
60 | ||
61 | files | |
62 | /boot/memtest86+/memtest.efi | |
63 | %{sysconfdir}/grub.d/60_memtest86+-efi | |
64 | end | |
65 | end | |
802ea3af | 66 | end |