On Mon, 11 Dec 2000, Trebor A. Rude wrote:

>       Are there any special tricks to using src RPMS, or do you just install 
> the source, cd to whereever RPM put it, and do the normal "./configure ; 
> make ; make install" thing? I haven't tried it in a long time, but in the 
> past, I had much better luck with tarballs than source RPMS, so I just 
> wanted to see if I was missing something before I tried to fix anything 
> from cooker. Thanks.

rpm --rebuild <rpm>. And a nice rpm for your architecure will be made.

In the .src.rpm is .spec file which holds all the "./configure;make;make
install" lines (and dirty tricks) which is needed to make the program. If
you have alle the components which the .spec file requires, you can do
build operations with rpm -bX <.spec>. The program will be installed in a
temporary directory, and made into a package.

If you want to see (and fix) what's inside, do a rpm -i <rpm>, and the
source and spec file will be installed.

The usual place where these files end, are the directories under
/usr/src/RPM

And read the MDK-RPM-HOWTO

seb



Reply via email to