mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
a5e5df7084
Need to make packages for jack, qtv and maybe sdl32, but that can wait.
24 lines
542 B
Bash
24 lines
542 B
Bash
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
version=@VERSION@
|
|
temp_dir=/var/tmp
|
|
srcdir=@srcdir@
|
|
top_srcdir=@top_srcdir@
|
|
top_builddir=..
|
|
|
|
mkdir -p RPMS/{noarch,i386,i686}
|
|
touch $top_builddir/ChangeLog
|
|
make -C $top_builddir dist
|
|
rpmbuild \
|
|
--define="_topdir $PWD" \
|
|
--define="_rpmdir $PWD/RPMS" \
|
|
--define="_sourcedir $top_builddir" \
|
|
--define="_specdir $PWD" \
|
|
--define="_srcrpmdir $PWD" \
|
|
--define="_builddir $PWD" \
|
|
-ba quakeforge.spec
|
|
find . -maxdepth 1 -type d -name 'quakeforge-*' -exec rm -rf {} \;
|
|
find RPMS -name '*.rpm' -exec mv {} . \;
|
|
rm -rf RPMS
|