summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2000-08-04 21:03:10 +0000
committerJohn Terpstra <jht@samba.org>2000-08-04 21:03:10 +0000
commit754f021fc73646887550da5a9813115229c779a8 (patch)
tree641ed1d7aced751d19f1d18671debfb8358d4188 /packaging
parent48b47496cc0c0692e5549c0b5126165a23d7611b (diff)
downloadsamba-754f021fc73646887550da5a9813115229c779a8.tar.gz
samba-754f021fc73646887550da5a9813115229c779a8.tar.bz2
samba-754f021fc73646887550da5a9813115229c779a8.zip
Adding build file.
(This used to be commit b87c47cc8638a1930e55a45a126a778b188ce688)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/Caldera/OpenLinux/makerpms.sh.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/Caldera/OpenLinux/makerpms.sh.tmpl b/packaging/Caldera/OpenLinux/makerpms.sh.tmpl
new file mode 100644
index 0000000000..8f7b06235b
--- /dev/null
+++ b/packaging/Caldera/OpenLinux/makerpms.sh.tmpl
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Copyright (C) 1998 John H Terpstra, 2000 Klaus Singvogel
+#
+SPECDIR=/usr/src/OpenLinux/SPECS
+SRCDIR=/usr/src/OpenLinux/SOURCES
+USERID=`id -u`
+GRPID=`id -g`
+
+( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba )
+( cd ../../../.. ; tar czvf ${SRCDIR}/samba.tar.gz samba-PVERSIONPRELEASE )
+cp -a *.spec $SPECDIR
+cp -a *.patch smb.* samba.* make* find* convert* updates* $SRCDIR
+cd $SPECDIR
+rpm -ba -v samba3.spec