%global debug_package %{nil} Name: ublue-motd Version: 0.2.1 Release: 1%{?dist} Summary: MOTD scripts for Universal Blue images License: Apache-2.0 URL: https://github.com/ublue-os/packages VCS: git+https://github.com/ublue-os/packages#9cbdc2ac9ef79354366661808b42f0e484aa42f7:ublue/motd Source: packages-ublue-motd-9cbdc2ac.tar.gz Requires: glow Requires: jq Requires: curl %description MOTD and changelogs script for Universal Blue %prep %setup -T -b 0 -q -n packages-ublue-motd %install install -dm0755 %{buildroot}%{_datadir}/ublue-os/motd/themes cp -rp ./src/themes/* %{buildroot}%{_datadir}/ublue-os/motd/themes install -Dm0755 ./src/%{name} %{buildroot}%{_libexecdir}/%{name} install -Dm0755 ./src/ublue-changelog %{buildroot}%{_libexecdir}/ublue-changelog install -Dm0755 ./src/vendor.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh install -Dm0755 ./src/vendor.fish %{buildroot}%{_datadir}/fish/vendor_conf.d/%{name}.fish %files %{_libexecdir}/%{name} %{_libexecdir}/ublue-changelog %{_datadir}/ublue-os/motd/themes/* %{_sysconfdir}/profile.d/%{name}.sh %{_datadir}/fish/vendor_conf.d/%{name}.fish %changelog %autochangelog