added support for rpm packaging and basic support for deb

This commit is contained in:
root
2017-03-29 18:01:35 +02:00
parent ce758e8129
commit 783e7e6d0d
33 changed files with 3455 additions and 0 deletions
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -ex
rm -rf ./tis-tisbackup/ ./BUILD *.rpm ./RPMS
mkdir -p BUILD RPMS
VERSION=`git rev-list HEAD --count`
echo $VERSION > __VERSION__
rpmbuild -bb --buildroot $PWD/builddir -v --clean tis-tisbackup.spec
cp RPMS/*/*.rpm .