%global debug_package %{nil} %global vendor bluefin Name: bluefin-readymade-config Version: 0.1.0 Release: 1%{?dist} Summary: Bluefin branding for Readymade License: CC-BY-CA URL: https://github.com/ublue-os/packages VCS: git+https://github.com/tulilirockz/packages.git#59021a8ac474ca36a263e263d56a91fe23083328:packages/bluefin-readymade-config Source0: packages-packages-bluefin-readymade-config-59021a8a.tar.gz Source1: https://github.com/FyraLabs/readymade/archive/refs/tags/v0.12.2.tar.gz BuildArch: noarch %description Branding for Bluefin's Readymade config %prep %setup -T -b 0 -q -n packages-packages-bluefin-readymade-config mkdir -p readymade tar xzvf %{SOURCE1} %build install -Dpm0644 src/bento/middle-left.jxl ./readymade-0.12.2/data/viewports-light.webp install -Dpm0644 src/bento/middle-left-dark.jxl ./readymade-0.12.2/data/viewports-dark.webp install -Dpm0644 src/bento/top-right.jxl ./readymade-0.12.2/data/umbrella-light.webp install -Dpm0644 src/bento/top-right-dark.jxl ./readymade-0.12.2/data/umbrella-dark.webp install -Dpm0644 src/bento/bottom-right.jxl ./readymade-0.12.2/data/blueprint.webp install -Dpm0644 src/bento/bottom-right-dark.jxl ./readymade-0.12.2/data/blueprint-dark.webp pushd ./readymade-0.12.2/data # FIXME: remove once https://github.com/FyraLabs/readymade/pull/92 is merged sed -i '/blueprint.webp<\/file>/a \ blueprint-dark.webp' ./resources.gresource.xml tee -a ./style-dark.css <