%global debug_package %{nil} URL: https://github.com/MCC45TR/uke-linux-hardware-support Source0: uke-plymonth-1.0.2.tar.xz ExclusiveArch: aarch64 BuildRequires: gcc-c++ plymouth-plugin-script plymouth-plugin-label abattis-cantarell-fonts BuildRequires: systemd-rpm-macros BuildRequires: tar xz Name: uke-plymonth Version: 1.0.2 Release: 5.fc46 License: MIT BuildArch: noarch Summary: Senemos Uke boot and shutdown Plymouth theme Requires: plymouth plymouth-plugin-script plymouth-plugin-label Requires: abattis-cantarell-fonts Requires(post): plymouth-scripts Requires(preun): plymouth-scripts Provides: plymouth-uke = 1.0.2-1 Obsoletes: plymouth-uke < 1.0.2-1 Conflicts: plymouth-uke %description -n uke-plymonth Xiaomi and Fedora artwork with boot/update progress and a pulsing shutdown bar. The original Fedora Plymouth services show the theme after mounting the root filesystem and during shutdown/reboot. Installation selects the theme when a distribution default is in use; local custom themes remain selected. No initramfs, boot image, partition or boot-slot selection is changed. %prep %setup -q ( mkdir -p "%{_builddir}/uke-plymonth-1.0.2/work/uke-plymonth" cd '%{_builddir}/uke-plymonth-1.0.2/work/uke-plymonth' rm -rf 'uke-plymonth-1.0.2' /usr/bin/rpmuncompress -x '%{_builddir}/uke-plymonth-1.0.2/inputs/uke-plymonth/uke-plymonth-1.0.2.tar.xz' STATUS=$? if [ $STATUS -ne 0 ]; then exit $STATUS fi cd 'uke-plymonth-1.0.2' /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ) %build %install ( cd "%{_builddir}/uke-plymonth-1.0.2/work/uke-plymonth/uke-plymonth-1.0.2" install -d %{buildroot}/usr/share/plymouth/themes/senemos-uke install -m644 src/plymouth-uke/*.png src/plymouth-uke/*.script src/plymouth-uke/*.plymouth %{buildroot}/usr/share/plymouth/themes/senemos-uke/ for item in start:boot poweroff:shutdown reboot:reboot halt:shutdown; do unit=${item%%:*} mode=${item#*:} directory=%{buildroot}/usr/lib/systemd/system/plymouth-$unit.service.d install -d "$directory" cat >"$directory/50-uke-theme.conf" < - 1.0.2-5.fc46 - Build this component independently from its reviewed source recipe.