%define pkgver %(echo %version | tr _ -) Name: shim-signed Version: 1.59+15.8_0ubuntu2 Release: 1mamba Summary: Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments (prebuilt x64 and AA64 binaries from Ubuntu) Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://wiki.ubuntu.com/UEFI/SecureBoot/ShimUpdateProcess Source: http://archive.ubuntu.com/ubuntu/pool/main/s/shim-signed/shim-signed_%{pkgver}_amd64.deb Source1: http://ports.ubuntu.com/pool/main/s/shim-signed/shim-signed_%{pkgver}_arm64.deb License: BSD ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END %description Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments (prebuilt x64 and AA64 binaries from Ubuntu). %prep %setup -q -c -T %ifarch x86_64 %{ix86} bsdtar -xOf %{SOURCE0} data.tar.xz | bsdtar -x %endif %ifarch aarch64 bsdtar -xOf %{SOURCE1} data.tar.xz | bsdtar -x %endif %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %ifarch x86_64 %{ix86} install -D -m0644 usr/lib/shim/shimx64.efi.signed.latest %{buildroot}%{_datadir}/%{name}/shimx64.efi install -D -m0644 usr/lib/shim/{mm,fb}x64.efi %{buildroot}%{_datadir}/%{name}/ %endif %ifarch aarch64 install -D -m0644 usr/lib/shim/shimaa64.efi.signed.latest %{buildroot}%{_datadir}/%{name}/shimaa64.efi install -D -m0644 usr/lib/shim/{mm,fb}aa64.efi %{buildroot}%{_datadir}/%{name}/ %endif %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_datadir}/shim-signed/fb*64.efi %{_datadir}/shim-signed/mm*64.efi %{_datadir}/shim-signed/shim*64.efi %doc usr/share/doc/shim-signed/copyright %changelog * Sat Oct 26 2024 Silvan Calarco 1.59+15.8_0ubuntu2-1mamba - package created using the webbuild interface