summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
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