Name: scitas-motd-scripts Version: 0.2 Release: 1%{?dist} Summary: Scripts to retrieve fragments, build and display a custom MOTD Group: System/Base License: None URL: https://c4science.ch/source/scitas-motd-scripts Source0: %{name}-%{version}.tar.gz BuildArch: noarch Requires: curl %description The tools that are used to display a custom composable motd on login in SCITAS clusters. %prep %setup -q %build %install mkdir -p %{buildroot}%{_sysconfdir}/ mkdir -p %{buildroot}%{_bindir}/ install -m 644 etc/scitas-motd.conf %{buildroot}%{_sysconfdir}/ install -m 755 bin/scitas-motd %{buildroot}%{_bindir}/ install -m 755 bin/scitas-motd-update %{buildroot}%{_bindir}/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/scitas-motd %{_bindir}/scitas-motd-update %config(noreplace) %{_sysconfdir}/scitas-motd.conf %doc README.md %doc scitas-motd-update.cron %changelog