Name: azurefin-firmware-tools Version: 1 Release: %{?azurefin_release}%{!?azurefin_release:2}%{?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 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 %check bash -n %{SOURCE0} python3 %{SOURCE3} %{SOURCE0} %files %{_bindir}/azurefin-extract-firmware %{_libexecdir}/azurefin %changelog * Fri Sep 18 2026 Felix - 1-1 - Add local-only firmware extraction and WCN7850 alias tools