Matt Domsch ac6cfc2
Summary: EFI Boot Manager
Matt Domsch ac6cfc2
Name: efibootmgr
dc516a0
Version: 0.12
53d0fa7
Release: 2%{?dist}
Matt Domsch ac6cfc2
Group: System Environment/Base
Matt Domsch ac6cfc2
License: GPLv2+
dc516a0
URL: http://github.com/rhinstaller/%{name}/
dc516a0
BuildRequires: git
dc516a0
BuildRequires: efivar-libs >= 0.19 , efivar-devel >= 0.19
Matt Domsch ac6cfc2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXXX)
Matt Domsch ac6cfc2
# EFI/UEFI don't exist on PPC
59e75f7
ExclusiveArch: %{ix86} x86_64 aarch64
Matt Domsch ac6cfc2
Matt Domsch ac6cfc2
# for RHEL / Fedora when efibootmgr was part of the elilo package
dc516a0
Conflicts: elilo <= 3.6-6
dc516a0
Obsoletes: elilo <= 3.6-6
Matt Domsch ac6cfc2
dc516a0
Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Matt Domsch ac6cfc2
Matt Domsch ac6cfc2
%description
Matt Domsch ac6cfc2
%{name} displays and allows the user to edit the Intel Extensible
Matt Domsch ac6cfc2
Firmware Interface (EFI) Boot Manager variables.  Additional
Matt Domsch ac6cfc2
information about EFI can be found at
Matt Domsch ac6cfc2
http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/.
Matt Domsch ac6cfc2
Matt Domsch ac6cfc2
%prep
Matt Domsch ac6cfc2
%setup -q
c8ba697
git init
dc516a0
git config user.email "example@example.com"
dc516a0
git config user.name "RHEL Ninjas"
c8ba697
git add .
c8ba697
git commit -a -q -m "%{version} baseline."
c8ba697
git am %{patches} 
dc516a0
git config --unset user.email
dc516a0
git config --unset user.name
c8ba697
Matt Domsch ac6cfc2
%build
Matt Domsch ac6cfc2
make %{?_smp_mflags} EXTRA_CFLAGS='%{optflags}'
dc516a0
Matt Domsch ac6cfc2
%install
Matt Domsch ac6cfc2
rm -rf %{buildroot}
Matt Domsch ac6cfc2
mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man8
Matt Domsch ac6cfc2
install -p --mode 755 src/%{name}/%{name} %{buildroot}%{_sbindir}
Matt Domsch ac6cfc2
gzip -9 -c src/man/man8/%{name}.8 > src/man/man8/%{name}.8.gz
Matt Domsch ac6cfc2
touch -r src/man/man8/%{name}.8 src/man/man8/%{name}.8.gz
Matt Domsch ac6cfc2
install -p --mode 644 src/man/man8/%{name}.8.gz %{buildroot}%{_mandir}/man8
Matt Domsch ac6cfc2
Matt Domsch ac6cfc2
%clean
Matt Domsch ac6cfc2
rm -rf %{buildroot}
Matt Domsch ac6cfc2
Matt Domsch ac6cfc2
%files
Matt Domsch ac6cfc2
%defattr(-,root,root,-)
Matt Domsch ac6cfc2
%{_sbindir}/%{name}
Matt Domsch ac6cfc2
%{_mandir}/man8/%{name}.8.gz
Matt Domsch ac6cfc2
%doc README INSTALL COPYING
Matt Domsch ac6cfc2
    
Matt Domsch ac6cfc2
%changelog
53d0fa7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
53d0fa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
53d0fa7
dc516a0
* Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.12-1
dc516a0
- Update to 0.12
dc516a0
- use libefiboot and libefivar to make device paths and load options
dc516a0
- don't depend on -lz or -lpci any more
dc516a0
a51f132
* Tue Oct 21 2014 Peter Jones <pjones@redhat.com> - 0.11.0-1
dc516a0
- Fix "-n" and friends not being assigned/checked right sometimes from 0.10.0-1
dc516a0
- Generate more archives to avoid people using github's, because they're just
dc516a0
  bad.
a51f132
347764f
* Mon Oct 20 2014 Peter Jones <pjones@redhat.com> - 0.10.0-1
347764f
- Make -o parameter validation work better and be more informative
347764f
- Better exit values
347764f
- Fix a segfault with appending ascii arguments.
347764f
dc516a0
* Tue Sep 09 2014 Peter Jones <pjones@redhat.com> - 0.8.0-1
dc516a0
- Release 0.8.0
d907a30
333c84f
* Mon Jan 13 2014 Peter Jones <pjones@redhat.com> - 0.6.1-1
333c84f
- Release 0.6.1
640926a
333c84f
* Mon Jan 13 2014 Jared Dominguez <Jared_Dominguez@dell.com>
333c84f
- new home https://github.com/vathpela/efibootmgr
Matt Domsch be2bb87
Matt Domsch ac6cfc2
* Thu Jan  3 2008 Matt Domsch <Matt_Domsch@dell.com> 0.5.4-1
Matt Domsch ac6cfc2
- split efibootmgr into its own RPM for Fedora/RHEL.
Matt Domsch ac6cfc2
dc516a0
* Thu Aug 24 2004 Matt Domsch <Matt_Domsch@dell.com>
Matt Domsch ac6cfc2
- new home linux.dell.com
Matt Domsch ac6cfc2
Matt Domsch ac6cfc2
* Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com>
Matt Domsch ac6cfc2
- See doc/ChangeLog