Sha256: 279e8ee6ce06a3a9ef5e033a9c1e0972e7870c93d472bf5a19c5ccf87ac0d6d8
Contents?: true
Size: 915 Bytes
Versions: 2
Compression:
Stored size: 915 Bytes
Contents
#!/bin/sh set -u set -e trap onexit INT trap onexit TERM trap onexit EXIT TMPDIR= onexit() { if [ ! "$TMPDIR" = "" ]; then rm -rf $TMPDIR fi } PKGNAME=@PKGNAME@ PROJECT=@CMAKE_PROJECT_NAME@ VERSION=@VERSION@ BUILD=@BUILD@ if [ -f $PKGNAME-$VERSION.src.rpm ]; then rm -f $PKGNAME-$VERSION.src.rpm fi umask 022 TMPDIR=`mktemp -d /tmp/$PKGNAME-build.XXXXXX` mkdir -p $TMPDIR/RPMS mkdir -p $TMPDIR/SRPMS mkdir -p $TMPDIR/BUILD mkdir -p $TMPDIR/SOURCES mkdir -p $TMPDIR/SPECS if [ ! -f $PROJECT-$VERSION.tar.gz ]; then echo "ERROR: $PROJECT-$VERSION.tar.gz does not exist." fi cp $PROJECT-$VERSION.tar.gz $TMPDIR/SOURCES/$PROJECT-$VERSION.tar.gz cat pkgscripts/rpm.spec | sed s/%{_blddir}/%{_tmppath}/g \ | sed s/#--\>//g > $TMPDIR/SPECS/$PKGNAME.spec rpmbuild -bs --define "_topdir $TMPDIR" $TMPDIR/SPECS/$PKGNAME.spec mv $TMPDIR/SRPMS/$PKGNAME-$VERSION-$BUILD.src.rpm $PKGNAME-$VERSION.src.rpm exit
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
epeg-1.0.1 | epeg/vendor/libjpeg-turbo-2.0.4/release/makesrpm.in |
epeg-1.0 | epeg/vendor/libjpeg-turbo-2.0.4/release/makesrpm.in |