Name: hand-in Version: 1.0.0 Release: 1%{?dist} Summary: First Wayland gesture-driven system automation License: MIT URL: https://github.com/CyberHuman-bot/hand-in Source0: %{url}/releases/download/v%{version}/hand-cli Source1: https://storage.googleapis.com/mediapipe-models/hand_landmarker/hand_landmarker/float16/1/hand_landmarker.task Source2: hand-in.service Requires: grim libnotify opencv-devel %description Autonomous gesture service for Wayland. %prep # No source code to extract %install mkdir -p %{buildroot}%{_bindir} # Changed from /user/ to /system/ mkdir -p %{buildroot}%{_unitdir} # Copying files cp %{SOURCE0} %{buildroot}%{_bindir}/hand-in cp %{SOURCE1} %{buildroot}%{_bindir}/hand_landmarker.task # Changed to system-wide destination cp %{_sourcedir}/hand-in.service %{buildroot}%{_unitdir}/hand-in.service chmod +x %{buildroot}%{_bindir}/hand-in %files %{_bindir}/hand-in %{_bindir}/hand_landmarker.task # Changed path for 'sudo' access %{_unitdir}/hand-in.service %changelog * Sat Apr 11 2026 Abdulah - 1.0.0-1 - Migrated to system unit for sudo/systemctl support