summaryrefslogtreecommitdiffstats
path: root/packaging/PHT/TurboLinux/makerpms.sh.tmpl
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-10-25 09:12:42 +0000
committerJohn Terpstra <jht@samba.org>1998-10-25 09:12:42 +0000
commitec73178649c03695a07c0c57292aa802e9ebd61a (patch)
tree5eac91992ef729a1fcc68aa573d5feb12a1d4d6b /packaging/PHT/TurboLinux/makerpms.sh.tmpl
parent9d8c5c3f760b7e3f9b6bf1a63073de138809735a (diff)
downloadsamba-ec73178649c03695a07c0c57292aa802e9ebd61a.tar.gz
samba-ec73178649c03695a07c0c57292aa802e9ebd61a.tar.xz
samba-ec73178649c03695a07c0c57292aa802e9ebd61a.zip
Welcome to Pacific HiTech TurboLinux support.
(This used to be commit 230c42ab64aafb69313d5a8f9773bbd2bc6d47f9)
Diffstat (limited to 'packaging/PHT/TurboLinux/makerpms.sh.tmpl')
-rw-r--r--packaging/PHT/TurboLinux/makerpms.sh.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/PHT/TurboLinux/makerpms.sh.tmpl b/packaging/PHT/TurboLinux/makerpms.sh.tmpl
new file mode 100644
index 0000000000..fa69370dff
--- /dev/null
+++ b/packaging/PHT/TurboLinux/makerpms.sh.tmpl
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Copyright (C) John H Terpstra 1998
+#
+RPMDIR=`rpm --showrc | awk '/^rpmdir/ { print $3}'`
+SPECDIR=`rpm --showrc | awk '/^specdir/ { print $3}'`
+SRCDIR=`rpm --showrc | awk '/^sourcedir/ { print $3}'`
+
+( cd ../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION )
+cp -a *.spec $SPECDIR
+cp -a *.patch smb.* samba.log $SRCDIR
+cd $SRCDIR
+chown -R root.root samba-PVERSION
+cd $SPECDIR
+rpm -ba -v samba2.spec