The spec file

Casey Price linuxproject at aws-sj.com
Fri Jan 9 00:22:36 UTC 2004


Thanks, Paul.

-- 
Casey Price


> 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)"
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-devel-list
>





More information about the devel mailing list