ossp-pkg/str/devtool.conf 1.3 -> 1.4
--- devtool.conf 2002/07/28 08:07:41 1.3
+++ devtool.conf 2003/01/06 19:13:47 1.4
@@ -3,9 +3,9 @@
##
%autogen
- @autogen shtool 1.6.1 "1.6.*" echo install mkdir fixperm tarball version
- @autogen libtool 1.4.2 "1.4*"
- @autogen autoconf 2.53 "2.5[3-9]*"
+ @autogen shtool 1.6.2 "1.6.*" echo install mkdir fixperm tarball version
+ @autogen libtool 1.4.3 "1.4*"
+ @autogen autoconf 2.57 "2.5[3-9]*"
%autoclean
@autoclean shtool
@@ -21,11 +21,41 @@
%version
./shtool version -l c -n "OSSP str" -p "str_" -e str_version.c
+ V=`./shtool version -l c -d long str_version.c`
+ sed -e "s/Version .*/Version $V/g" <README >README.n
+ mv README.n README
%dist
- make distclean >/dev/null 2>&1
+ rm -f str-*.tar.gz
+ ./devtool autoclean
+ ./devtool autogen
+ ./configure
+ make clean all man
+ make distclean
./shtool fixperm -v .
V=`./shtool version -l c -d short str_version.c`
- ./shtool tarball -o str-${V}.tar.gz -d str-${V} -u ossp -g ossp \
- -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool.conf' -c 'gzip --best' .
+ ./shtool tarball -o str-${V}.tar.gz -d str-${V} -u ossp -g str \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
+ ls -l str-${V}.tar.gz
+ gunzip <str-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
+ gunzip <str-${V}.tar.gz | tar tvf - | tail -10
+
+%snap
+ rm -f str-*.tar.gz
+ ./devtool autoclean
+ ./devtool autogen
+ ./configure
+ make clean all man
+ make distclean
+ ./shtool fixperm -v .
+ D=`date '+%Y%m%d'`
+ ./shtool tarball -o str-SNAP-${D}.tar.gz -d str-SNAP-${D} -u ossp -g str \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
+ ls -l str-SNAP-${D}.tar.gz
+ gunzip <str-SNAP-${D}.tar.gz | tar tvf - | head -10; echo "[...]"
+ gunzip <str-SNAP-${D}.tar.gz | tar tvf - | tail -10
+
+%release
+ echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/str/"
+ scp str-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/str/
|
|