commit e48331f54e1bb72fcc0119c00d54c4b5c655aa5e Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:37:55 2019 -0400 Package init diff --git a/efibootmgr-16.tar.bz2 b/efibootmgr-16.tar.bz2 new file mode 100644 index 0000000..25e0514 Binary files /dev/null and b/efibootmgr-16.tar.bz2 differ diff --git a/efibootmgr.spec b/efibootmgr.spec new file mode 100644 index 0000000..1117712 --- /dev/null +++ b/efibootmgr.spec @@ -0,0 +1,49 @@ +Name: efibootmgr +Release: 5 +Version: 16 +Summary: A tool manipulating the EFI Boot Manager +License: GPLv2+ +URL: https://github.com/rhboot/%{name}/ +Source0: https://github.com/rhboot/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 + +BuildRequires: efi-srpm-macros >= 3-2 efi-filesystem git popt-devel efivar-libs >= 35-2 efivar-devel >= 35-2 +Requires: efi-filesystem +ExclusiveArch: %{efi} +Conflicts: elilo <= 3.6-6 +Obsoletes: elilo <= 3.6-6 + +%description +Efibootmgr is a Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) +Boot Manager. This application can create and destroy boot entries, change the boot order, change +the next running boot option, and more. + +%package help +Summary: Documents for efibootmgr + +%description help +Help package contains some readme, man and other related files for efibootmgr. + +%prep +%autosetup -S git +git config --local --add %{name}.efidir %{efi_vendor} + +%build +%make_build + +%install +rm -rf %{buildroot} +%make_install libdir=%{_libdir} bindir=%{_bindir} mandir=%{_mandir} datadir=%{_datadir} \ + localedir=%{_datadir}/locale/ includedir=%{_includedir} libexecdir=%{_libexecdir} + +%files +%{!?_licensedir:%global license %%doc} +%license COPYING +%{_sbindir}/* + +%files help +%doc README +%{_mandir}/*/*.?.gz + +%changelog +* Sun Sep 15 2019 yanzhihua - 16-5 +- Package init.