Fri, 28 Nov 2008 11:21:08 +0100
Fork project trunk at version 0.7.7 to maintain for future usage.
The original Cable & Wireless development team no longer exists.
The OSSP CVS repository is unavailable (cvs co ossp-pkg/as fails),
however http://cvs.ossp.org/dirview?d=ossp-pkg/as/as-gui is working.
1 ##
2 ## devtool.conf -- Development Tool Configuration
3 ##
5 %autogen
6 @autogen shtool 2.0.0 "2.0.*" echo fixperm install mkdir tarball version
7 @autogen autoconf 2.59 "2.5[3-9]*"
9 %autoclean
10 @autoclean shtool
11 @autoclean autoconf
13 %configure
14 ./configure \
15 --prefix=/tmp/as_gui/ \
16 --datadir=/tmp/as_gui/share/ \
17 --with-mico \
18 --with-esoap \
19 "$@"
21 %release
22 ./devtool dist
23 ./devtool upload
25 %version
26 ./shtool version -l c -n "OSSP as-gui" -p "asgui_" -e as_version.cpp
27 V=`./shtool version -l c -d long as_version.cpp`
28 sed -e "s/Version .*(.*)/Version $V/g" <README >README.n
29 mv README.n README
31 %tag
32 V=`./shtool version -l c -d short as_version.cpp | sed -e 's;\.;_;g'`
33 echo "+++ tagging CVS sources as ASGUI_${V}"
34 cvs tag ASGUI_${V}
36 %dist
37 echo "+++ cleaning"
38 rm -f as-gui-*.tar.gz
39 ./devtool autoclean
40 echo "+++ generating"
41 ./devtool autogen
42 echo "+++ configuring"
43 ./devtool configure
44 echo "+++ building"
45 make clean all -j4
46 echo "+++ cleaning"
47 make distclean >/dev/null 2>&1
48 echo "+++ fixing"
49 ./shtool fixperm -v .
50 echo "+++ rolling"
51 V=`./shtool version -l c -d short as_version.cpp`
52 ./shtool tarball -o as-gui-${V}.tar.gz -d as-gui-${V} \
53 -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$,*.bak' \
54 -e 'autom4te\.cache,as_stub.cpp,as_stub.h,as_scrap,as_gfx/*.png' \
55 -c 'gzip --best' .
56 ls -l as-gui-${V}.tar.gz
57 echo "+++ testing"
58 gunzip <as-gui-${V}.tar.gz | tar tvf - | head -10
59 echo "[...]"
60 gunzip <as-gui-${V}.tar.gz | tar tvf - | tail -10
62 %upload
63 echo "+++ copying to http://as.is.eu.cw.com/source/"
64 V=`./shtool version -l c -d short as_version.cpp`
65 scp as-gui-${V}.tar.gz root@as.de.cw.net:/v/as/web/source/