File applet-window-buttons6.spec of Package applet-window-buttons6
#
# spec file for package applet-window-buttons
#
# Copyright (c) 2023 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 kf6_version 6.0
%define qt6_version 6.0
Name: applet-window-buttons6
Version: v0.14.0
Release: 0
Summary: Plasma 6 applet to show window buttons in panels
License: GPL-2.0-or-later
Group: System/GUI/KDE
URL: https://github.com/ChrTall/applet-window-buttons6
Source: %{name}-%{version}.tar.gz
Patch0: fix_cmake.patch
BuildRequires: kf6-extra-cmake-modules
BuildRequires: fdupes
BuildRequires: kf6-kcmutils-devel >= %{kf6_version}
BuildRequires: kf6-kconfig-devel >= %{kf6_version}
BuildRequires: kf6-kconfigwidgets-devel >= %{kf6_version}
BuildRequires: kf6-kdeclarative-devel >= %{kf6_version}
BuildRequires: kf6-kdoctools-devel >= %{kf6_version}
BuildRequires: kf6-kglobalaccel-devel >= %{kf6_version}
BuildRequires: kf6-ki18n-devel >= %{kf6_version}
BuildRequires: kf6-kservice-devel >= %{kf6_version}
BuildRequires: kf6-kwindowsystem-devel >= %{kf6_version}
BuildRequires: kf6-kxmlgui-devel >= %{kf6_version}
BuildRequires: kf6-ksvg-devel >= %{kf6_version}
BuildRequires: plasma6-workspace-devel >= 6.0
BuildRequires: cmake(KDecoration3)
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
BuildRequires: cmake(Qt6QuickWidgets) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
%description
This is a Plasma 6 applet that shows the current window appmenu in
one's panels. This plasmoid is coming from Latte land, but it can also
support Plasma panels.
%prep
%setup -q
%autopatch -p1
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%fdupes %{buildroot}
%files
%license LICENSE
%{_kf6_qmldir}/org/kde/appletdecoration
%dir %{_kf6_plasmadir}/plasmoids
%{_kf6_plasmadir}/plasmoids/org.kde.windowbuttons
# %{_kf6_appstreamdir}/org.kde.windowbuttons.appdata.xml
%changelog