# SPDX-License-Identifier: GPL-3.0 # Copyright (C) 2026 Haze Project Name: haze Version: 1.0.0 Release: 1%{?dist} Summary: GNOME Shell blur extension, theme, and optional patch manager License: GPL-3.0-or-later URL: https://github.com/ektorthebigbro/haze-gnome Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/v%{version}/%{name}-%{version}-vendor.tar.gz BuildRequires: rust-packaging >= 21 BuildRequires: cargo BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: glib2-devel BuildRequires: gcc Requires: gnome-shell Requires: glib2 Requires: gtk4 Requires: libadwaita %description Haze is a GNOME Shell extension and matching shell theme that bring a cohesive glass blur aesthetic to your desktop — transparent panels, frosted popups, and blurred overlays with rounded corners. This package installs the Haze patch manager app, which handles downloading the distro source package, applying the rounded-corner patch, building a replacement RPM, and installing it. The extension and theme are fetched from the latest GitHub release. %prep %autosetup -n haze-gnome-%{version} mkdir vendor tar -xf %{SOURCE1} -C vendor %cargo_prep -v vendor %build pushd app %cargo_build popd %install install -Dm755 app/target/rpm/haze %{buildroot}%{_bindir}/haze install -Dm644 app/data/io.github.ektorthebigbro.haze-gnome.desktop %{buildroot}%{_datadir}/applications/io.github.ektorthebigbro.haze-gnome.desktop install -Dm644 app/data/io.github.ektorthebigbro.haze-gnome.metainfo.xml %{buildroot}%{_datadir}/metainfo/io.github.ektorthebigbro.haze-gnome.metainfo.xml install -Dm644 app/assets/icons/hicolor/scalable/apps/io.github.ektorthebigbro.haze-gnome.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/io.github.ektorthebigbro.haze-gnome.svg install -Dm644 manifest.json %{buildroot}%{_datadir}/haze/manifest.json install -Dm644 patches/0099-haze-rounded-corners.patch %{buildroot}%{_datadir}/haze/patches/0099-haze-rounded-corners.patch install -Dm644 patches/blur-my-shell.patch %{buildroot}%{_datadir}/haze/patches/blur-my-shell.patch %files %license app/src/main.rs %{_bindir}/haze %{_datadir}/applications/io.github.ektorthebigbro.haze-gnome.desktop %{_datadir}/metainfo/io.github.ektorthebigbro.haze-gnome.metainfo.xml %{_datadir}/icons/hicolor/scalable/apps/io.github.ektorthebigbro.haze-gnome.svg %{_datadir}/haze/manifest.json %{_datadir}/haze/patches/0099-haze-rounded-corners.patch %{_datadir}/haze/patches/blur-my-shell.patch %changelog * Thu Apr 09 2026 Ektorthebigbro <85633839+ektorthebigbro@users.noreply.github.com> - 1.0.0-1 - Initial release