feat: gnome-shell-extension-appmenu-is-back (#814)

This commit is contained in:
lleyton
2023-11-17 02:22:03 -08:00
committed by GitHub
parent 3bf6bccbb3
commit b4139d29d6
3 changed files with 41 additions and 0 deletions
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "gnome-shell-extension-appmenu-is-back.spec"
}
}
@@ -0,0 +1,34 @@
%global extension appmenu-is-back
%global uuid %{extension}@fthx
Name: gnome-shell-extension-%{extension}
Version: 2
Release: 1%{?dist}
Summary: GNOME Shell extension to bring back the app menu
License: GPL-3.0-only
URL: https://github.com/fthx/appmenu-is-back
BuildArch: noarch
Source0: https://github.com/fthx/appmenu-is-back/archive/refs/tags/v%{version}.tar.gz
Requires: (gnome-shell >= 45~ with gnome-shell < 46~)
Recommends: gnome-extensions-app
%description
This extension brings back the app menu in the top panel, for GNOME 45 and later.
%prep
%autosetup -n appmenu-is-back-%{version}
%install
install -Dm644 metadata.json %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/metadata.json
install -Dm644 extension.js %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/extension.js
%files
%license LICENSE
%{_datadir}/gnome-shell/extensions/%{uuid}
%changelog
* Thu Nov 16 2023 Lleyton Gray <lleyton@fyralabs.com> - 2-1
- Initial Release
@@ -0,0 +1,2 @@
let version = find("v(.+)", gh("fthx/appmenu-is-back"), 1);
rpm.version(version);