Blame SPECS/python-virt-firmware.spec

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