%global debug_package %{nil} Name: ublue-motd Version: 0.2.5 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#8f1226ac665770b0e181f2d14df54d8e3958af9e:packages/ublue-motd Source: packages-packages-ublue-motd-8f1226ac.tar.gz Requires: glow Requires: jq Requires: curl BuildArch: noarch %description MOTD and changelogs script for Universal Blue %prep %setup -T -b 0 -q -n packages-packages-ublue-motd %install install -Dm0644 -t %{buildroot}%{_datadir}/ublue-os/motd/themes/ ./src/themes/*.json install -Dm0755 -t %{buildroot}%{_libexecdir}/ ./src/%{name} install -Dm0755 -t %{buildroot}%{_libexecdir}/ ./src/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