%global _basename appmenu-gtk-module %global debug_package %{nil} %global forgeurl https://github.com/guiodic/%{_basename}-wayland %global commit cbd49063c973676fff6698f1f0295a0e958b959c %global date 20260408 %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-wayland Requires: appmenu-gtk-module-wayland Provides: appmenu-gtk3 == %{version}-%{release} Provides: appmenu-gtk3%{?_isa} == %{version}-%{release} Conflicts: appmenu-gtk3-module %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 -Dm755 %{_vpath_builddir}/lib%{_basename}-wayland.so -t %{buildroot}%{_libdir}/gtk-3.0/modules/ install -Dm755 %{_basename}-wayland.sh -t %{buildroot}%{_sysconfdir}/profile.d/ #------------------------------------------------------------------------------- %changelog * Fri Mar 6 2026 Hazel Bunny - 0-1 - Initial package