%global _firmwarepath /usr/lib/firmware Name: xiaomi-sheng-firmware Version: 1.0 Release: 1 Summary: Firmware package for xiaomi-sheng URL: https://github.com/map220v/sheng-firmware Source1: %{url}/archive/refs/heads/master.zip License: MIT Requires: qcom-firmware BuildRequires: unzip %description Firmware for various components in Xiaomi Pad 6S Pro including touchscreen, audio, SoC. %prep unzip %{SOURCE1} %install mkdir -p %{buildroot}%{_firmwarepath} cp -r sheng-firmware-master/* %{buildroot}%{_firmwarepath} %files %{_firmwarepath}/ath12k/ %{_firmwarepath}/nanosic/ %{_firmwarepath}/novatek/ %{_firmwarepath}/qca/ %{_firmwarepath}/qcom/ %changelog * Aug 12 2026 Tyler Durden - 1.0-1 - initial package