commit 824d94579287415fd2aa59105fddae8eadd8f9ac8ce70437030d09851c596848 Author: Adrian Schröter Date: Wed Aug 28 11:04:57 2024 +0200 Sync from SUSE:SLFO:Main virt-firmware revision 995ebce294406f1ec5f76247dd5439dd diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/virt-firmware-24.4.tar.gz b/virt-firmware-24.4.tar.gz new file mode 100644 index 0000000..532f720 --- /dev/null +++ b/virt-firmware-24.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aea85a28339010e8fa6dc473dea649f9ae321b5a930bd4948eec4c8599679b05 +size 111964 diff --git a/virt-firmware.changes b/virt-firmware.changes new file mode 100644 index 0000000..fa01640 --- /dev/null +++ b/virt-firmware.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri May 31 12:44:25 UTC 2024 - Fabian Vogt + +- Initial commit diff --git a/virt-firmware.spec b/virt-firmware.spec new file mode 100644 index 0000000..72e6f7b --- /dev/null +++ b/virt-firmware.spec @@ -0,0 +1,74 @@ +# +# spec file for package virt-firmware +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define pythons python3 + +Name: virt-firmware +Version: 24.4 +Release: 0 +Summary: Tools for virtual machine firmware volumes +License: GPL-2.0-only +URL: https://gitlab.com/kraxel/virt-firmware +Source: https://files.pythonhosted.org/packages/source/v/virt-firmware/virt-firmware-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module cryptography} +BuildRequires: %{python_module pefile} +# /SECTION +BuildRequires: fdupes +Requires: python3-cryptography +Requires: python3-pefile +Requires: python3-setuptools +BuildArch: noarch +%python_subpackages + +%description +Tools for virtual machine firmware volumes. + +%prep +%autosetup -p1 + +%build +%pyproject_wheel + +%install +%pyproject_install + +%files +%doc README.md +%license LICENSE +%{_bindir}/host-efi-vars +%{_bindir}/virt-fw-vars +%{_bindir}/virt-fw-dump +%{_bindir}/virt-fw-sigdb +%{_bindir}/migrate-vars +%{_bindir}/kernel-bootcfg +%{_bindir}/uefi-boot-menu +%{_bindir}/pe-dumpinfo +%{_bindir}/pe-listsigs +%{_bindir}/pe-inspect +%{_bindir}/pe-addsigs +%dir %{python_sitelib}/virt/ +%{python_sitelib}/virt/firmware/ +%{python_sitelib}/virt/peutils/ +%{python_sitelib}/virt_firmware-%{version}.dist-info/ + +%changelog