OSSP CVS Repository

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

ossp-pkg/rc/devtool.conf 1.14 -> 1.15

--- devtool.conf 2002/07/29 14:08:39     1.14
+++ devtool.conf 2003/07/07 15:19:26     1.15
@@ -3,8 +3,8 @@
 ##
 
 %autogen
-    @autogen shtool   1.6.1 "1.[56].*" all
-    @autogen autoconf 2.53  "2.5[3-9]*"
+    @autogen shtool   1.6.2 "1.[56].*" all
+    @autogen autoconf 2.57  "2.5[3-9]*"
 
     echo "===> rc_ex (devtool autogen)"
     (cd rc_ex && ./devtool autogen)
@@ -44,21 +44,54 @@
 
 %configure
     ./configure \
-        --prefix=/tmp/rc \
+        --prefix=/tmp/rc/ \
         --disable-shared \
         --enable-debug
         "$@"
 
 %version
-    ./shtool version -l txt -n "OSSP rc" -e rc_version.c
-    shtool version -l txt -n "OSSP rc" -p "rc_" -e rc_version.c
-    V=`shtool version -l txt -d long rc_version.c`
+    ./shtool version -l c -n "OSSP rc" -p "rc_" -e rc_version.c
+    V=`./shtool version -l c -d long rc_version.c`
     sed -e "s/Version .*(.*)/Version $V/g" <README >README.n
     mv README.n README
 
+%release
+    ./devtool dist
+    ./devtool upload
+
+%tag
+    V=`./shtool version -l c -d short rc_version.c | sed -e 's;\.;_;g'`
+    echo "+++ tagging CVS sources as OSSP_RC_${V}"
+    cvs tag OSSP_RC_${V}
+
 %dist
+    echo "+++ cleaning"
+    rm -f rc-*.tar.gz
+    make distclean >/dev/null 2>&1
+    ./devtool autoclean
+    echo "+++ generating"
+    ./devtool autogen
+    echo "+++ configuring"
+    ./devtool configure
+    echo "+++ building"
+    make clean all -j4
+    echo "+++ cleaning"
     make distclean >/dev/null 2>&1
+    echo "+++ fixing"
     ./shtool fixperm -v .
-    V=`./shtool version -l txt -d short VERSION`
+    echo "+++ rolling"
+    V=`./shtool version -l c -d short rc_version.c`
     ./shtool tarball -o rc-${V}.tar.gz -d rc-${V} -u ossp -g ossp \
-                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool.conf' -c 'gzip --best' .
+                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$,*.bak,00TODO,autom4te\.cache,^[0-9]\.*' \
+                     -c 'gzip --best' .
+    ls -l rc-${V}.tar.gz
+    echo "+++ testing"
+    gunzip <rc-${V}.tar.gz | tar tvf - | head -10
+    echo "[...]"
+    gunzip <rc-${V}.tar.gz | tar tvf - | tail -10
+
+%upload
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/tool/rc/"
+        V=`./shtool version -lc -dshort rc_version.c`
+    scp rc-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/tool/rc/
+

CVSTrac 2.0.1