e3eec3
%define efivar_version 35-2
e3eec3
e3eec3
Name: efibootmgr
e3eec3
Version: 16
e3eec3
Release: 12%{?dist}
e3eec3
Summary: EFI Boot Manager
e3eec3
License: GPLv2+
e3eec3
URL: https://github.com/rhboot/%{name}/
e3eec3
e3eec3
BuildRequires: efi-srpm-macros >= 3-2
e3eec3
BuildRequires: efi-filesystem
e3eec3
BuildRequires: git popt-devel
e3eec3
BuildRequires: efivar-libs >= %{efivar_version}
e3eec3
BuildRequires: efivar-devel >= %{efivar_version}
e3eec3
BuildRequires: gcc
e3eec3
BuildRequires: make
e3eec3
Requires: efi-filesystem
e3eec3
ExclusiveArch: %{efi}
e3eec3
e3eec3
Source0: https://github.com/rhboot/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
e3eec3
e3eec3
# Fixes to compiler errors manually cherry picked from upstream commit
e3eec3
# https://github.com/rhboot/efibootmgr/commit/e8ce9fecebd15adb4c60a0678d4c417afe06dde4
e3eec3
Patch0: efibootmgr-16-efidp_format_device_path-argfix.patch
e3eec3
e3eec3
%description
e3eec3
%{name} displays and allows the user to edit the Intel Extensible
e3eec3
Firmware Interface (EFI) Boot Manager variables.  Additional
e3eec3
information about EFI can be found at https://uefi.org/.
e3eec3
e3eec3
%prep
e3eec3
%autosetup -S git
e3eec3
git config --local --add efibootmgr.efidir %{efi_vendor}
e3eec3
e3eec3
%build
e3eec3
%make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}'
e3eec3
e3eec3
%install
e3eec3
%make_install libdir=%{_libdir} bindir=%{_bindir} mandir=%{_mandir} \
e3eec3
	      localedir=%{_datadir}/locale/ includedir=%{_includedir} \
e3eec3
	      libexecdir=%{_libexecdir} datadir=%{_datadir}
e3eec3
e3eec3
%files
e3eec3
%license COPYING
e3eec3
%{_sbindir}/*
e3eec3
%{_mandir}/*/*.?.gz
e3eec3
%doc README
e3eec3
e3eec3
%changelog
e3eec3
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 16-12
e3eec3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
e3eec3
  Related: rhbz#1991688
e3eec3
e3eec3
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 16-11
e3eec3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
e3eec3
e3eec3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 16-10
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e3eec3
e3eec3
* Thu Aug 06 2020 Merlin Mathesius <mmathesi@redhat.com> - 16-9
e3eec3
- FTBFS fixes for Rawhide and ELN
e3eec3
e3eec3
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 16-9
e3eec3
- Second attempt - Rebuilt for
e3eec3
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e3eec3
e3eec3
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 16-8
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e3eec3
e3eec3
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 16-7
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e3eec3
e3eec3
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 16-6
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e3eec3
e3eec3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 16-5
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e3eec3
e3eec3
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 16-4
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e3eec3
e3eec3
* Fri May 04 2018 Peter Jones <pjones@redhat.com> - 16-3
e3eec3
- Rebuild for new efi-rpm-macros, now that it has settled down a bit.
e3eec3
e3eec3
* Wed May 02 2018 Peter Jones <pjones@redhat.com> - 16-2
e3eec3
- Use %%{efi} and similar macros from efi-rpm-macros
e3eec3
- Use '%%autosetup -S git' now that it imports patches without rewriting
e3eec3
  the commit message.
e3eec3
- Fix some URLs maybe.
e3eec3
e3eec3
* Mon Apr 09 2018 Peter Jones <pjones@redhat.com> - 16-1
e3eec3
- efibootmgr 16
e3eec3
- better coverity and clang-analyzer support
e3eec3
- better CI
e3eec3
- minor fixes
e3eec3
e3eec3
* Tue Feb 27 2018 Peter Jones <pjones@redhat.com> - 15-6
e3eec3
- Rebuild against newer efivar.
e3eec3
e3eec3
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 15-5
e3eec3
- Use CFLAGS & LDFLAGS from redhat-rpm-config
e3eec3
e3eec3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 15-4
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e3eec3
e3eec3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15-3
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e3eec3
e3eec3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15-2
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e3eec3
e3eec3
* Sat Jul 08 2017 Peter Jones <pjones@redhat.com> - 15-1
e3eec3
- Update to efibootmgr 15
e3eec3
- Make efibootmgr use EFIDIR / efibootmgr.efidir like fwupdate does
e3eec3
- make --loader default build-time configurable
e3eec3
- sanitize set_mirror()/get_mirror()
e3eec3
- Add support for parsing loader options as UCS2
e3eec3
- GCC 7 fixes
e3eec3
- Don't use -fshort-wchar since we don't run on EFI machines.
e3eec3
- Also rebuild for efivar-31-1.fc26 to get symbol versioning right.
e3eec3
  Resolves: rhbz#1468841
