File applet-window-buttons.spec of Package applet-window-buttons
#
# spec file for package applet-window-buttons
#
# Copyright (c) 2022 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 kf5_version 5.81
%define qt5_version 5.15
%define real_name applet-window-buttons
%global commit 90e37501871a7797e2befc4c524e56f320170780
%global __requires_exclude qt5qmlimport\\((org.kde.taskmanager.0)
Name: applet-window-buttons
Version: 0.11.1
Release: 0
Summary: Plasma 5 applet to show window buttons in panels
License: GPL-2.0-or-later
Group: System/GUI/KDE
URL: https://github.com/psifidotos/%{name}
Source: https://github.com/psifidotos/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
Patch0: applet.patch
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: cmake(KF5ConfigWidgets) >= %{kf5_version}
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
BuildRequires: cmake(KF5Declarative) >= %{kf5_version}
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
BuildRequires: cmake(KF5Plasma) >= %{kf5_version}
BuildRequires: cmake(KF5PlasmaQuick) >= %{kf5_version}
BuildRequires: cmake(KDecoration2) >= 5.27
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
BuildRequires: cmake(Qt5Quick) >= %{qt5_version}
BuildRequires: cmake(Qt5QuickWidgets) >= %{qt5_version}
BuildRequires: cmake(Qt5Widgets) >= %{qt5_version}
BuildRequires: cmake(Qt5X11Extras) >= %{qt5_version}
%description
This is a Plasma 5 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 -n %{name}-%{commit}
%autopatch -p1
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%fdupes %{buildroot}
%files
%license LICENSE
%{_kf5_qmldir}/org/kde/appletdecoration
%dir %{_kf5_plasmadir}/plasmoids
%{_kf5_plasmadir}/plasmoids/org.kde.windowbuttons
%{_kf5_appstreamdir}/org.kde.windowbuttons.appdata.xml
%changelog
* Fri Feb 23 2024 Foo Bar <foobar@example.org>
- fix error: source_date_epoch_from_changelog set but changelog is missing