%global extdir %{_datadir}/gnome-shell/extensions/blur-my-shell@aunetx %global gschemadir %{_datadir}/glib-2.0/schemas %global sourcedir ~/rpmbuild/SOURCES/blur-my-shell-54 Name: gnome-shell-extension-blur-my-shell-oreon Version: 54 Release: 1%{?dist} Summary: Cosmetic gnome-shell blur License: GPLv2+ URL: https://github.com/aunetx/blur-my-shell Source0: blur-my-shell-54.zip BuildArch: noarch BuildRequires: gettext BuildRequires: make BuildRequires: sassc BuildRequires: %{_bindir}/glib-compile-schemas BuildRequires: gnome-shell Requires: gnome-shell-extension-common Requires: dconf-editor Requires: dconf # libdbusmenu won't be part of RHEL 9, thus disable the dependency. Requires: libdbusmenu-gtk3 %description This extension enhances the dash moving it out of the overview and transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops without having to leave the desktop view. %prep %autosetup -n blur-my-shell-%{version} -p 1 %build %make_build %install %make_install # Cleanup crap. mkdir -p %{buildroot}%{extdir}/ mkdir -p %{buildroot}%{gschemadir} mv build/blur-my-shell@aunetx.shell-extension.zip %{buildroot}%{extdir}/ unzip %{buildroot}%{extdir}/blur-my-shell@aunetx.shell-extension.zip -d %{buildroot}%{extdir}/ cp %{buildroot}%{extdir}/schemas/*gschema.xml %{buildroot}%{gschemadir}/ %{__rm} -fr %{buildroot}%{extdir}/{COPYING*,README*,schemas} %files %doc README.md %{extdir} %{gschemadir}/*gschema.xml