OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/devtool.conf versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/devtool.conf 1.5 -> 1.6

--- devtool.conf 2001/10/31 19:58:22     1.5
+++ devtool.conf 2002/01/31 21:35:13     1.6
@@ -20,12 +20,32 @@
         "$@"
 
 %version
-    ./shtool version -l txt -n "OSSP SA" -e VERSION
+    ./shtool version -l txt -n "OSSP sa" -e VERSION
+    V=`./shtool version -l txt -d long VERSION`
+    sed -e "s/Version .*(.*)/Version $V/g" <README >README.n 
+    mv README.n README
 
 %dist
-    make distclean >/dev/null 2>&1
+    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 ossp \
-                     -e 'CVS,\.cvsignore,\.[ao],^\.,devtool.conf' -c 'gzip --best' .
+                     -e 'CVS,\.cvsignore,\.[ao],^\.,devtool*,*.tar.gz' -c 'gzip --best' .
+    ls -l sa-${V}.tar.gz
+    echo "+++ testing"
+    gunzip <sa-${V}.tar.gz | tar tvf -
+
+%release
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/sa/"
+    scp sa-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/sa/
 

CVSTrac 2.0.1