%global debug_package %{nil} %global vendor bluefin Name: bluefin-readymade-config Version: 0.2.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#22894c013618c2d495980710885fdc00b68a8333:packages/bluefin-readymade-config Source0: packages-packages-bluefin-readymade-config-22894c01.tar.gz Source1: https://github.com/FyraLabs/readymade/archive/refs/tags/v0.12.2.tar.gz BuildRequires: glib2-devel 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 <