2023-04-14 07:57:59 +00:00
|
|
|
%global pypi_version 23.4
|
2022-04-13 15:06:22 +00:00
|
|
|
|
|
|
|
Name: python-virt-firmware
|
|
|
|
Version: %{pypi_version}
|
2023-04-14 07:57:59 +00:00
|
|
|
Release: 1%{?dist}
|
2022-04-13 15:06:22 +00:00
|
|
|
Summary: Tools for virtual machine firmware volumes
|
|
|
|
|
|
|
|
License: GPLv2
|
2023-04-14 07:57:59 +00:00
|
|
|
URL: https://pypi.org/project/virt-firmware/
|
|
|
|
Source0: virt-firmware-%{pypi_version}.tar.gz
|
2022-04-13 15:06:22 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
2022-09-27 15:02:48 +00:00
|
|
|
BuildRequires: python3dist(cryptography)
|
2022-04-13 15:06:22 +00:00
|
|
|
BuildRequires: python3dist(setuptools)
|
2022-09-27 11:44:15 +00:00
|
|
|
BuildRequires: make help2man
|
2022-04-13 15:06:22 +00:00
|
|
|
|
|
|
|
%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}
|
2022-10-28 14:11:02 +00:00
|
|
|
Provides: virt-firmware
|
2022-04-13 15:06:22 +00:00
|
|
|
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.
|
|
|
|
|
2022-11-10 10:51:56 +00:00
|
|
|
%package -n python3-virt-firmware-peutils
|
|
|
|
Summary: %{summary} - peutils
|
|
|
|
Requires: python3dist(pefile)
|
2022-11-10 12:51:50 +00:00
|
|
|
Conflicts: python3-virt-firmware < 1.6
|
2022-11-10 10:51:56 +00:00
|
|
|
%description -n python3-virt-firmware-peutils
|
|
|
|
Some utilities to inspect efi (pe) binaries.
|
|
|
|
|
2022-09-27 09:36:00 +00:00
|
|
|
%package -n python3-virt-firmware-tests
|
|
|
|
Summary: %{summary} - test cases
|
2022-09-27 16:19:14 +00:00
|
|
|
Requires: python3-virt-firmware
|
2022-10-05 07:58:31 +00:00
|
|
|
Requires: python3dist(pytest)
|
2022-10-05 08:53:36 +00:00
|
|
|
Requires: edk2-ovmf
|
2022-09-27 09:36:00 +00:00
|
|
|
%description -n python3-virt-firmware-tests
|
|
|
|
test cases
|
|
|
|
|
2022-04-13 15:06:22 +00:00
|
|
|
%prep
|
2023-04-14 07:57:59 +00:00
|
|
|
%autosetup -n virt-firmware-%{pypi_version}
|
2022-04-13 15:06:22 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
2022-09-27 13:01:17 +00:00
|
|
|
# manpages
|
2022-09-27 16:19:14 +00:00
|
|
|
install -m 755 -d %{buildroot}%{_mandir}/man1
|
|
|
|
install -m 644 man/*.1 %{buildroot}%{_mandir}/man1
|
2022-09-27 09:36:00 +00:00
|
|
|
# tests
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
|
|
|
cp -ar tests %{buildroot}%{_datadir}/%{name}
|
2022-04-13 15:06:22 +00:00
|
|
|
|
|
|
|
%files -n python3-virt-firmware
|
|
|
|
%license LICENSE
|
2023-01-16 16:09:22 +00:00
|
|
|
%doc README.md experimental
|
2022-04-13 15:06:22 +00:00
|
|
|
%{_bindir}/host-efi-vars
|
|
|
|
%{_bindir}/virt-fw-dump
|
|
|
|
%{_bindir}/virt-fw-vars
|
2022-06-22 10:19:43 +00:00
|
|
|
%{_bindir}/virt-fw-sigdb
|
2022-09-27 09:19:40 +00:00
|
|
|
%{_bindir}/migrate-vars
|
2022-11-10 10:51:56 +00:00
|
|
|
%{_mandir}/man1/virt-*.1*
|
2022-04-13 15:06:22 +00:00
|
|
|
%{python3_sitelib}/virt/firmware
|
|
|
|
%{python3_sitelib}/virt_firmware-%{pypi_version}-py%{python3_version}.egg-info
|
|
|
|
|
2022-11-10 10:51:56 +00:00
|
|
|
%files -n python3-virt-firmware-peutils
|
|
|
|
%{python3_sitelib}/virt/peutils
|
|
|
|
%{_bindir}/pe-dumpinfo
|
|
|
|
%{_bindir}/pe-listsigs
|
|
|
|
%{_bindir}/pe-addsigs
|
|
|
|
|
2022-09-27 09:36:00 +00:00
|
|
|
%files -n python3-virt-firmware-tests
|
|
|
|
%{_datadir}/%{name}/tests
|
|
|
|
|
2022-04-13 15:06:22 +00:00
|
|
|
%changelog
|
2023-04-14 07:57:59 +00:00
|
|
|
* Fri Apr 14 2023 Gerd Hoffmann <kraxel@redhat.com> - 23.4-1
|
|
|
|
- update to version 23.4
|
|
|
|
|
2023-01-20 18:16:52 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2023-01-16 16:09:22 +00:00
|
|
|
* Mon Jan 16 2023 Gerd Hoffmann <kraxel@redhat.com> - 1.8-1
|
|
|
|
- update to version 1.8
|
|
|
|
|
2022-12-02 10:25:33 +00:00
|
|
|
* Fri Dec 02 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.7-1
|
|
|
|
- update to version 1.7
|
|
|
|
|
2022-11-10 12:51:50 +00:00
|
|
|
* Thu Nov 10 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.6-2
|
|
|
|
- add conflict declaration
|
|
|
|
|
2022-11-10 10:51:56 +00:00
|
|
|
* Thu Nov 10 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.6-1
|
|
|
|
- update to version 1.6
|
|
|
|
- split peutils to subpackage
|
|
|
|
|
2022-10-05 14:44:36 +00:00
|
|
|
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.5-1
|
|
|
|
- update to version 1.5
|
|
|
|
|
2022-10-05 09:20:30 +00:00
|
|
|
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-5
|
|
|
|
- turn on gating
|
|
|
|
|
2022-10-05 08:53:36 +00:00
|
|
|
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-4
|
|
|
|
- more test dependency tweaks
|
|
|
|
|
2022-10-05 07:58:31 +00:00
|
|
|
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-3
|
|
|
|
- tweak test dependencies
|
|
|
|
|
2022-10-05 06:27:24 +00:00
|
|
|
* Wed Oct 05 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-2
|
|
|
|
- add tests
|
|
|
|
|
2022-09-27 16:19:14 +00:00
|
|
|
* Tue Sep 27 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.4-1
|
|
|
|
- update to version 1.4
|
|
|
|
- add man-pages
|
|
|
|
- add tests sub-package
|
2022-09-27 09:19:40 +00:00
|
|
|
|
2022-07-22 23:18:53 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-18 09:35:46 +00:00
|
|
|
* Mon Jul 18 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.2-1
|
|
|
|
- update to version 1.2
|
|
|
|
|
2022-07-01 09:10:48 +00:00
|
|
|
* Fri Jul 01 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.1-1
|
|
|
|
- update to version 1.1
|
|
|
|
|
2022-06-22 10:19:43 +00:00
|
|
|
* Wed Jun 22 2022 Gerd Hoffmann <kraxel@redhat.com> - 1.0-1
|
|
|
|
- update to version 1.0
|
|
|
|
|
2022-06-13 13:32:57 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.98-2
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-05-24 12:01:10 +00:00
|
|
|
* Tue May 24 2022 Gerd Hoffmann <kraxel@redhat.com> - 0.98-1
|
|
|
|
- update to version 0.98
|
|
|
|
|
2022-04-13 15:06:22 +00:00
|
|
|
* Mon Apr 11 2022 Gerd Hoffmann <kraxel@redhat.com> - 0.95-1
|
|
|
|
- Initial package.
|