File plasma6-applet-window-buttons.spec of Package plasma6-applet-window-buttons
#
# spec file for package plasma6-applet-window-buttons
#
# Copyright (c) 2024 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/
#
Name: plasma6-applet-window-buttons
Version: 0
Release: 0
Summary: Plasma 6 window buttons
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: GPL-2.0-or-later
URL: https://github.com/moodyhunter/applet-window-buttons6.git
Source: _service
Patch1: fix.patch
BuildRequires: kf6-extra-cmake-modules
BuildRequires: cmake(KF6Package)
BuildRequires: cmake(Plasma)
BuildRequires: cmake(KWinDBusInterface)
BuildRequires: fdupes
BuildRequires: cmake(KDecoration3)
BuildRequires: cmake(KF6ConfigWidgets)
BuildRequires: cmake(KF6CoreAddons)
BuildRequires: cmake(KF6Declarative)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KF6KCMUtils)
BuildRequires: cmake(KF6Package)
BuildRequires: cmake(KF6Service)
BuildRequires: cmake(KF6Svg)
BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6Qml)
BuildRequires: cmake(Qt6Quick)
%description
%prep
%setup -q -n %_sourcedir/%name-%version -T -D
%__mkdir -p %_builddir/%_sourcedir
%__ln -rs %_sourcedir/%name-%version %_builddir/%_sourcedir
%patch 1
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%fdupes %{buildroot}
%files
%license LICENSE
%doc README.md
%{_kf6_plasmadir}/plasmoids/org.kde.windowbuttons
## {_kf6_appstreamdir}/org.kde.windowbuttons.appdata.xml
%_kf6_qmldir/org/kde/appletdecoration/
%changelog