%global git_ver efa9e78 %global applet_name window-title %global date 20220924 Summary: Plasmoid which shows active window title and icon Name: plasma-applet-%{applet_name} Version: 0.7.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 BuildArch: noarch BuildRequires: coreutils Requires: plasma-workspace >= 5.8 Requires: kf5-kdeclarative >= 5.8 Requires: kf5-kirigami2 >= 5.8 %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 mkdir -p %{buildroot}%{_datadir}/plasma/plasmoids/org.kde.windowtitle cp -dpRf contents metadata.desktop %{buildroot}%{_datadir}/plasma/plasmoids/org.kde.windowtitle %files %license LICENSE %doc README.md CHANGELOG.md %{_datadir}/plasma/plasmoids/org.kde.windowtitle %changelog * Sat Sep 24 2022 Tomas Chang - 0.7.1-gitefa9e78 - Initial build