The spec file

Paul Heinlein heinlein at madboa.com
Thu Jan 8 15:09:17 UTC 2004


On Wed, 7 Jan 2004, Casey Price wrote:

> Should it work with the standard ./configure, make and make install
> commands?

I've got a little shell script (below) that I call rpmtest. Just
unpack the tarball you want to build, cd into its top directory and
run the script. It'll let you know if the standard command set will
work.

-- Paul Heinlein <heinlein at madboa.com>

#!/bin/sh
# unpack tarball, eye-grep README &c., then...
#
# pass extra autoconf via ARGS environment variable, e.g.,
#
# ARGS="--disable-nls" /path/to/this/script.sh

BROOT="${BROOT:=/var/tmp/$(basename $PWD)-root}"
eval "$(rpm --eval %configure) $ARGS"
make  $(rpm --eval %_smp_mflags)
eval "$(rpm --define "buildroot $BROOT" --eval %makeinstall)"





More information about the fedora-devel-list mailing list