%global debug_package %{nil} URL: https://github.com/MCC45TR/uke-linux-hardware-support Source0: uke-orangefox-recovery-12.0~preview3.20261010.tar.xz ExclusiveArch: aarch64 BuildRequires: bash tar gzip coreutils jq Name: uke-orangefox-recovery Version: 12.0~preview3.20261010 Release: 6.fc46 License: GPL-2.0-only AND GPL-3.0-or-later AND Apache-2.0 AND MIT AND BSD-2-Clause Summary: OrangeFox recovery preview images for Xiaomi Pad 7 and POCO Pad X1 Provides: uke-recovery-image %description -n uke-orangefox-recovery DNF-managed, checksum-verified delivery of the existing OrangeFox v003 preview. Installs images and records as data without flashing, unlocking, running an installer or changing boot selection. The IMG requires the installed Android boot stack; it is not a temporary fastboot boot image. ZIP installation is unavailable. Firmware compatibility and physical rollback require separate tests. The source snapshots and exact upstream revisions are listed in SOURCE-OFFER. %prep %setup -q ( mkdir -p "%{_builddir}/uke-orangefox-recovery-12.0~preview3.20261010/work/uke-orangefox-recovery" cd '%{_builddir}/uke-orangefox-recovery-12.0~preview3.20261010/work/uke-orangefox-recovery' rm -rf 'uke-orangefox-recovery-12.0~preview3.20261010' /usr/bin/rpmuncompress -x '%{_builddir}/uke-orangefox-recovery-12.0~preview3.20261010/inputs/uke-orangefox-recovery/uke-orangefox-recovery-12.0~preview3.20261010.tar.gz' STATUS=$? if [ $STATUS -ne 0 ]; then exit $STATUS fi cd 'uke-orangefox-recovery-12.0~preview3.20261010' /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . sha256sum -c PACKAGE-SHA256SUMS jq -e '.device == "uke" and .validation.no_python_payload == true and .validation.payload_privacy == true and .validation.physical_device == false' ARTIFACT-MANIFEST.json ) %build ( cd "%{_builddir}/uke-orangefox-recovery-12.0~preview3.20261010/work/uke-orangefox-recovery/uke-orangefox-recovery-12.0~preview3.20261010" # Images were built at the exact published source checkpoint; this package # verifies and delivers that release. It does not claim a fresh recovery build. ) %install ( cd "%{_builddir}/uke-orangefox-recovery-12.0~preview3.20261010/work/uke-orangefox-recovery/uke-orangefox-recovery-12.0~preview3.20261010" destination=%{buildroot}/usr/share/senemos/recovery/uke/12.0~preview3.20261010 mkdir -p "$destination" install -m644 *.img *.zip ARTIFACT-MANIFEST.json release-lock.json \ PACKAGE-SHA256SUMS ORANGEFOX-SOURCE-PINS.xml STOCK-KERNEL-SOURCE.json "$destination/" # Source/license records describe the complete artifact; no tablet script runs. install -m644 DELIVERY.md SOURCE-OFFER.md INSTALL.md LICENSE "$destination/" cp -r licenses "$destination/" ) %check ( cd "%{_builddir}/uke-orangefox-recovery-12.0~preview3.20261010/work/uke-orangefox-recovery/uke-orangefox-recovery-12.0~preview3.20261010" for image in *.img; do test "$(head -c8 "$image")" = 'ANDROID!'; done sha256sum -c PACKAGE-SHA256SUMS ) %files -n uke-orangefox-recovery %license work/uke-orangefox-recovery/uke-orangefox-recovery-12.0~preview3.20261010/LICENSE %license work/uke-orangefox-recovery/uke-orangefox-recovery-12.0~preview3.20261010/licenses/*.txt %doc work/uke-orangefox-recovery/uke-orangefox-recovery-12.0~preview3.20261010/DELIVERY.md work/uke-orangefox-recovery/uke-orangefox-recovery-12.0~preview3.20261010/SOURCE-OFFER.md /usr/share/senemos/recovery/uke/12.0~preview3.20261010/ %changelog * Thu Oct 29 2026 Senemos Maintainers <75160848+MCC45TR@users.noreply.github.com> - 12.0~preview3.20261010-6.fc46 - Build this component independently from its reviewed source recipe.