%global git_ver 3263828 %global applet_name window-buttons %global date 20240405 Summary: Plasmoid which shows active window buttons Name: plasma-applet-%{applet_name} Version: 0.13.0 Release: %{?git_ver:0.2.git.%{git_ver}}%{?dist} License: GPLv2.0 LGPLv2.0 #URL: https://github.com/psifidotos/applet-%{applet_name} URL: https://github.com/moodyhunter/applet-window-buttons6 Source0: plasma6-%{applet_name}-%{date}.git%{git_ver}.tar.xz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 0.0.11 BuildRequires: kdecoration-devel BuildRequires: qt6-qtbase-devel >= 6.0.0 BuildRequires: qt6-qtdeclarative-devel >= 6.0.0 BuildRequires: kf6-kconfigwidgets-devel BuildRequires: kf6-kdeclarative-devel BuildRequires: kf6-ki18n-devel BuildRequires: kf6-plasma-devel >= 6.0.0 BuildRequires: cmake(KF6Svg) BuildRequires: cmake(KF6KCMUtils) %description This is a Plasma 6 applet that shows window buttons in your panels. This plasmoid is coming from Latte land but it can also support Plasma panels. %prep %autosetup -n plasma6-%{applet_name}-%{date}.git%{git_ver} -p1 %build %cmake -Wno-dev %cmake_build %cmake_install %files %license LICENSE %doc INSTALLATION.md README.md COPYING COPYING.LIB %{_libdir}/qt6/qml/org/kde/appletdecoration/AuroraeButton.qml %{_libdir}/qt6/qml/org/kde/appletdecoration/libappletdecorationplugin.so %{_libdir}/qt6/qml/org/kde/appletdecoration/qmldir %{_datadir}/metainfo/org.kde.windowbuttons.appdata.xml %{_datadir}/plasma/plasmoids/org.kde.windowbuttons %changelog * Tue Apr 30 2024 Tomas Chang - 0.13.0-0.1.git3263828 - Update to latest port for supporting Plasma6 * Sun Feb 19 2023 Tomas Chang - 0.11.1-0.2.git90e3750 - Rebuild with latest KDE - Fix building with plasma 5.27 * Sat Sep 24 2022 Tomas Chang - 0.11.1-0.1.git90e3750 - Initial build