Thank you!  This took care of my problem.

Kent

At 08:36 PM 10/3/00 -0700, you wrote:
>Kent Loobey wrote:
>
>> GnomePM is a GPL program.  Red Hat includes it in it's 6.2 distribution.  I
>> also downloaded the srpm for this program.  I want to look at the source
>> code.  I can't seem to do that.  What is the trick to getting at the source
>> code for a GPL program?
>
>List the files in the rpm with this command.
>
>    % rpm2cpio whatever-1.23.src.rpm | cpio -t
>
>Extract them into the current directory with this.
>
>    % rpm2cpio whatever-1.23.src.rpm | cpio -ixv  (I think.)
>
>This will give you one or more .tar.gz or .tar.bz2 files, zero or more
>.patch files, and a .spec file that includes something like a shell
>script that shows how to unpack the tarfiles and apply the patches.
>
>I've never found out how to execute the .spec directly (aside from
>rpm --rebuild), so I read them and type in the commands, substituting
>variables by hand.  There's probably a better way...
>
>-- 
>                                        K<bob>
>[EMAIL PROTECTED], http://www.jogger-egg.com/
>

Reply via email to