%global _basename appmenu-gtk-module %global debug_package %{nil} %global forgeurl https://github.com/guiodic/%{_basename}-wayland %global commit 3fabf4b077724f7d655f715c9c2cd107b6f31364 %global date 20260209 %forgemeta Name: appmenu-gtk3-module-wayland-standalone Version: 0 Release: 1%{?dist} License: LGPL-3.0-or-later Summary: GTK global menu on Plasma Wayland URL: %{forgeurl} Source0: %{forgesource} Source1: %{_basename}-wayland.sh BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: meson BuildRequires: ninja-build BuildRequires: pkgconfig(dbusmenu-glib-0.4) BuildRequires: pkgconfig(dbusmenu-gtk3-0.4) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(wayland-client) Requires: appmenu-gtk3-parser Requires: appmenu-gtk-module-common %description %summary %files %license LICENSE %doc AUTHORS README.md TODO %{_sysconfdir}/profile.d/%{_basename}-wayland.sh %{_libdir}/gtk-3.0/modules/lib%{_basename}-wayland.so #------------------------------------------------------------------------------- %prep %forgeautosetup %build %cmake %cmake_build %install install -Dm644 %{_vpath_builddir}/lib%{_basename}-wayland.so -t %{buildroot}%{_libdir}/gtk-3.0/modules/ install -Dm755 %{SOURCE1} -t %{buildroot}%{_sysconfdir}/profile.d/ #------------------------------------------------------------------------------- %changelog * Fri Mar 6 2026 Hazel Bunny - 0-1 - Initial package