--- devtool.conf 2003/11/10 18:38:27 1.19
+++ devtool.conf 2003/11/10 18:57:43 1.20
@@ -26,36 +26,31 @@
mv README.n README
%dist
+ echo "+++ removing old tarballs"
rm -f sa-*.tar.gz
+ echo "+++ generating"
./devtool autoclean
./devtool autogen
+ echo "+++ configuring"
./configure
+ echo "+++ building"
make clean all man
+ echo "+++ cleaning"
make distclean
+ echo "+++ fixing"
./shtool fixperm -v .
+ echo "+++ rolling"
V=`./shtool version -l txt -d short VERSION`
- ./shtool tarball -o sa-${V}.tar.gz -d sa-${V} -u ossp -g sa \
- -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
+ ./shtool tarball -o sa-${V}.tar.gz -d sa-${V} -u ossp -g ossp \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
ls -l sa-${V}.tar.gz
- gunzip <sa-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
+ echo "+++ testing"
+ gunzip <sa-${V}.tar.gz | tar tvf - | head -10
+ echo "[...]"
gunzip <sa-${V}.tar.gz | tar tvf - | tail -10
-%snap
- rm -f sa-*.tar.gz
- ./devtool autoclean
- ./devtool autogen
- ./configure
- make clean all man
- make distclean
- ./shtool fixperm -v .
- D=`date '+%Y%m%d'`
- ./shtool tarball -o sa-SNAP-${D}.tar.gz -d sa-SNAP-${D} -u ossp -g sa \
- -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
- ls -l sa-SNAP-${D}.tar.gz
- gunzip <sa-SNAP-${D}.tar.gz | tar tvf - | head -10; echo "[...]"
- gunzip <sa-SNAP-${D}.tar.gz | tar tvf - | tail -10
-
-%release
+%upload
echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/sa/"
- scp sa-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/sa/
+ V=`./shtool version -l txt -d short VERSION`
+ scp sa-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/sa/
|