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} %cargo_prep -v vendor %build pushd app %cargo_build popd %install install -Dm755 app/target/release/haze %{buildroot}%{_bindir}/haze install -Dm644 /dev/stdin %{buildroot}%{_datadir}/applications/io.github.ektorthebigbro.haze-gnome.desktop << 'EOF' [Desktop Entry] Type=Application Name=Haze Comment=Manage GNOME Shell blur patch and extension Exec=haze Icon=haze Categories=System;Settings; EOF %files %license app/src/main.rs %{_bindir}/haze %{_datadir}/applications/io.github.ektorthebigbro.haze-gnome.desktop %changelog * Wed Apr 09 2026 Ektorthebigbro <85633839+ektorthebigbro@users.noreply.github.com> - 1.0.0-1 - Initial release