Name: efitools Version: 1.9.2 Release: 3%{?dist} Summary: Tools to manipulate EFI secure boot keys and signatures License: GPLv2 and LGPLv2 and BSD # call-to-mktemp: # https://github.com/vathpela/efitools/issues/2 URL: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git Source0: %{url}/snapshot/%{name}-%{version}.tar.gz # same as gnu-efi ExclusiveArch: %{efi} BuildRequires: pkgconfig(openssl) BuildRequires: gcc BuildRequires: gnu-efi-devel BuildRequires: help2man BuildRequires: openssl BuildRequires: perl-File-Slurp BuildRequires: sbsigntools Requires: coreutils%{_isa} Requires: mtools%{_isa} Requires: parted%{_isa} Requires: util-linux%{_isa} Recommends: sbsigntools%{_isa} %description This package installs a variety of tools for manipulating keys and binary signatures on UEFI secure boot platforms. The tools provide access to the keys and certificates stored in the secure variables of the UEFI firmware, usually in the NVRAM area. %prep %autosetup sed -i 's|CFLAGS[[:space:]]*=|CFLAGS+=|g' Make.rules sed -i 's|nm .*||g' Make.rules %build %set_build_flags %make_build %install %make_install DOCDIR=%{buildroot}%{_docdir}/%{name}/ rm -v %{buildroot}%{_docdir}/%{name}/COPYING %files %doc README %license COPYING %{_datadir}/%{name}/ %{_mandir}/man1/*.1.* %{_bindir}/cert-to-efi-hash-list %{_bindir}/cert-to-efi-sig-list %{_bindir}/efi-readvar %{_bindir}/efi-updatevar %{_bindir}/efitool-mkusb %{_bindir}/flash-var %{_bindir}/hash-to-efi-sig-list %{_bindir}/sig-list-to-certs %{_bindir}/sign-efi-sig-list %changelog * Sat Feb 06 2021 Vladislav Kazakov - 1.9.2-3 - Add system flags to CFLAGS. * Sun Jan 31 2021 Vladislav Kazakov - 1.9.2-2 - Add BSD license. - Rename LGPLv2.1 to LGPLv2. - Add reference to issue about mktemp usage. * Sun Jan 17 2021 Vladislav Kazakov - 1.9.2-1 - Initial SPEC release.