9 |
|
|
10 |
Name: refind |
Name: refind |
11 |
Version: 0.12.0 |
Version: 0.12.0 |
12 |
Release: %mkrel 1 |
Release: %mkrel 2 |
13 |
Summary: EFI boot manager |
Summary: EFI boot manager |
14 |
License: GPLv3 |
License: GPLv3 |
15 |
Group: System/Boot and Init |
Group: System/Boot and Init |
17 |
Source0: https://sourceforge.net/projects/refind/files/%version/refind-src-%version.tar.gz |
Source0: https://sourceforge.net/projects/refind/files/%version/refind-src-%version.tar.gz |
18 |
# Replace old Mageia icon with current version |
# Replace old Mageia icon with current version |
19 |
Source1: os_mageia.png |
Source1: os_mageia.png |
20 |
|
# Use Mageia dark blue background |
21 |
|
Source2: dark-blue-banner.png |
22 |
# Fix ESP mount point and GNU EFI library paths |
# Fix ESP mount point and GNU EFI library paths |
23 |
Patch0: mga-system-path-fixes.patch |
Patch0: mga-system-path-fixes.patch |
24 |
# Add --nvramonly option to refind-install |
# Add --nvramonly option to refind-install |
28 |
# GGC 10 synthesises a call to memmove, which isn't implemented. Work |
# GGC 10 synthesises a call to memmove, which isn't implemented. Work |
29 |
# round this by disabling that optimisation. |
# round this by disabling that optimisation. |
30 |
Patch3: disable-gcc-memmove-opt.patch |
Patch3: disable-gcc-memmove-opt.patch |
31 |
|
# Fix bug in refind-install script. |
32 |
|
Patch4: fix-install-early-exit.patch |
33 |
|
# Change default banner |
34 |
|
Patch5: use-dark-blue-banner.patch |
35 |
|
|
36 |
ExclusiveArch: %{ix86} x86_64 |
ExclusiveArch: %{ix86} x86_64 |
37 |
BuildRequires: gnu-efi-devel |
BuildRequires: gnu-efi-devel |
38 |
Provides: bootloader |
Provides: bootloader |
55 |
|
|
56 |
%prep |
%prep |
57 |
%autosetup -p1 |
%autosetup -p1 |
58 |
cp %{SOURCE1} icons/ |
cp %{SOURCE1} %{SOURCE2} icons/ |
59 |
|
|
60 |
%build |
%build |
61 |
make LIBDIR=%{_libdir} gnuefi |
make LIBDIR=%{_libdir} gnuefi |