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 A privacy-first autonomous gesture service for Wayland. %prep # No source code to extract %install mkdir -p %{buildroot}%{_bindir} # Standard system-wide service directory mkdir -p %{buildroot}/usr/lib/systemd/system/ # Copying files cp %{SOURCE0} %{buildroot}%{_bindir}/hand-in cp %{SOURCE1} %{buildroot}%{_bindir}/hand_landmarker.task cp %{_sourcedir}/hand-in.service %{buildroot}/usr/lib/systemd/system/hand-in.service chmod +x %{buildroot}%{_bindir}/hand-in %files %{_bindir}/hand-in %{_bindir}/hand_landmarker.task /usr/lib/systemd/system/hand-in.service %changelog * Sat Apr 11 2026 Abdulah - 1.0.0-1 - Fixed systemd unit path and removed user hardcoding