Windows: 1.5.78 Change Log summary
[openafs.git] / src / tools / install / make_rpm_source
1 #!/bin/sh
2 #
3 # Copyright 2001, International Business Machines Corporation and others.
4 # All Rights Reserved.
5
6 # This software has been released under the terms of the IBM Public
7 # License.  For details, see the LICENSE file in the top-level source
8 # directory or online at http://www.openafs.org/dl/license10.html
9 #
10 # packup
11 # creates rpm source file containing all the necessary files
12 # for the OpenAFS command line tools.  Moves to RPM source dir.
13
14 # openafs-tools, Version 1.2.2
15 #
16 # Directory containing installation scripts, etc.
17 rootDir=../..
18 mainFileDir=..
19 rpmSource=/usr/src/redhat/SOURCES/
20 #
21 mkdir .tmpTarDir
22 cd .tmpTarDir
23 #
24 cp $rootDir/openafs-tools-cmd.README .
25 cp $mainFileDir/.afs_state afs_state
26 cp $mainFileDir/afsinit_both .
27 cp $mainFileDir/afsinit_client .
28 cp $mainFileDir/afsinit_server .
29 cp $mainFileDir/afs_uninstall .
30 cp $mainFileDir/install_afs .
31 cp $mainFileDir/K5_README .
32 cp $mainFileDir/check_udebug.pl .
33 cp $mainFileDir/write_fstab.pl .
34 cp $mainFileDir/write_pam.pl .
35 #
36 cp $mainFileDir/unpack_cmd .
37 #
38 tar -cf afs_linux.tar *
39 gzip -f afs_linux.tar
40 cd ..
41 cp .tmpTarDir/afs_linux.tar.gz .
42 rm -rf .tmpTarDir
43 #
44 tar -cf openafs-tools-cmd.tar afs_linux.tar.gz
45 rm -f afs_linux.tar.gz
46 mv openafs-tools-cmd.tar $rpmSource
47 chown nobody $rpmSource/openafs-tools-cmd.tar
48 #
49