On 24-Jul-2001 Abraham Mandac wrote:
> Two questions:
> 
> What is the difference between a 'regular'
> *.tar.gz source tarball and a *.src.rpm?
> 
> And what does it mean when an rpm file has
> 'devel' in it?
> 
> Thanks -- Abe


Technicly they are just two different forms of packing stuff together. But
normally the are used as described below:

a tar.gz is just the sourcecode without information about rpm stuff.

When you have a src.rpm you are able to build a binary rpm from this source
file (with the entries to the rpm database). (i.e. with rpm --rebuild
*.src.rpm).

Normally a src.rpm files contains a tarball and one (or more) additional files.
The most important one is packagnane.spec it tells the rpm programm everything
it must know (how to build a binary rpm from  src, what files belong to this
package, what packages are required, what packages are provided, ....)

When do a rpm -ivh package.src.rpm  you'll normally )depends on the creator
of the src.rpm) get package.tar.gz in /usr/src/RPM/SOURCES and
package.spec in  /usr/src/RPM/SPECS


The devel packages normally come with a library. The normal package (without
devel) contains the libraries itself (.so, .a). They are needed in order to run
a program which is dynamicly linked against this lib.
The devel package contains the header files and all othter stuff that is
required to build (compile) a program that used this library. For example if
you want to compile a kde program you'll need the the devel packages of the
kdelibs but if you just want to use a kde programm you just need the "normal"
rpm package.
The devel doesn't say anything how stable the package is. 


Gregor
----------------------------------
E-Mail: Gregor Maier <[EMAIL PROTECTED]>
Date: 24-Jul-2001
Time: 11:05:38
----------------------------------

Reply via email to