diff options
author | John Terpstra <jht@samba.org> | 2000-08-04 21:03:10 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 2000-08-04 21:03:10 +0000 |
commit | 754f021fc73646887550da5a9813115229c779a8 (patch) | |
tree | 641ed1d7aced751d19f1d18671debfb8358d4188 /packaging/Caldera/OpenLinux/makerpms.sh.tmpl | |
parent | 48b47496cc0c0692e5549c0b5126165a23d7611b (diff) | |
download | samba-754f021fc73646887550da5a9813115229c779a8.tar.gz samba-754f021fc73646887550da5a9813115229c779a8.tar.bz2 samba-754f021fc73646887550da5a9813115229c779a8.zip |
Adding build file.
(This used to be commit b87c47cc8638a1930e55a45a126a778b188ce688)
Diffstat (limited to 'packaging/Caldera/OpenLinux/makerpms.sh.tmpl')
-rw-r--r-- | packaging/Caldera/OpenLinux/makerpms.sh.tmpl | 14 |
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 |