%global debug_package %{nil} Name: touche Version: 2.0.15 Release: 1.1.infinality%{?dist} Summary: Desktop application for configuring Touchégg gestures License: GPL-3.0-or-later URL: https://github.com/JoseExposito/touche Source0: https://github.com/JoseExposito/touche/archive/refs/tags/%{version}.tar.gz Source1: %{name}-node_modules-%{version}.tar.zst BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: glib2-devel BuildRequires: gjs BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel BuildRequires: libX11-devel BuildRequires: meson BuildRequires: nodejs BuildRequires: npm BuildRequires: appstream BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme Requires: gjs Requires: gtk3 Requires: hicolor-icon-theme Requires: touchegg >= 2.0.18 %description Touché is a GTK graphical application for configuring multi-touch gestures using Touchégg. %prep %autosetup -n touche-%{version} # The upstream Meson build invokes Webpack through Node.js. Network # access is deliberately not used during an RPM build; the complete, # lockfile-generated node_modules tree is supplied as Source1. tar --zstd -xf %{SOURCE1} %build %meson \ -Dflatpak=false \ -Dsystem-config-file-path=%{_datadir}/touchegg/touchegg.conf %meson_build %install %meson_install %find_lang com.github.joseexposito.touche %check %meson_test %files -f com.github.joseexposito.touche.lang %license COPYING %doc README.md %{_bindir}/com.github.joseexposito.touche %{_libdir}/libtouche.so.0* %{_libdir}/girepository-1.0/Touche-*.typelib %{_datadir}/appdata/com.github.joseexposito.touche.appdata.xml %{_datadir}/applications/com.github.joseexposito.touche.desktop %{_datadir}/com.github.joseexposito.touche/ %{_datadir}/glib-2.0/schemas/com.github.joseexposito.touche.gschema.xml %{_datadir}/gir-1.0/Touche-*.gir %{_includedir}/touche.h %{_libdir}/libtouche.so %{_datadir}/icons/hicolor/*/apps/com.github.joseexposito.touche.* %changelog * Sat Oct 03 2026 Infinality - 2.0.15-1 - Update to Touché 2.0.15 - Modernize RPM packaging - Build the JavaScript bundle from a lockfile-generated offline dependency tree