diff --git a/staging/gnome-shell-extension-supergfxctl-gex/gnome-shell-extension-supergfxctl-gex.spec b/staging/gnome-shell-extension-supergfxctl-gex/gnome-shell-extension-supergfxctl-gex.spec new file mode 100644 index 0000000..a73518a --- /dev/null +++ b/staging/gnome-shell-extension-supergfxctl-gex/gnome-shell-extension-supergfxctl-gex.spec @@ -0,0 +1,35 @@ +%global extdir %{_datadir}/gnome-shell/extensions/supergfxctl-gex@asus-linux.org + +Name: gnome-shell-extension-supergfxctl-gex +Version: 33 +Release: 2%{?dist} +Summary: Extension for visualizing supergfxctl settings and status. + +License: MIT +URL: https://extensions.gnome.org/extension/5344/supergfxctl-gex +Source0: https://extensions.gnome.org/extension-data/supergfxctl-gexasus-linux.org.v33.shell-extension.zip +BuildArch: noarch + +BuildRequires: wget + +Requires: gnome-shell-extension-common +Requires: dconf-editor +Requires: dconf +Requires: supergfxctl + +%description +Extension for visualizing supergfxctl settings and status. + +%prep +wget -q https://extensions.gnome.org/extension-data/supergfxctl-gexasus-linux.org.v33.shell-extension.zip -O %{name}.zip +unzip %{name}.zip +rm -f %{name}.zip + +%install +mkdir -p %{buildroot}%{extdir}/ +mv * %{buildroot}%{extdir}/ + +%files +%{extdir} + +%changelog