File xfce4-xapp-status-plugin.spec of Package xfce4-xapp-status-plugin

#
# spec file for package xfce4-xapp-status-plugin
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


%define panel_version 4.12.0
%define plugin xapp-status
Name:           xfce4-%{plugin}-plugin
Version:        0.2.4
Release:        0
Summary:        XappStatus panel applet for Xfce4
License:        LGPL-3.0-or-later
Group:          System/GUI/XFCE
URL:            https://github.com/linuxmint/xfce4-xapp-status-plugin
Source:         https://github.com/linuxmint/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  gtk-doc
BuildRequires:  intltool
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.22
BuildRequires:  pkgconfig(json-glib-1.0)
BuildRequires:  pkgconfig(libxfce4panel-2.0) >= %{panel_version}
BuildRequires:  pkgconfig(libxfce4ui-2) >= %{panel_version}
BuildRequires:  pkgconfig(libxfce4util-1.0)
BuildRequires:  pkgconfig(xapp) >= 1.6.0
Recommends:     %{name}-lang = %{version}

%description
xapp status icon plugin for the Xfce4 panel

%lang_package

%prep
%autosetup

cp ./debian/changelog changelog
cp ./debian/copyright copyright

%build
%meson
%meson_build

%install
%meson_install

%find_lang %{name} %{?no_lang_C}

%fdupes %{buildroot}%{_datadir}

%files
%doc changelog
%license copyright
%{_libdir}/xfce4/panel/plugins/
%{_datadir}/xfce4/panel/plugins/

%files lang -f %{name}.lang

%changelog

openSUSE Build Service is sponsored by