]> arthur.barton.de Git - netatalk.git/blob - distrib/rpm/buildrpm
Fixed a typo in script. pooba53 <bobo@bocklabs.wisc.edu>
[netatalk.git] / distrib / rpm / buildrpm
1 #!/bin/sh
2 #
3 # buildrpm
4 # $Id: buildrpm,v 1.2 2001-02-20 16:57:32 rufustfirefly Exp $
5 #
6 # automates the process of building the netatalk rpm
7
8 REDHAT_DIR=/usr/src/redhat
9 CVSNAME=netatalk
10
11 # clean out any object files
12 cd ../../
13 make clean
14
15 # tar up the archive
16 cd ../
17 tar -c -v -f -z ${REDHAT_DIR}/SOURCES/netatalk.tar.gz \
18         --exclude="*/CVS" --exclude="*~" $CVSNAME
19
20 # build the rpm
21 rpm -ba ${REDHAT_DIR}/SPECS/netatalk.spec
22