OSSP CVS Repository

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

ossp-pkg/var/devtool.conf 1.6 -> 1.7

--- devtool.conf 2003/01/30 19:06:37     1.6
+++ devtool.conf 2003/02/14 21:17:07     1.7
@@ -23,13 +23,40 @@
 %version
     shtool version -l txt -n "OSSP var" -p "var_" -e VERSION
     V=`shtool version -l txt -d long VERSION`
-    sed -e "s/Version .*(.*)/Version $V/g" <README >README.n 
+    sed -e "s/Version .*/Version $V/g" <README >README.n 
     mv README.n README
 
 %dist
-    make distclean >/dev/null 2>&1
-    shtool fixperm -v .
-    V=`shtool version -l txt -d short VERSION`
-    shtool tarball -o var-${V}.tar.gz -d var-${V} -u ossp -g ossp \
-                   -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool.conf' -c 'gzip --best' .
+    rm -f var-*.tar.gz
+    ./devtool autoclean
+    ./devtool autogen
+    ./configure
+    make clean all man
+    make distclean
+    ./shtool fixperm -v .
+    V=`./shtool version -l txt -d short VERSION`
+    ./shtool tarball -o var-${V}.tar.gz -d var-${V} -u ossp -g var \
+                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
+    ls -l var-${V}.tar.gz
+    gunzip <var-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
+    gunzip <var-${V}.tar.gz | tar tvf - | tail -10
+
+%snap
+    rm -f var-*.tar.gz
+    ./devtool autoclean
+    ./devtool autogen
+    ./configure
+    make clean all man
+    make distclean
+    ./shtool fixperm -v .
+    D=`date '+%Y%m%d'`
+    ./shtool tarball -o var-SNAP-${D}.tar.gz -d var-SNAP-${D} -u ossp -g var \
+                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
+    ls -l var-SNAP-${D}.tar.gz
+    gunzip <var-SNAP-${D}.tar.gz | tar tvf - | head -10; echo "[...]"
+    gunzip <var-SNAP-${D}.tar.gz | tar tvf - | tail -10
+
+%release
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/var/"
+    scp var-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/var/
 

CVSTrac 2.0.1