gnome-shell-extension-no-ov.../gnome-shell-extension-no-overview.spec
2024-05-22 22:31:02 +09:00

49 lines
1.4 KiB
RPMSpec

%global extension no-overview
%global uuid %{extension}@fthx
Name: gnome-shell-extension-%{extension}
Version: 16
Release: %autorelease
Summary: GNOME Shell extension for no overview at start-up
License: GPL-3.0-only
URL: https://extensions.gnome.org/extension/4099/no-overview/
Source0: https://extensions.gnome.org/extension-data/no-overviewfthx.v%{version}.shell-extension.zip
Source1: https://raw.githubusercontent.com/fthx/no-overview/main/LICENSE#/%{extension}-LICENSE
Source2: https://raw.githubusercontent.com/fthx/no-overview/main/README.md#/%{extension}-README.md
#Patch0: %%{name}-HEAD.patch
Patch0: %{name}-HEAD.patch
BuildArch: noarch
# rhbz#2001561 Delete to require gnome-shell-extension-common
#Requires: gnome-shell-extension-common
Recommends: gnome-extensions-app
BuildRequires: git
%description
GNOME Shell extension for no overview at start-up. For GNOME Shell 40+.
%prep
%autosetup -cn %{name}-%{version} -S git
cp -p %SOURCE1 LICENSE
cp -p %SOURCE2 README.md
%build
# Nothing to build here
%install
install -d -m 0755 %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}
# install main extension files
cp -rp *.js metadata.json \
%{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}
%files
%doc README.md
%license LICENSE
%{_datadir}/gnome-shell/extensions/%{uuid}
%changelog
%autochangelog