Thu, 06 Aug 2009 13:21:30 +0200
Remove seemingly declarations unnecessary according to Qt 4.5.2 headers.
1 ##
2 ## devtool.conf -- Development Tool Configuration
3 ##
5 %autogen
6 @autogen shtool 2.0.7 "2.0.*" echo fixperm install mkdir tarball version
7 @autogen autoconf 2.63 "2.6[0-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 "Please find . -exec grep myusername {}"
51 echo "+++ rolling"
52 V=`./shtool version -l c -d short as_version.cpp`
53 ./shtool tarball -o as-gui-${V}.tar.gz -d as-gui-${V} \
54 -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$,*.bak' \
55 -e 'autom4te\.cache,as_stub.cpp,as_stub.h,as_scrap,as_gfx/*.png' \
56 -c 'gzip --best' .
57 ls -l as-gui-${V}.tar.gz
58 echo "+++ testing"
59 gunzip <as-gui-${V}.tar.gz | tar tvf - | head -10
60 echo "[...]"
61 gunzip <as-gui-${V}.tar.gz | tar tvf - | tail -10
63 %upload
64 echo "+++ copying to ftp://ftp.sourcehost.tld/source/"
65 V=`./shtool version -l c -d short as_version.cpp`
66 scp as-gui-${V}.tar.gz user@dev.host.tld:/z/as/source/