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

#
# spec file for package xfce4-windowck-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 xfce_version 4.16.0
Name:           xfce4-windowck-plugin
Version:        0.6.1
Release:        0
Summary:        Panel plugin that puts window buttons on the panel
License:        GPL-3.0-or-later
URL:            https://gitlab.xfce.org/panel-plugins/xfce4-windowck-plugin
Source0:        https://archive.xfce.org/src/apps/xfce4-windowck-plugin/0.6/%{name}-%{version}.tar.xz
BuildRequires:  meson >= 0.54.0
BuildRequires:  pkgconfig(glib-2.0) >= 2.64.0
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires:  pkgconfig(libxfce4panel-2.0) >= %{xfce_version}
BuildRequires:  pkgconfig(libxfce4ui-2) >= %{xfce_version}
BuildRequires:  pkgconfig(libxfce4util-1.0) >= %{xfce_version}
BuildRequires:  pkgconfig(libwnck-3.0) >= 3.22
BuildRequires:  python3
Requires:       python3

%description
Panel plugin which allows to put the maximized window title and windows
buttons on the panel

%lang_package

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install

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

%files
%license COPYING
%doc AUTHORS NEWS README.md
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/icons/hicolor/*/*/*.png
%dir %{_datadir}/themes/Windowck
%dir %{_datadir}/themes/Windowck-dark
%dir %{_datadir}/themes/Windowck/{xfwm4,unity}/
%dir %{_datadir}/themes/Windowck-dark/{xfwm4,unity}/
%{_datadir}/themes/Windowck/{xfwm4,unity}/{*.png,*.xpm,themerc}
%{_datadir}/themes/Windowck-dark/{xfwm4,unity}/{*.png,*.xpm,themerc}
%{_datadir}/xfce4/panel/plugins/*.desktop

%files lang -f xfce4-windowck-plugin.lang

%changelog
openSUSE Build Service is sponsored by