%global hash b915d00 Name: plymouth-theme-apple-mac Version: 20200216 Release: %{?hash:0.1.git%{hash}}%{?!hash:1}%{?dist} Summary: Apple MacOS Style Plymouth License: MIT URL: https://github.com/nilotpalbiswas/MacOS-Boot-Plymouth.git Source0: MacOS-Boot-Plymouth-%version%{?hash:.git%{hash}}.tar.xz Requires: plymouth Requires: plymouth-plugin-script BuildArch: noarch %description Apple MacOS Style Plymouth %prep %setup -q -n MacOS-Boot-Plymouth-%{version}%{?hash:.git%{hash}} %build %install mkdir -p %{buildroot}%{_datadir}/plymouth/themes/apple-mac-plymouth install -m0644 apple-mac-plymouth/*.png %{buildroot}%{_datadir}/plymouth/themes/apple-mac-plymouth/ install -m0644 apple-mac-plymouth/apple-mac-plymouth.{plymouth,script} %{buildroot}%{_datadir}/plymouth/themes/apple-mac-plymouth/ %files %{_datadir}/plymouth/themes/apple-mac-plymouth %changelog * Tue Nov 29 2022 Tomas Chang - 20220216.gitb915d00 - Initial build