%global extdir quick-lang-switch@ankostis.gmail.com Name: gnome-shell-extension-quick-lang-switch Version: 12 Release: %autorelease Summary: Quickly switch keyboard language layouts License: AGPL-3.0 URL: https://github.com/ankostis/gnome-shell-quick-lang-switch Source0: https://github.com/ankostis/gnome-shell-quick-lang-switch/archive/refs/tags/v%{version}.tar.gz Requires: gnome-shell-extension-common BuildArch: noarch %description A X11/Wayland extension to quickly switch keyboard language layouts, that bypass the switcher popup and preserves the focus of the active window/widget. %prep %autosetup -n gnome-shell-quick-lang-switch-%{version} %build %install mkdir -p %{buildroot}%{_datadir}/gnome-shell/extensions/%{extdir} cp -ar --parents \ extension.js metadata.json \ %{buildroot}%{_datadir}/gnome-shell/extensions/%{extdir} %check %files %license COPYING %doc README.md %{_datadir}/gnome-shell/extensions/%{extdir} %changelog %autochangelog