export PKGNAME=$(basename $(pwd))
# pick one of the following, the matching git tag (or reference) must exist
export VERSION=$(grep 'Version:' $PKGNAME.spec)
export VERSION=0.2.5-2
export VERSION=0.2.5
# continue
export TOPDIR="$(pwd)/rpmbuild"
rm -rf "${TOPDIR}"
mkdir -p "${TOPDIR}"/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
git archive --prefix=$PKGNAME-$(echo $VERSION | cut -f 1 -d -)/ -o $TOPDIR/SOURCES/$PKGNAME-$(echo $VERSION | cut -f 1 -d -).tar.gz $VERSION
cp $PKGNAME.spec $TOPDIR/SPECS/
rpmbuild --define "_topdir $TOPDIR" -bb $TOPDIR/SPECS/$PKGNAME.spec
forked from hautreux/slurm-spank-x11
-
Notifications
You must be signed in to change notification settings - Fork 0
X11 SLURM spank plugin enables to export X11 display on a part or all of the allocated nodes of SLURM jobs using openSSH.
License
epfl-scitas/slurm-spank-x11
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
X11 SLURM spank plugin enables to export X11 display on a part or all of the allocated nodes of SLURM jobs using openSSH.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 100.0%