%global debug_package %{nil} Name: ublue-motd Version: 0.2.0 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#c7fb361c00c288692a77d6414383c55e59f10ea7:ublue/motd Source: packages-ublue-motd-c7fb361c.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