Thanks for checking Martin. On Sun, Nov 10, 2002 at 11:11:39PM +1100, Martin Sevior wrote: > Could please post your rpm build scripts to the list? I'd like to check > some things with them and build rpms too. > Please include the script that makes plugin rpms.
All I do is a Makefile that applies some sed rules to the spec template (based on the abi Makefile) and then makes a tar.gz with the sources. I switch to another user, and do: rpmbuild -ta /tmp/abiword-version.tar.gz Nothing weird or strange here. Hugs, rms -- + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...?
ABI_BUILD_PACKAGER="Rui Miguel Seabra <[EMAIL PROTECTED]>" ABI_BUILD_VERSION=1.1.1.99 ABI_RELEASE_NUMBER=200211091930 UNIX_CAN_BUILD_STATIC=0 ABI_OPT_DEBUG=1 ABI_OPT_GNOME=1 #ABI_OPT_BIDI_ENABLED=1 ABI_OPT_PERL=0 ABI_OPT_LIBJPEG=1 ABI_OPT_LIBXML2=1 ABI_OPT_OPTIMIZE=1 ABI_OPT_PSPELL=1 ABI_PLUGINS_TOOLS=0 ABI_PLUGINS_IMPEXP=0 ABI_OPT_XFT=1 #-e 's/__ABI_OPT_BIDI_ENABLED__/${ABI_OPT_BIDI_ENABLED}/' abi: abiword-${ABI_BUILD_VERSION} sed -e 's/__ABI_BUILD_VERSION__/${ABI_BUILD_VERSION}/' \ -e 's/__ABI_RELEASE_NUMBER__/${ABI_RELEASE_NUMBER}/' \ -e 's/__UNIX_CAN_BUILD_STATIC__/${UNIX_CAN_BUILD_STATIC}/' \ -e 's/__ABI_OPT_DEBUG__/${ABI_OPT_DEBUG}/' \ -e 's/__ABI_OPT_GNOME__/${ABI_OPT_GNOME}/' \ -e 's/__ABI_OPT_PERL__/${ABI_OPT_PERL}/' \ -e 's/__ABI_OPT_LIBJPEG__/${ABI_OPT_LIBJPEG}/' \ -e 's/__ABI_OPT_LIBXML2__/${ABI_OPT_LIBXML2}/' \ -e 's/__ABI_OPT_OPTIMIZE__/${ABI_OPT_OPTIMIZE}/' \ -e 's/__ABI_OPT_PSPELL__/${ABI_OPT_PSPELL}/' \ -e 's/__ABI_BUILD_PACKAGER__/${ABI_BUILD_PACKAGER}/' \ -e 's/__ABI_PLUGINS_TOOLS__/${ABI_PLUGINS_TOOLS}/' \ -e 's/__ABI_PLUGINS_IMPEXP__/${ABI_PLUGINS_IMPEXP}/' \ -e 's/__ABI_OPT_XFT__/${ABI_OPT_XFT}/' \ abiword-${ABI_BUILD_VERSION}/abi/src/pkg/linux/rpm/abiword.spec-template > abiword-${ABI_BUILD_VERSION}/abiword.spec rm -f /tmp/abiword-*.tar.gz rm -f ./abiword-${ABI_BUILD_VERSION}/abi/src/other/pango/pango.spec tar czvf /tmp/abiword-${ABI_BUILD_VERSION}.tar.gz abiword-${ABI_BUILD_VERSION}/abi abiword-${ABI_BUILD_VERSION}/abiword-plugins abiword-${ABI_BUILD_VERSION}/unixfonts abiword-${ABI_BUILD_VERSION}/abidistfiles abiword-${ABI_BUILD_VERSION}/abiword-docs abiword-${ABI_BUILD_VERSION}/abiword.spec abiword-${ABI_BUILD_VERSION}/psiconv abiword-${ABI_BUILD_VERSION}/wv chmod a+r /tmp/abiword-${ABI_BUILD_VERSION}.tar.gz abiword-${ABI_BUILD_VERSION}: mv abiword-* abiword-${ABI_BUILD_VERSION}
msg27914/pgp00000.pgp
Description: PGP signature