|
|
c45ff7 |
%global pypi_version 1.6
|
|
|
c45ff7 |
|
|
|
c45ff7 |
Name: python-virt-firmware
|
|
|
c45ff7 |
Version: %{pypi_version}
|
|
|
c45ff7 |
Release: 2%{?dist}
|
|
|
c45ff7 |
Summary: Tools for virtual machine firmware volumes
|
|
|
c45ff7 |
|
|
|
c45ff7 |
License: GPLv2
|
|
|
c45ff7 |
URL: https://gitlab.com/kraxel/virt-firmware
|
|
|
c45ff7 |
Source0: https://gitlab.com/kraxel/virt-firmware/-/archive/v%{pypi_version}/virt-firmware-v%{pypi_version}.tar.gz
|
|
|
c45ff7 |
Patch1: 0001-setup.cfg-drop-peutils.patch
|
|
|
c45ff7 |
BuildArch: noarch
|
|
|
c45ff7 |
|
|
|
c45ff7 |
BuildRequires: python3-devel
|
|
|
c45ff7 |
BuildRequires: python3dist(cryptography)
|
|
|
c45ff7 |
BuildRequires: python3dist(setuptools)
|
|
|
c45ff7 |
BuildRequires: make
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%description
|
|
|
c45ff7 |
Tools for ovmf / armvirt firmware volumes This is a small collection of tools
|
|
|
c45ff7 |
for edk2 firmware images. They support decoding and printing the content of
|
|
|
c45ff7 |
firmware volumes. Variable stores (OVMF_VARS.fd) can be modified, for example
|
|
|
c45ff7 |
to enroll secure boot certificates.
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%package -n python3-virt-firmware
|
|
|
c45ff7 |
Summary: %{summary}
|
|
|
c45ff7 |
%{?python_provide:%python_provide python3-virt-firmware}
|
|
|
c45ff7 |
Provides: virt-firmware
|
|
|
c45ff7 |
Requires: python3dist(cryptography)
|
|
|
c45ff7 |
Requires: python3dist(setuptools)
|
|
|
c45ff7 |
%description -n python3-virt-firmware
|
|
|
c45ff7 |
Tools for ovmf / armvirt firmware volumes This is a small collection of tools
|
|
|
c45ff7 |
for edk2 firmware images. They support decoding and printing the content of
|
|
|
c45ff7 |
firmware volumes. Variable stores (OVMF_VARS.fd) can be modified, for example
|
|
|
c45ff7 |
to enroll secure boot certificates.
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%package -n python3-virt-firmware-tests
|
|
|
c45ff7 |
Summary: %{summary} - test cases
|
|
|
c45ff7 |
Requires: python3-virt-firmware
|
|
|
c45ff7 |
Requires: python3dist(pytest)
|
|
|
c45ff7 |
Requires: edk2-ovmf
|
|
|
c45ff7 |
%description -n python3-virt-firmware-tests
|
|
|
c45ff7 |
test cases
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%prep
|
|
|
c45ff7 |
%autosetup -n virt-firmware-v%{pypi_version}
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%build
|
|
|
c45ff7 |
%py3_build
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%install
|
|
|
c45ff7 |
%py3_install
|
|
|
c45ff7 |
# manpages
|
|
|
c45ff7 |
install -m 755 -d %{buildroot}%{_mandir}/man1
|
|
|
c45ff7 |
install -m 644 man/*.1 %{buildroot}%{_mandir}/man1
|
|
|
c45ff7 |
# tests
|
|
|
c45ff7 |
mkdir -p %{buildroot}%{_datadir}/%{name}
|
|
|
c45ff7 |
cp -ar tests %{buildroot}%{_datadir}/%{name}
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%files -n python3-virt-firmware
|
|
|
c45ff7 |
%license LICENSE
|
|
|
c45ff7 |
%doc README.md
|
|
|
c45ff7 |
%{_bindir}/host-efi-vars
|
|
|
c45ff7 |
%{_bindir}/virt-fw-dump
|
|
|
c45ff7 |
%{_bindir}/virt-fw-vars
|
|
|
c45ff7 |
%{_bindir}/virt-fw-sigdb
|
|
|
c45ff7 |
%{_bindir}/migrate-vars
|
|
|
c45ff7 |
%{_mandir}/man1/virt-*.1*
|
|
|
c45ff7 |
%{python3_sitelib}/virt/firmware
|
|
|
c45ff7 |
%{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%files -n python3-virt-firmware-tests
|
|
|
c45ff7 |
%{_datadir}/%{name}/tests
|
|
|
c45ff7 |
|
|
|
c45ff7 |
%changelog
|
|
|
c45ff7 |
* Tue Nov 15 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.6-2
|
|
|
c45ff7 |
- add tests.yml
|
|
|
c45ff7 |
|
|
|
c45ff7 |
* Mon Nov 14 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.6-1
|
|
|
c45ff7 |
- update to version 1.6
|
|
|
c45ff7 |
- drop peutils
|
|
|
c45ff7 |
- add man-pages
|
|
|
c45ff7 |
- add tests sub-package
|
|
|
c45ff7 |
- resolves: rhbz#2142608
|
|
|
c45ff7 |
|
|
|
c45ff7 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
|
|
c45ff7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
c45ff7 |
|
|
|
c45ff7 |
* Mon Jul 18 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.2-1
|
|
|
c45ff7 |
- update to version 1.2
|
|
|
c45ff7 |
|
|
|
c45ff7 |
* Fri Jul 01 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.1-1
|
|
|
c45ff7 |
- update to version 1.1
|
|
|
c45ff7 |
|
|
|
c45ff7 |
* Wed Jun 22 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.0-1
|
|
|
c45ff7 |
- update to version 1.0
|
|
|
c45ff7 |
|
|
|
c45ff7 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.98-2
|
|
|
c45ff7 |
- Rebuilt for Python 3.11
|
|
|
c45ff7 |
|
|
|
c45ff7 |
* Tue May 24 2022 Gerd Hoffmann <kraxel@redhat.com> - 0.98-1
|
|
|
c45ff7 |
- update to version 0.98
|
|
|
c45ff7 |
|
|
|
c45ff7 |
* Mon Apr 11 2022 Gerd Hoffmann <kraxel@redhat.com> - 0.95-1
|
|
|
c45ff7 |
- Initial package.
|