Name: mutiara-art Version: 3.0 Release: 1%{?dist} Summary: Branding assets for MutiaraOS License: MIT URL: https://github.com/mutiaraproject BuildArch: noarch BuildRequires: librsvg2-tools BuildRequires: sed Requires: dconf # This is the nuclear option. We are telling RPM "I am the logos now." # This stops the ISO build from crashing due to file conflicts. Provides: plymouth(system-theme) Provides: system-logos = %{version}-%{release} Provides: fedora-logos = %{version}-%{release} Obsoletes: fedora-logos < %{version}-%{release} Obsoletes: system-logos < %{version}-%{release} Source1: mutiara_cloudbreak.jpg Source2: 10-mutiara-wallpaper Source3: mutiara-square.svg Source4: mutiara-wide.svg Source5: spinner.tar.gz Source6: org.fedoraproject.AnacondaInstaller.svg %description Minimal branding package for MutiaraOS. Aggressively replaces Fedora branding assets using generated artwork from a minimal SVG input set. %prep %setup -q -c -T tar -xzf %{SOURCE5} %install # --- Directories --- install -d %{buildroot}%{_datadir}/backgrounds/mutiara install -d %{buildroot}%{_sysconfdir}/dconf/db/local.d install -d %{buildroot}%{_datadir}/pixmaps/bootloader install -d %{buildroot}%{_datadir}/plymouth/themes/spinner install -d %{buildroot}%{_datadir}/pixmaps install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps # --- Base assets --- install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/backgrounds/mutiara/ install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dconf/db/local.d/ install -m 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/mutiara-square.svg install -m 644 %{SOURCE4} %{buildroot}%{_datadir}/pixmaps/mutiara-wide.svg # --- Plymouth spinner --- cp -a spinner/* %{buildroot}%{_datadir}/plymouth/themes/spinner/ # --- Generate white SVG variants (Fixing the Inkscape/sed issue) --- sed 's/fill:#000000;/fill:#ffffff;/g' %{SOURCE3} | \ sed 's/fill="#708297"/fill="#ffffff"/g' | \ sed 's/fill="[^"]*"/fill="#ffffff"/g' > mutiara-square-white.svg sed 's/fill:#000000;/fill:#ffffff;/g' %{SOURCE4} | \ sed 's/fill="#708297"/fill="#ffffff"/g' | \ sed 's/fill="[^"]*"/fill="#ffffff"/g' > mutiara-wide-white.svg # --- Plymouth watermark --- rsvg-convert -h 43 mutiara-wide-white.svg \ -o %{buildroot}%{_datadir}/plymouth/themes/spinner/watermark.png # --- GNOME / system logos --- rsvg-convert -w 252 -h 252 mutiara-square-white.svg \ -o %{buildroot}%{_datadir}/pixmaps/system-logo-white.png cp %{buildroot}%{_datadir}/pixmaps/system-logo-white.png \ %{buildroot}%{_datadir}/pixmaps/fedora-logo-sprite.png cp %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/fedora-logo-sprite.svg cp mutiara-wide-white.svg %{buildroot}%{_datadir}/pixmaps/fedora_whitelogo.svg rsvg-convert -h 80 mutiara-wide-white.svg \ -o %{buildroot}%{_datadir}/pixmaps/fedora_whitelogo_med.png rsvg-convert -h 43 mutiara-wide-white.svg \ -o %{buildroot}%{_datadir}/pixmaps/fedora-gdm-logo.png rsvg-convert -h 164 %{SOURCE4} \ -o %{buildroot}%{_datadir}/pixmaps/fedora-logo.png rsvg-convert -h 80 %{SOURCE4} \ -o %{buildroot}%{_datadir}/pixmaps/fedora_logo_med.png rsvg-convert -h 47 %{SOURCE4} \ -o %{buildroot}%{_datadir}/pixmaps/fedora-logo-small.png # --- Bootloader --- rsvg-convert -w 128 -h 128 mutiara-square-white.svg \ -o %{buildroot}%{_datadir}/pixmaps/bootloader/bootlogo_128.png rsvg-convert -w 256 -h 256 mutiara-square-white.svg \ -o %{buildroot}%{_datadir}/pixmaps/bootloader/bootlogo_256.png cp %{buildroot}%{_datadir}/pixmaps/bootloader/bootlogo_256.png \ %{buildroot}%{_datadir}/pixmaps/fedora-logo.ico # --- CRITICAL FIXES FOR WELCOME SCREEN --- # 1. Replace the generic "start here" icon used by many system menus/apps install -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/start-here.svg # 2. Replace the specific Anaconda installer icon used by the welcome dialog install -p -m 644 %{SOURCE6} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.fedoraproject.AnacondaInstaller.svg # --- Remove poweredby --- : > %{buildroot}%{_datadir}/pixmaps/poweredby.png %files %{_datadir}/backgrounds/mutiara/mutiara_cloudbreak.jpg %{_sysconfdir}/dconf/db/local.d/10-mutiara-wallpaper %{_datadir}/pixmaps/mutiara-square.svg %{_datadir}/pixmaps/mutiara-wide.svg %{_datadir}/plymouth/themes/spinner/ %{_datadir}/pixmaps/system-logo-white.png %{_datadir}/pixmaps/fedora-logo-sprite.png %{_datadir}/pixmaps/fedora-logo-sprite.svg %{_datadir}/pixmaps/fedora_whitelogo.svg %{_datadir}/pixmaps/fedora_whitelogo_med.png %{_datadir}/pixmaps/fedora-gdm-logo.png %{_datadir}/pixmaps/fedora-logo.png %{_datadir}/pixmaps/fedora_logo_med.png %{_datadir}/pixmaps/fedora-logo-small.png %{_datadir}/pixmaps/bootloader/bootlogo_128.png %{_datadir}/pixmaps/bootloader/bootlogo_256.png %{_datadir}/pixmaps/fedora-logo.ico %{_datadir}/pixmaps/poweredby.png # --- CRITICAL FIXES FOR WELCOME SCREEN --- %{_datadir}/icons/hicolor/scalable/apps/start-here.svg %{_datadir}/icons/hicolor/scalable/apps/org.fedoraproject.AnacondaInstaller.svg %changelog * Sat Dec 20 2025 Kara - 3.0-1 - replace cloudbreak with one of my actual photographs - change license to MIT - hope the makers of plymouth-theme-spinner don't sue me - fix url * Sat Dec 20 2025 Kara - 2.4-1 - CRITICAL FIX: Addressed file conflicts with fedora-logos by replacing both the generic 'start-here.svg' and the specific 'org.fedoraproject.AnacondaInstaller.svg' icons in the hicolor scalable path. This should finally resolve the blank logo issue in the Live Media welcome screen and desktop launcher. - Added Source6 declaration for the new Anaconda installer icon. * Sat Dec 20 2025 Kara - 2.3-1 - added picture uri dark * Sat Dec 20 2025 Kara - 2.2-1 - **CRITICAL FIX:** Replaced fragile sed commands with robust multi-step pipeline to correctly parse Inkscape-generated SVG 'style' attributes. This should finally produce a white logo for dark themes and fix the GNOME Initial Setup aesthetic failure. - Version bump to 2.2 because a working logo deserves an extra tenth of a point. * Sat Dec 20 2025 Kara - 2.1-3 - Managed to prevent the Plymouth conflict from crashing the ISO build with aggressive dependency overrides. (Should have made a changelog for 2.1-2) * Fri Dec 19 2025 Kara - 2.1-1 - Cleaned up the Plymouth spinner tarball process. - Ensured the build is actually reproducible. - Polished the SVG-to-PNG logo conversion pipeline. * Fri Dec 19 2025 Kara - 2.0-1 - Initial release. Aggressively replaced all default Fedora branding.