Name: extest Version: 0.0.git.27.cd0f01df Release: 1%{?dist} Summary: X11 XTEST reimplementation primarily for Steam Controller on Wayland License: MIT URL: https://github.com/Supreeeme/extest VCS: git+https://github.com/KyleGospo/extest.git#cd0f01df91f061086b2ddd8b252955037a4fe267: Source: extest-cd0f01df.tar.gz BuildRequires: rust-packaging >= 21 BuildRequires: systemd-rpm-macros %description Extest is a drop in replacement for the X11 XTEST extension. It creates a virtual device with the uinput kernel module. It's been primarily developed for allowing the desktop functionality on the Steam Controller to work while Steam is open on Wayland. %prep %setup -T -b 0 -q -n extest %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install mkdir -p %{buildroot}%{_libdir}/extest/ install -D -p -m0755 target/release/libextest.so %{buildroot}%{_libdir}/extest/libextest.so %files %license LICENSE %doc README.md %{_libdir}/extest/libextest.so %changelog