# Created by pyp2rpm-3.3.10 %global pypi_name virt-firmware %global pypi_version 24.1.1 Name: python-%{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: tools for virtual machine firmware volumes License: GPLv2 URL: None Source0: %{pypi_name}-%{pypi_version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description Tools for ovmf / armvirt firmware volumesThis is a small collection of tools for edk2 firmware images. They support decoding and printing the content of firmware volumes. Variable stores (OVMF_VARS.fd) can be modified, for example to enroll secure boot certificates. virt-fw-dumpDecodes and prints the content of firmware volumes.Usage: virt-fw-dump -i .Try virt-fw-dump --help for more... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(cryptography) Requires: python3dist(pefile) Requires: python3dist(setuptools) %description -n python3-%{pypi_name} Tools for ovmf / armvirt firmware volumesThis is a small collection of tools for edk2 firmware images. They support decoding and printing the content of firmware volumes. Variable stores (OVMF_VARS.fd) can be modified, for example to enroll secure boot certificates. virt-fw-dumpDecodes and prints the content of firmware volumes.Usage: virt-fw-dump -i .Try virt-fw-dump --help for more... %prep %autosetup -n %{pypi_name}-%{pypi_version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{_bindir}/host-efi-vars %{_bindir}/kernel-bootcfg %{_bindir}/migrate-vars %{_bindir}/pe-addsigs %{_bindir}/pe-dumpinfo %{_bindir}/pe-inspect %{_bindir}/pe-listsigs %{_bindir}/uefi-boot-menu %{_bindir}/virt-fw-dump %{_bindir}/virt-fw-sigdb %{_bindir}/virt-fw-vars %{python3_sitelib}/virt/firmware %{python3_sitelib}/virt/firmware/bootcfg %{python3_sitelib}/virt/firmware/efi %{python3_sitelib}/virt/firmware/varstore %{python3_sitelib}/virt/peutils %{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info %changelog * Mon Mar 11 2024 Super User - 24.1.1-1 - Initial package.