5 Summary: EFI Kernel loader
6 Url: http://cgit.freedesktop.org/gummiboot/
8 Source0: http://cgit.freedesktop.org/%{name}/snapshot/%{name}-%{version}.tar.gz
9 Source1001: gummiboot.manifest
10 BuildRequires: gnu-efi
11 BuildRequires: pkgconfig(blkid)
12 ExclusiveArch: %ix86 x86_64
16 Gummiboot is a simple EFI bootloader.
19 Summary: Gummiboot default splash image
21 Requires: %{name} = %{version}
24 This package contains the Gummiboot default splash image. It's the
25 project logo and maintained in the upstream gummiboot Git tree.
28 %setup -q -n %{name}-%{version}
31 %{?asan:/usr/bin/gcc-unforce-options}
32 GCC_SEARCH_PATH=$(gcc -print-search-dirs | sed -ne '/install:/s/install: //p')
34 %reconfigure --with-efi-libdir=/usr/lib --with-efi-ldsdir=/usr/lib
35 %{__make} EFI_CPPFLAGS=-I$GCC_SEARCH_PATH/include
41 mkdir -p %{buildroot}/%{_datadir}/%{name}
42 cp test/splash.bmp %{buildroot}/%{_datadir}/%{name}
45 %manifest %{name}.manifest
47 %manifest gummiboot.manifest
50 %{_prefix}/lib/gummiboot/gummibootx64.efi
52 %{_prefix}/lib/gummiboot/gummibootia32.efi
56 %{_datadir}/%{name}/splash.bmp