Name: uke-control-rust-tui-check Version: 2.20.0 Release: 4%{?dist} Summary: Uke Control Rust terminal model source check License: MIT BuildArch: noarch Source0: ukectl-tui-rust.tar.xz Source1: uke-control-legacy-tui-inputs.tar.xz BuildRequires: cargo-rpm-macros gcc-c++ binutils jq BuildRequires: gcc ncurses-base pkgconfig(ncursesw) BuildRequires: e2fsprogs util-linux pipewire-libs BuildRequires: crate(libc/default) crate(serde/default) crate(serde_json/default) crate(serde_json/preserve_order) BuildRequires: pkgconfig(ext2fs) pkgconfig(mount) pkgconfig(libselinux) pkgconfig(libsystemd) pkgconfig(libdrm) BuildRequires: pkgconfig(libdisplay-info) >= 0.3.0 BuildRequires: pkgconfig(libspa-0.2) pkgconfig(jsoncpp) %description Verify the Rust terminal sources against the existing Uke Control interface. %prep %setup -q -n ukectl -a 1 (cd legacy && sha256sum --check --strict SHA256SUMS) %cargo_prep %build set -o pipefail %set_build_flags test "$(uname -m)" = aarch64 %{__cc} -std=c11 -Wall -Wextra -Werror -fsyntax-only tests/terminal-abi.c %{__cxx} $CXXFLAGS -std=c++20 -Wall -Wextra -Werror -Ilegacy tests/legacy-tui-reference.cpp legacy/client.cpp legacy/client-catalog.cpp $(pkg-config --cflags --libs jsoncpp) $LDFLAGS -o legacy-tui readelf -h legacy-tui | grep -F AArch64 ./legacy-tui > legacy-menus.json jq -e 'length == 25 and ([.[].items[] | select(.action)] | length == 134)' legacy-menus.json export UKE_TUI_LEGACY_REFERENCE="$PWD/legacy-menus.json" cargo test --offline --target-dir target -- --nocapture | tee checks.txt grep -F "test wide_key_mouse_resize_and_handoff_preserve_termios ... ok" checks.txt grep -F "test termination_restores_idle_terminal ... ok" checks.txt grep -F 'PASS: all 25 bilingual menus and 134 action placements match the C++ frontend' checks.txt > result.txt %install install -Dm644 result.txt %{buildroot}%{_datadir}/%{name}/result.txt %check grep -Fx 'PASS: all 25 bilingual menus and 134 action placements match the C++ frontend' %{buildroot}%{_datadir}/%{name}/result.txt %files %{_datadir}/%{name}/result.txt %changelog * Sun Nov 29 2026 Uke Linux - 2.20.0-4 - Compare the Rust terminal menu and action placements with the C++ frontend. - Exercise read cancellation, receipt handling and review admission. - Check foreground and background metadata for all reviewed actions. - Verify the ncurses ABI and exercise keyboard, touch and terminal mode in a PTY.