%global uuid quake-terminal@diegodario88.github.io %global extdir %{_datadir}/gnome-shell/extensions/%{uuid} Name: gnome-shell-extension-quake-terminal Version: 1.3.0 Release: 1%{?dist} Summary: Drop-down terminal for GNOME Shell License: GPL-3.0-or-later URL: https://github.com/diegodario88/quake-terminal Source0: %{url}/archive/v%{version}/quake-terminal-%{version}.tar.gz BuildArch: noarch BuildRequires: gettext BuildRequires: glib2 Requires: (gnome-shell >= 45 with gnome-shell < 52) Requires: libadwaita %description Quake Terminal shows and hides a terminal window with a keyboard shortcut. It supports configurable window size, position, animation, and monitor selection. Select your preferred terminal application in the extension preferences. %prep %autosetup -n quake-terminal-%{version} # Rebuild translations and use the system schema cache. find src -name '*.mo' -delete rm -f src/schemas/gschemas.compiled %build for po in src/po/*.po; do msgfmt "$po" -o "${po%.po}.mo" done %install install -d %{buildroot}%{extdir} install -pm0644 src/*.js src/metadata.json %{buildroot}%{extdir}/ install -Dpm0644 src/schemas/org.gnome.shell.extensions.quake-terminal.gschema.xml \ %{buildroot}%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.quake-terminal.gschema.xml for mo in src/po/*.mo; do lang=$(basename "$mo" .mo) install -Dpm0644 "$mo" %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/%{uuid}.mo done %find_lang %{uuid} %check glib-compile-schemas --strict --dry-run src/schemas %files -f %{uuid}.lang %license LICENSE %doc README.md %{extdir}/ %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.quake-terminal.gschema.xml %changelog * Wed Oct 14 2026 Dawid Wrobel - 1.3.0-1 - Initial package