summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenLinux/makerpms.sh.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Caldera/OpenLinux/makerpms.sh.tmpl')
-rw-r--r--packaging/Caldera/OpenLinux/makerpms.sh.tmpl54
1 files changed, 0 insertions, 54 deletions
diff --git a/packaging/Caldera/OpenLinux/makerpms.sh.tmpl b/packaging/Caldera/OpenLinux/makerpms.sh.tmpl
deleted file mode 100644
index 3b8eda4d5c..0000000000
--- a/packaging/Caldera/OpenLinux/makerpms.sh.tmpl
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-# Copyright (C) 1998 John H Terpstra, 2000 Klaus Singvogel
-#
-SPECDIR=${SPECDIR:-/usr/src/OpenLinux/SPECS}
-SRCDIR=${SRCDIR:-/usr/src/OpenLinux/SOURCES}
-USERID=`id -u`
-GRPID=`id -g`
-devel=0;
-old=0;
-
-# Do some argument parsing...
-if [ z$1 = z"devel" ]; then
- devel=1;
- shift
-fi
-if [ z$1 = z"old" ]; then
- old=1;
- shift
-fi
-if [ z$1 = z"team" ]; then
- team=1;
- shift
-fi
-
-# Start preparing the packages...
-if [ $devel -ne 0 ]; then
- ( cd ../../../.. ; chown -R ${USERID}.${GRPID} samba3; mv samba3 samba-PVERSION )
- ( cd ../../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION; mv samba-PVERSION samba3 )
-else
- ( cd ../../../.. ; chown -R ${USERID}.${GRPID} samba-PVERSION )
- ( cd ../../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION )
-fi
-
-cp -af *.spec *.spec-lsb $SPECDIR
-#if [ $team -ne 0 ]; then
-# cp *.spec-team $SPECDIR
-#fi
-for i in `ls *.patch`
-do
- cp $i $SRCDIR/
-done
-# Start building the package
-cd $SPECDIR
-#if [ $old -eq 0 ]; then
-#mv -f samba2.spec samba2.spec-nonlsb
-#ln -f samba2.spec-lsb samba3.spec
-#fi
-if [ $team -ne 0 ]; then
-# mv -f samba3.spec samba3.spec-lsb
-# ln -f samba3.spec-team samba3.spec
- rpm -ba -v samba3.spec
-else
- rpm -ba -v --rmsource --clean samba3.spec
-fi