add: gnome-shell-extension-grand-theft-focus (#8777) (#8778)

This commit is contained in:
Raboneko
2025-12-30 22:00:01 -08:00
committed by GitHub
parent 0eb33582fe
commit b79ae82a80
3 changed files with 42 additions and 0 deletions
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "gnome-shell-extension-grand-theft-focus.spec"
}
}
@@ -0,0 +1,35 @@
%global extension grand-theft-focus
%global uuid %{extension}@zalckos
Name: gnome-shell-extension-%{extension}
Version: 9
Release: 1%?dist
Summary: GNOME extension that removes the 'Window is ready' notification and brings the window into focus instead
License: AGPL-3.0-only
URL: https://github.com/zalckos/GrandTheftFocus
BuildArch: noarch
Source0: https://github.com/zalckos/GrandTheftFocus/archive/refs/tags/v%version.tar.gz
Requires: (gnome-shell >= 48~ with gnome-shell < 50~)
Recommends: gnome-extensions-app
%description
GNOME extension. Removes the 'Window is ready' notification and brings the window into focus instead.
%prep
%autosetup -n GrandTheftFocus-%version
%install
install -Dm644 grand-theft-focus@zalckos.github.com/metadata.json %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/metadata.json
install -Dm644 grand-theft-focus@zalckos.github.com/extension.js %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/extension.js
%files
%license LICENSE
%doc README.md
%{_datadir}/gnome-shell/extensions/%{uuid}
%changelog
* Tue Dec 30 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(gh_tag("zalckos/GrandTheftFocus"));