%global git_ver 1de99c9 %global applet_name window-appmenu %global date 20220605 Summary: Plasmoid which shows active window title and icon Name: plasma-applet-%{applet_name} Version: 0.8.1 Release: %{?git_ver:0.1.git.%{git_ver}}%{?dist} License: GPLv2.0 LGPLv2.0 URL: https://github.com/psifidotos/applet-%{applet_name} Source0: plasma-%{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: qt5-qtbase-devel >= 5.4.0 BuildRequires: qt5-qtdeclarative-devel >= 5.4.0 BuildRequires: qt5-qtx11extras-devel >= 5.4.0 BuildRequires: kf5-kconfigwidgets-devel BuildRequires: kf5-kitemmodels-devel BuildRequires: kf5-kwindowsystem-devel >= 5.0.0 BuildRequires: kf5-kwayland-devel BuildRequires: kf5-plasma-devel >= 5.0.0 BuildRequires: plasma-workspace-devel BuildRequires: libSM-devel >= 1.2.3 %description This is a Plasma 5 applet that shows the current window appmenu in your panels. This plasmoid is coming from Latte land but it can also support Plasma panels. %prep %autosetup -n plasma-%{applet_name}-%{date}.git%{git_ver} %build %cmake -Wno-dev %cmake_build %cmake_install %files %license LICENSE %doc INSTALLATION.md README.md %{_libdir}/qt5/plugins/plasma/applets/plasma_applet_windowappmenu.so %{_libdir}/qt5/qml/org/kde/private/windowAppMenu/libappmenuplugin.so %{_libdir}/qt5/qml/org/kde/private/windowAppMenu/qmldir %{_datadir}/kservices5/plasma-applet-org.kde.windowappmenu.desktop %{_datadir}/metainfo/org.kde.windowappmenu.appdata.xml %{_datadir}/plasma/plasmoids/org.kde.windowappmenu %changelog * Sat Sep 24 2022 Tomas Chang - 0.8.1-git1de99c9 - Initial build