Name: azurefin-firmware-tools Version: 1 Release: 100.0.0.2.0%{?dist} Summary: Local extraction helper for Surface Laptop 7 firmware License: MIT AND ISC URL: https://github.com/Xelef2000/azurefin Source0: azurefin-extract-firmware Source1: ath12k-bdencoder Source2: azurefin-board-alias Source3: test-firmware-cli.py Source4: firmware-policy.json Source5: firmware-policy.py Source6: test-firmware-policy.py BuildArch: noarch BuildRequires: python3 Requires: bash coreutils findutils diffutils msitools python3 zstd xz curl %description Extracts a checksum-pinned Microsoft Surface update MSI into a writable local image tree, from a supplied file or an explicit HTTPS download request. Also configures a per-device Bluetooth public address for the Romulus service. Contains no Microsoft firmware; downloads are never performed by RPM installation. Firmware redistribution permission must be reviewed separately. Includes the ISC-licensed Qualcomm bdencoder pinned to 6df4dae3e2f5e4c2903f3cafd40996fc1b3639ce, and the tested WCN7850 alias. %prep %build %install install -Dm755 %{SOURCE0} %{buildroot}%{_bindir}/azurefin-extract-firmware install -Dm755 %{SOURCE1} %{buildroot}%{_libexecdir}/azurefin/ath12k-bdencoder install -Dm755 %{SOURCE2} %{buildroot}%{_libexecdir}/azurefin/azurefin-board-alias install -Dm644 %{SOURCE4} %{buildroot}%{_datadir}/azurefin/firmware-policy.json install -Dm755 %{SOURCE5} %{buildroot}%{_libexecdir}/azurefin/firmware-policy.py %check test ! -d %{buildroot}%{_prefix}/lib/firmware bash -n %{SOURCE0} python3 %{SOURCE3} %{SOURCE0} python3 %{SOURCE6} %files %{_bindir}/azurefin-extract-firmware %{_libexecdir}/azurefin %{_datadir}/azurefin/firmware-policy.json %changelog * Fri Sep 18 2026 Felix - 1-1 - Add local-only firmware extraction and WCN7850 alias tools