%global extension   appmenu-is-back
%global uuid        %{extension}@fthx

Name:           gnome-shell-extension-%{extension}
Version:        12
Release:        4%{?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 >= 48~
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} -p1

%install
install -Dm644 metadata.json %{buildroot}%{_gnomeextensionsdir}/metadata.json
install -Dm644 extension.js %{buildroot}%{_gnomeextensionsdir}/extension.js

%files
%license LICENSE
%{_gnomeextensionsdir}

%changelog
* Thu Nov 16 2023 Lleyton Gray <lleyton@fyralabs.com> - 2-1
- Initial Release
