diff --git a/README.md b/README.md new file mode 100644 index 0000000..2734e44 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# Description +The tools that are used to display a custom composable motd on login in SCITAS clusters. + +# Build RPM +Recipe to build the RPM, the tag with the version number must exist! + +```bash +export VERSION=0.1 +mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} +git archive --prefix=scitas-motd-scripts-$VERSION/ -o ~/rpmbuild/SOURCES/scitas-motd-scripts-$VERSION.tar.gz $VERSION +cp scitas-motd-scripts.spec ~/rpmbuild/SPECS/ +rpmbuild -bb ~/rpmbuild/SPECS/scitas-motd-scripts.spec +```