e3eec3
e3eec3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14-4
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e3eec3
e3eec3
* Wed Sep 28 2016 Peter Jones <pjones@redhat.com> - 14-3
e3eec3
- Rebuild for efivar-30-3, this time with the right library sonames.
e3eec3
e3eec3
* Wed Sep 28 2016 Peter Jones <pjones@redhat.com> - 14-2
e3eec3
- Rebuild for efivar-30-2
e3eec3
e3eec3
* Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 14-1
e3eec3
- Update to efibootmgr 14
e3eec3
- Remove "(hex)" from description of --delete-bootnum
e3eec3
- Fix a typo in the popt options
e3eec3
- Add README.md
e3eec3
- make efibootdump install by default
e3eec3
- Man page fixes
e3eec3
- Better compiler detection
e3eec3
- Don't use --default-symver in efibootmgr
e3eec3
- Make -flto part of the overrideable CFLAGS
e3eec3
e3eec3
* Wed Aug 17 2016 Peter Jones <pjones@redhat.com> - 13-2
e3eec3
- Update to efibootmgr 13
e3eec3
- Add support for --sysprep and --driver to support UEFI System Prep
e3eec3
  Applications and UEFI Drivers.
e3eec3
- use efivar's error reporting facility, and show error traces when
e3eec3
  "-v -v" is used.
e3eec3
- Still yet better error codes returned on failures.
e3eec3
- Add -m and -M to support Memory Address Range Mirroring.
e3eec3
- Add efibootdump, to examine Boot* variables found in tarballs in bug
e3eec3
  reports and similar.
e3eec3
- miscellaneous bugfixes.
e3eec3
e3eec3
* Thu Aug 11 2016 Peter Jones <pjones@redhat.com> - 13-1
e3eec3
- Update to version 13
e3eec3
- add efibootdump
e3eec3
- use efivar's error reporting facility
e3eec3
- Add address range mirroring support
e3eec3
- lots of bug fixes
e3eec3
e3eec3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e3eec3
e3eec3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
e3eec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e3eec3
e3eec3
* Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.12-1
e3eec3
- Update to 0.12
e3eec3
- use libefiboot and libefivar to make device paths and load options
e3eec3
- don't depend on -lz or -lpci any more
e3eec3
e3eec3
* Tue Oct 21 2014 Peter Jones <pjones@redhat.com> - 0.11.0-1
e3eec3
- Fix "-n" and friends not being assigned/checked right sometimes from 0.10.0-1
e3eec3
- Generate more archives to avoid people using github's, because they're just
e3eec3
  bad.
e3eec3
e3eec3
* Mon Oct 20 2014 Peter Jones <pjones@redhat.com> - 0.10.0-1
e3eec3
- Make -o parameter validation work better and be more informative
e3eec3
- Better exit values
e3eec3
- Fix a segfault with appending ascii arguments.
e3eec3
e3eec3
* Tue Sep 09 2014 Peter Jones <pjones@redhat.com> - 0.8.0-1
e3eec3
- Release 0.8.0
e3eec3
e3eec3
* Mon Jan 13 2014 Peter Jones <pjones@redhat.com> - 0.6.1-1
e3eec3
- Release 0.6.1
e3eec3
e3eec3
* Mon Jan 13 2014 Jared Dominguez <Jared_Dominguez@dell.com>
e3eec3
- new home https://github.com/vathpela/efibootmgr
e3eec3
e3eec3
* Thu Jan  3 2008 Matt Domsch <Matt_Domsch@dell.com> 0.5.4-1
e3eec3
- split efibootmgr into its own RPM for Fedora/RHEL.
e3eec3
e3eec3
* Tue Aug 24 2004 Matt Domsch <Matt_Domsch@dell.com>
e3eec3
- new home linux.dell.com
e3eec3
e3eec3
* Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com>
e3eec3
- See doc/ChangeLog