%global forgeurl https://github.com/uginos/libinput-scroll-speed %global version %(date +%Y%m%d) %global commit ee8b8d09c5a861c75c4761e5c23f5314f2b36a98 %global _forgeversionsuffix %{scm}%(printf %.7s %{commit}) %global source_date_epoch_from_changelog 0 %forgemeta Name: libinput-scroll-speed Version: %{forgeversion} Release: %{autorelease} Summary: Libinput scroll speed plugin License: MIT URL: %{forgeurl} Source0: %{forgesource} %description A Lua plugin for libinput to adjust scroll speed on Wayland. It allows to customize scroll wheel acceleration and deceleration. %prep %forgeautosetup %install %__install -p -m 644 -D -t %{buildroot}%{_licensedir}/%{name} LICENSE %__install -p -m 644 -D -t %{buildroot}%{_pkgdocdir} README.md scroll_speed.lua %files %license %{_licensedir}/* %doc %{_pkgdocdir}