%global debug_package %{nil} Name: ublue-motd Version: 0.2.4 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.git#b54330566ae63a6a5f6db9e16f810b1f69d85c99:packages/ublue-motd Source: packages-packages-ublue-motd-b5433056.tar.gz Requires: glow Requires: jq Requires: curl %description MOTD and changelogs script for Universal Blue %prep %setup -T -b 0 -q -n packages-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