%global extdir %{_datadir}/gnome-shell/extensions Name: gnome-shell-extension-window-calls Version: 1.17 #Release: %autorelease Release: 2 Summary: Gnome Extension for getting windows list in wayland License: GPL-2.0-or-later URL: https://github.com/ickyicky/window-calls Source: %{url}/archive/c2da096a4a6789e03ff748a43d30fe9a0f4b56e8.tar.gz Requires: (gnome-shell-extension-common >= 45 and gnome-shell-extension-common < 51) Patch: 57.patch BuildArch: noarch %description This extension allows you to list current windows with some of their properties from command line, super usefull for Wayland to get current focused window. Also, it allows you to move given window to different workspace. %prep %setup -c cd window-calls* %autopatch -p1 %build %install cd window-calls* install -Dm644 extension.js metadata.json -t %{buildroot}%{extdir}/window-calls@domandoman.xyz/ %files %{extdir}/window-calls@domandoman.xyz/* %doc window-calls*/Readme.md %changelog %autochangelog