initial import (fedora#2070549)

This commit is contained in:
Gerd Hoffmann 2022-04-13 17:06:22 +02:00
parent c29acf8b3a
commit 1697f9e558
3 changed files with 59 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/virt-firmware-v0.96.tar.gz

57
python-virt-firmware.spec Normal file
View File

@ -0,0 +1,57 @@
%global pypi_version 0.96
Name: python-virt-firmware
Version: %{pypi_version}
Release: 1%{?dist}
Summary: Tools for virtual machine firmware volumes
License: GPLv2
URL: https://gitlab.com/kraxel/virt-firmware
Source0: https://gitlab.com/kraxel/virt-firmware/-/archive/v%{pypi_version}/virt-firmware-v%{pypi_version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
Tools for ovmf / armvirt firmware volumes This 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.
%package -n python3-virt-firmware
Summary: %{summary}
%{?python_provide:%python_provide python3-virt-firmware}
Requires: python3dist(cryptography)
Requires: python3dist(setuptools)
%description -n python3-virt-firmware
Tools for ovmf / armvirt firmware volumes This 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.
%prep
%autosetup -n virt-firmware-v%{pypi_version}
%build
%py3_build
%install
%py3_install
%files -n python3-virt-firmware
%license LICENSE
%doc README.md
%{_bindir}/host-efi-vars
%{_bindir}/virt-fw-dump
%{_bindir}/virt-fw-vars
%{python3_sitelib}/virt
%{python3_sitelib}/virt/firmware
%{python3_sitelib}/virt/firmware/efi
%{python3_sitelib}/virt/firmware/varstore
%{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info
%changelog
* Mon Apr 11 2022 Gerd Hoffmann <kraxel@redhat.com> - 0.95-1
- Initial package.

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (virt-firmware-v0.96.tar.gz) = 8f1dabc9823c616e648e42ba30808241ed52235223f96beb71ff06eed31483fcfc22296cdf93d62c42272bfb3753f0e0336a8fce823fcc7bc45fcc73d9dac805