[12214] | 1 | %global build_ldflags %{nil} |
---|
| 2 | |
---|
[9868] | 3 | Summary: EFI Boot Manager |
---|
| 4 | Name: efibootmgr |
---|
[12439] | 5 | Version: 17 |
---|
[12214] | 6 | Release: 1%{?_dist_release} |
---|
[9868] | 7 | Group: System Environment/Base |
---|
[12439] | 8 | Vendor: Project Vine |
---|
| 9 | Distribution: Vine Linux |
---|
| 10 | Packager: tomop |
---|
| 11 | |
---|
[9868] | 12 | License: GPLv2+ |
---|
[12214] | 13 | URL: https://github.com/rhboot/efibootmgr/ |
---|
| 14 | BuildRequires: git popt-devel |
---|
| 15 | BuildRequires: efivar-libs >= 37 |
---|
| 16 | BuildRequires: efivar-devel >= 37 |
---|
| 17 | BuildRequires: efi-srpm-macros >= 3-2 |
---|
| 18 | BuildRequires: efi-filesystem |
---|
| 19 | Requires: efi-filesystem |
---|
[9868] | 20 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXXX) |
---|
| 21 | # EFI/UEFI don't exist on PPC |
---|
| 22 | ExclusiveArch: %{ix86} x86_64 aarch64 |
---|
| 23 | |
---|
[12439] | 24 | Source0: https://github.com/rhboot/efibootmgr/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz |
---|
[9868] | 25 | |
---|
| 26 | %description |
---|
| 27 | %{name} displays and allows the user to edit the Intel Extensible |
---|
| 28 | Firmware Interface (EFI) Boot Manager variables. Additional |
---|
| 29 | information about EFI can be found at |
---|
| 30 | http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/. |
---|
| 31 | |
---|
| 32 | %prep |
---|
[12214] | 33 | %autosetup -S git |
---|
| 34 | git config --local --add efibootmgr.efidir %{efi_vendor} |
---|
[9868] | 35 | |
---|
[12439] | 36 | %ifarch x86_64 |
---|
| 37 | sed -i -e "s/grub\.efi/grubx64.efi/" Make.defaults |
---|
| 38 | %endif |
---|
| 39 | |
---|
| 40 | sed -i \ |
---|
| 41 | -e "/extern int efi_set_verbose/d" \ |
---|
| 42 | src/efibootmgr.c |
---|
| 43 | |
---|
| 44 | |
---|
[9868] | 45 | %build |
---|
[12439] | 46 | %make_build CFLAGS='%{optflags} -Wno-pointer-sign' LDFLAGS='%{build_ldflags}' |
---|
[9868] | 47 | |
---|
| 48 | %install |
---|
| 49 | rm -rf %{buildroot} |
---|
[12214] | 50 | %make_install libdir=%{_libdir} bindir=%{_bindir} mandir=%{_mandir} \ |
---|
| 51 | localedir=%{_datadir}/locale/ includedir=%{_includedir} \ |
---|
| 52 | libexecdir=%{_libexecdir} datadir=%{_datadir} |
---|
[9868] | 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf %{buildroot} |
---|
| 56 | |
---|
| 57 | %files |
---|
[12214] | 58 | %{!?_licensedir:%global license %%doc} |
---|
| 59 | %license COPYING |
---|
| 60 | %{_sbindir}/* |
---|
| 61 | %{_mandir}/*/*.?.gz |
---|
| 62 | %doc README |
---|
[9868] | 63 | |
---|
| 64 | %changelog |
---|
[12439] | 65 | * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 17-1 |
---|
| 66 | - new upstream release. |
---|
| 67 | |
---|
[12214] | 68 | * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 16-1 |
---|
| 69 | - new upstream release. |
---|
| 70 | |
---|
[9868] | 71 | * Tue Dec 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.12-3 |
---|
| 72 | - initial build for Vine Linux. |
---|
| 73 | |
---|
| 74 | * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2 |
---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
| 76 | |
---|
| 77 | * Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.12-1 |
---|
| 78 | - Update to 0.12 |
---|
| 79 | - use libefiboot and libefivar to make device paths and load options |
---|
| 80 | - don't depend on -lz or -lpci any more |
---|
| 81 | |
---|
| 82 | * Tue Oct 21 2014 Peter Jones <pjones@redhat.com> - 0.11.0-1 |
---|
| 83 | - Fix "-n" and friends not being assigned/checked right sometimes from 0.10.0-1 |
---|
| 84 | - Generate more archives to avoid people using github's, because they're just |
---|
| 85 | bad. |
---|
| 86 | |
---|
| 87 | * Mon Oct 20 2014 Peter Jones <pjones@redhat.com> - 0.10.0-1 |
---|
| 88 | - Make -o parameter validation work better and be more informative |
---|
| 89 | - Better exit values |
---|
| 90 | - Fix a segfault with appending ascii arguments. |
---|
| 91 | |
---|
| 92 | * Tue Sep 09 2014 Peter Jones <pjones@redhat.com> - 0.8.0-1 |
---|
| 93 | - Release 0.8.0 |
---|
| 94 | |
---|
| 95 | * Mon Jan 13 2014 Peter Jones <pjones@redhat.com> - 0.6.1-1 |
---|
| 96 | - Release 0.6.1 |
---|
| 97 | |
---|
| 98 | * Mon Jan 13 2014 Jared Dominguez <Jared_Dominguez@dell.com> |
---|
| 99 | - new home https://github.com/vathpela/efibootmgr |
---|
| 100 | |
---|
| 101 | * Thu Jan 3 2008 Matt Domsch <Matt_Domsch@dell.com> 0.5.4-1 |
---|
| 102 | - split efibootmgr into its own RPM for Fedora/RHEL. |
---|
| 103 | |
---|
| 104 | * Tue Aug 24 2004 Matt Domsch <Matt_Domsch@dell.com> |
---|
| 105 | - new home linux.dell.com |
---|
| 106 | |
---|
| 107 | * Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com> |
---|
| 108 | - See doc/ChangeLog |
---|