File xfce4-applemenu-plugin.spec of Package xfce4-applemenu-plugin

#
# spec file for package xfce4-applemenu-plugin
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define panel_version 4.16
%define plugin applemenu
Name:           xfce4-applemenu-plugin
Version:        @SERVICE
Release:        0
Summary:        A MacOS like apple menu plugin for XFCE4 Panel
License:        GPL-2.0-or-later
Group:          System/GUI/XFCE
URL:            https://github.com/Axis0S/xfce4-applemenu-plugin
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  gcc-c++
BuildRequires:  meson >= 0.54.0
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(accountsservice) >= 0.6.45
BuildRequires:  pkgconfig(exo-2) >= 4.16
BuildRequires:  pkgconfig(garcon-1) >= 0.6.4
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.22
BuildRequires:  pkgconfig(gtk-layer-shell-0) >= 0.7
BuildRequires:  pkgconfig(libxfce4panel-2.0) >= %{panel_version}
BuildRequires:  pkgconfig(libxfce4ui-2) >= 4.16
BuildRequires:  pkgconfig(libxfce4util-1.0) >= 4.16
BuildRequires:  pkgconfig(libxfconf-0) >= 4.16
BuildRequires:  pkgconfig(dbus-glib-1)
# BuildRequires:  xfce4-dev-tools
Recommends:     %{name}-lang

%description
A panel plugin for XFCE4 that mimics the macOS Apple menu, 
providing a familiar and intuitive system menu experience 
for XFCE desktop users.

%lang_package

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install

%find_lang xfce4-applemenu-plugin %{?no_lang_C}

%files

%{_libdir}/xfce4/panel/plugins/libapplemenu.so
%{_datadir}/icons/hicolor/*/apps/apple-logo.svg
%{_datadir}/locale/en/LC_MESSAGES/xfce4-applemenu-plugin.mo
%{_datadir}/xfce4/panel/plugins/applemenu.desktop

%changelog
openSUSE Build Service is sponsored by