On Thu, 17 Aug 2000, John Summerfield wrote:
>> >Mike
>> >Just what's in a src.rpm that's so useful that is NOT in the spec file?
>>
>> Umm... the source code? Depends on what you mean by "useful" I
>
>Of course, if you want the source get the src.rpm.
Yes, but often it is also needed to understand the build process
in a given .spec file. Some specs are very long and
convoluted. Look at the one for glxMesa... Ouch.
>> 1) We might be able to build a new package from the .spec if it
>> isn't to difficult a build process and has no patches.
>
>Two things. 1) The spec file usually tells people how stuff was
>built. For example, the %configure macro. 2) Mostly, patches
>for one release don't apply to the next/ 3) I can't count.
>There are exceptions to most rules. However, the spec file is
>always pretty small. Including it's painless.
Sorry about the mess above. You have a right margin that goes
past 80 colums or something... I hit CTRL-J in pine to word wrap
it so I could read it.
No patches don't always apply cleanly, or are often unneeded from
release to release, but some patches are used to CONFIGURE, and
if they aren't there you have to write your own. Each package is
very different so the rules that may apply to one package do not
apply to the other. "nice" packages are a breeze and taking the
.spec is all that is needed. Not all are nice though. Most
packages I deal with seem to be the not-nice type.
>[summer@emu summer]$ rpm -qif /usr/bin/rpmbuilder
>Name : rpmbuilder Relocations: /usr
>Version : 0.5 Vendor: (none)
>Release : 2mdk Build Date: Sat May 13 08:52:19
>2000
>Install date: Tue Jun 20 17:13:59 2000 Build Host: emu.os2.ami.com.au
>Group : Archiving/Other Source RPM:
>rpmbuilder-0.5-2mdk.src.rpm
>Size : 55543 License: GPL
>URL : http://www.klabs.net/rpmbuilder
>Summary : Graphical RPM packaging tool
>Description :
>Convert tar.gz or tar.bz2 file to RPM's with tha nice GUI environment.
No way! Where can I get a non-murder-death-kill
version? (mdk) ;o)
I'm going to hunt on contrib/rpmfind... Thanks for the tip!
I'm working on a .spec right now for the caudium webserver, and
it is not going so good.. ;o) Actually I'm getting close.. but
a frontend to RPM would be nice indeed!
http://caudium.sourceforge.net
Thanks again!
TTYL
--
Mike A. Harris Linux advocate
Computer Consultant GNU advocate
Capslock Consulting Open Source advocate
Try out Red Hat Linux today: http://www.redhat.com
ftp://ftp.redhat.com/pub/redhat/redhat-6.2/
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list