ossp-pkg/var/devtool.conf
1.6
##
## devtool.conf -- Development Tool Configuration
##
%autogen
@autogen shtool 1.6.2 "1.[56].*" all
@autogen libtool 1.4.3 "1.4*"
@autogen autoconf 2.57 "2.5[3-9]*"
%autoclean
@autoclean shtool
@autoclean libtool
@autoclean autoconf
%configure
./configure \
--prefix=/tmp/var \
--disable-shared \
--enable-maintainer \
--enable-debug \
"$@"
%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
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' .