Name: touchegg Version: 2.0.16 Release: 1%{?dist} Summary: Multi-touch gesture recognizer License: GPLv3+ URL: https://github.com/JoseExposito/touchegg Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libinput) BuildRequires: pkgconfig(pugixml) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: systemd-rpm-macros BuildRequires: desktop-file-utils %if %{fedora} >= 37 BuildRequires: systemd %endif %description Touchégg is an app that runs in the background and transform the gestures you make on your touchpad or touchscreen into visible actions in your desktop. For example, you can swipe up with 3 fingers to maximize a window or swipe left with 4 finger to switch to the next desktop. Many more actions and gestures are available and everything is easily configurable. %prep %autosetup %build %cmake %cmake_build %install %cmake_install %check desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun # We cannot restart the service on update, because it breaks clients. # https://github.com/JoseExposito/touchegg/issues/453 %systemd_postun %{name}.service %files %license COPYING COPYRIGHT %doc README.md CHANGELOG.md %config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}.desktop %{_bindir}/%{name} %{_datadir}/%{name}/ %{_unitdir}/%{name}.service %changelog * Thu Jul 13 2023 Tomas Chang - 2.0.16-1 - Update to 2.0.16 * Sun Nov 20 2022 Tomas Chang - 2.0.15-1 - Update to 2.0.15 * Sat Jul 23 2022 Fedora Release Engineering - 2.0.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Apr 02 2022 Maxwell G - 2.0.14-1 - Update to 2.0.14. * Sat Jan 22 2022 Fedora Release Engineering - 2.0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jan 12 2022 Fabio Valentini - 2.0.13-1 - Update to version 2.0.13; Fixes RHBZ#2038561 * Sun Dec 26 2021 Maxwell G - 2.0.12-1 - Perform initial import. Close rhbz#2035944.