Name: rpmtemplate Version: 1 Release: 1 Summary: basic rpm package template License: MIT BuildArch: noarch Requires: bash %description basic rpm package template %prep echo "prep here" %build echo "#!/bin/bash" > rpmtemplate echo "echo Hello World!" >> rpmtemplate %install mkdir -p %{buildroot}%{_bindir} install -m 755 rpmtemplate %{buildroot}%{_bindir} %files %{_bindir}/rpmtemplate