%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/ublue-os/packages.git#c01375f63b2695533c12484bef8059c7b6e7e60c:packages/bluefin-readymade-config Source0: packages-packages-bluefin-readymade-config-c01375f6.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 <