mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "gnome-shell-extension-grand-theft-focus.spec"
|
||||
}
|
||||
}
|
||||
+35
@@ -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"));
|
||||
Reference in New Issue
Block a user