%global debug_package %{nil} URL: https://github.com/MCC45TR/uke-linux-hardware-support Source0: uke-firmware-3.0.304.0.tar.xz ExclusiveArch: aarch64 %global _build_id_links none %global _binaries_in_noarch_packages_terminate_build 0 Obsoletes: uke-fastfetch-config <= 1.0.1-4.fc46 Name: uke-firmware Version: 3.0.304.0 Release: 14.fc46 License: LicenseRef-Proprietary BuildArch: noarch Summary: Consolidated Xiaomi Pad 7 and POCO Pad X1 firmware AutoReqProv: no Provides: /usr/lib/firmware/qcom/uke/sensors/sns_tppe.so Provides: /usr/share/uke-sensors/odm/json.lst Provides: /usr/share/uke-sensors/sns_reg.conf Provides: xiaomi-uke-firmware = 3.0.304.0-1.local.fc46 Provides: uke-local-gpu-firmware = 3.0.304.0-1.local.fc46 Provides: uke-local-sensor-data = 3.0.304.0-2.local.fc46 Provides: uke-local-bluetooth-firmware = 3.0.304.0-2.local.fc46 Provides: uke-owner-adsp-firmware = 3.0.304.0-1.owner Provides: uke-owner-adsp-firmware = 3.0.304.0-1.owner.fc46 Provides: uke-owner-wpss-firmware = 3.0.304.0-1.owner Provides: uke-owner-wpss-firmware = 3.0.304.0-1.owner.fc46 Provides: uke-owner-wlan-board = 3.0.304.0-1.owner Provides: uke-owner-wlan-board = 3.0.304.0-1.owner.fc46 Provides: uke-owner-wlan-regdb = 3.0.304.0-1.owner Provides: uke-owner-wlan-regdb = 3.0.304.0-1.owner.fc46 Obsoletes: xiaomi-uke-firmware <= 3.0.304.0-1.local.fc46 Obsoletes: uke-local-gpu-firmware <= 3.0.304.0-1.local.fc46 Obsoletes: uke-local-sensor-data <= 3.0.304.0-2.local.fc46 Obsoletes: uke-local-bluetooth-firmware <= 3.0.304.0-2.local.fc46 Obsoletes: uke-owner-adsp-firmware <= 3.0.304.0-1.owner.fc46 Obsoletes: uke-owner-wpss-firmware <= 3.0.304.0-1.owner.fc46 Obsoletes: uke-owner-wlan-board <= 3.0.304.0-1.owner.fc46 Obsoletes: uke-owner-wlan-regdb <= 3.0.304.0-1.owner.fc46 %description -n uke-firmware One data package for pinned Uke SSC defaults, DSP helper, Bluetooth candidates, ADSP, WPSS, WLAN board/regulatory data, GPU firmware and OEM touch assets. No application, service, factory address, persist or private calibration is included. Existing touch runtime and its qualified device-local reference remain separate. File-level redistribution review remains incomplete. %prep %setup -q ( mkdir -p "%{_builddir}/uke-firmware-3.0.304.0/work/uke-firmware" cd '%{_builddir}/uke-firmware-3.0.304.0/work/uke-firmware' rm -rf 'uke-firmware-3.0.304.0' /usr/bin/mkdir -p 'uke-firmware-3.0.304.0' cd 'uke-firmware-3.0.304.0' /usr/bin/rpmuncompress -x '%{_builddir}/uke-firmware-3.0.304.0/inputs/uke-firmware/uke-firmware-3.0.304.0.tar.xz' STATUS=$? if [ $STATUS -ne 0 ]; then exit $STATUS fi /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ) %build ( cd "%{_builddir}/uke-firmware-3.0.304.0/work/uke-firmware/uke-firmware-3.0.304.0" ) %install ( cd "%{_builddir}/uke-firmware-3.0.304.0/work/uke-firmware/uke-firmware-3.0.304.0" install -d %{buildroot}/usr cp -a usr/. %{buildroot}/usr/ install -d %{buildroot}/usr/lib/firmware/qcom/uke/touch cp -a touch-inputs/. %{buildroot}/usr/lib/firmware/qcom/uke/touch/ find %{buildroot}/usr/lib/firmware/qcom/uke/touch -type d -exec chmod 755 {} + find %{buildroot}/usr/lib/firmware/qcom/uke/touch -type f -exec chmod 644 {} + ) mv "%{buildroot}/usr/lib/firmware" "%{_builddir}/uke-firmware-3.0.304.0/firmware-unprocessed" %check mv "%{_builddir}/uke-firmware-3.0.304.0/firmware-unprocessed" "%{buildroot}/usr/lib/firmware" ( cd "%{_builddir}/uke-firmware-3.0.304.0/work/uke-firmware/uke-firmware-3.0.304.0" sha256sum -c --strict MANIFEST.sha256 find usr -type f -print0 | while IFS= read -r -d '' file; do cmp -- "$file" "%{buildroot}/$file" || exit; done diff -r touch-inputs %{buildroot}/usr/lib/firmware/qcom/uke/touch test "$(find %{buildroot}/usr/lib/firmware %{buildroot}/usr/share/uke-sensors -type f | wc -l)" = 217 test ! -e %{buildroot}/var/lib/uke-touch ) %files -n uke-firmware %license work/uke-firmware/uke-firmware-3.0.304.0/vendor-NOTICE.xml.gz work/uke-firmware/uke-firmware-3.0.304.0/odm-NOTICE.xml.gz %doc work/uke-firmware/uke-firmware-3.0.304.0/PUBLICATION.txt work/uke-firmware/uke-firmware-3.0.304.0/local-firmware-candidates.json work/uke-firmware/uke-firmware-3.0.304.0/oem-runtime-source.json /usr/share/uke-sensors /usr/lib/firmware/adsp.* /usr/lib/firmware/adsp_dtb.* /usr/lib/firmware/ath11k/WCN6750/hw1.0/board.bin /usr/lib/firmware/ath11k/WCN6750/hw1.0/regdb.bin /usr/lib/firmware/qca6750/wpss.* /usr/lib/firmware/qcom/gen71100_* /usr/lib/firmware/qcom/uke/sensors /usr/lib/firmware/qcom/uke/touch /usr/lib/firmware/qca %changelog * Thu Oct 29 2026 Senemos Maintainers <75160848+MCC45TR@users.noreply.github.com> - 3.0.304.0-14.fc46 - Build this component independently from its reviewed source recipe.