%define _debugsource_template %{nil} %define debug_package %{nil} Name: wdotool Version: 0.5.3 Release: 1%{?dist} Summary: xdotool-compatible input automation for Wayland License: MIT OR Apache-2.0 URL: https://github.com/cushycush/wdotool Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cargo BuildRequires: rust >= 1.82 BuildRequires: gcc BuildRequires: pkgconfig(xkbcommon) %description wdotool is an xdotool-compatible CLI for input automation on Wayland. It uses the protocols Wayland provides for this: libei via the XDG RemoteDesktop portal, the wlr virtual-keyboard and virtual-pointer protocols, KWin scripting on KDE, and a companion Shell extension on GNOME. It falls back to /dev/uinput only when nothing better is available. %prep %autosetup -n %{name}-%{version} %build export CARGO_HOME=$PWD/.cargo-home cargo build --release --locked -p wdotool %install install -Dpm 0755 target/release/wdotool %{buildroot}%{_bindir}/wdotool %check %{buildroot}%{_bindir}/wdotool --version %files %license LICENSE-MIT LICENSE-APACHE %doc README.md CHANGELOG.md %{_bindir}/wdotool %changelog * Thu Sep 17 2026 sachesi - 0.5.3-1 - Initial package for Copr.