RE: [newbie] SRPMS

2001-11-28 Thread Jose M. Sanchez

Source RPM's are used to create the final "distribution" rpm's for
software.

The spec files and patches are all applied against the base
distribution. The software is included this way so that changes can be
easily isolated against a base.

However you should -NOT- be dealing with any of this.

RPM does all the work for you!

To create a "final" installable software RPM from a Source (SRPM) merely
grab the source rpm and issue a command such as this...

"rpm --rebuild Software.src.rpm"

If everything goes ok, RPM will unpack the SRPM, apply the patches and
updates configure and compile everything.

It leaves the resulting files in /usr/src/RPMS/RPMS/ix86 and
/usr/src/RPMS/RPMS/noarch/.

You can then "rpm -Uvh Software.ix86.rpm" to install the newly compiled
software.

Simple eh?

-JMS


|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED]] On Behalf Of 
|Moshe Kaminsky
|Sent: Wednesday, November 28, 2001 3:10 AM
|To: [EMAIL PROTECTED]
|Subject: [newbie] SRPMS
|
|
|Hi,
|
|Maybe someone can explain what are the SRPMS? I usually 
|install programs from a .tar.bz2 file, using the 'configure, 
|make, make install' sequence. What should I do with the other 
|files that I find the SRPM? 
|(Especially the SPEC files, and the patches). What is the 
|advantage of using these instead of the plain .tar.bz2 files?
|
|Thanks,
|Moshe
|
|




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] SRPMS

2001-11-28 Thread NDPTAL85

SRPMS are Source RPM's. RPM's are Red Hat package Manager installs. 
Mandrake, is an RPM based distro so you can use RPM's to install things 
instead of compiling from source as you have been. Enter "man rpm" into 
your terminal to learn more. Once you have gotten the basic commands 
down check out rpmfind.net and search for new software to install.


On Wednesday, November 28, 2001, at 03:09 AM, Moshe Kaminsky wrote:

> Hi,
>
> Maybe someone can explain what are the SRPMS? I usually install programs
> from a .tar.bz2 file, using the 'configure, make, make install'
> sequence. What should I do with the other files that I find the SRPM?
> (Especially the SPEC files, and the patches). What is the advantage of
> using these instead of the plain .tar.bz2 files?
>
> Thanks,
> Moshe
>
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com