Help!

Build a rpm file from (and only from) binaries


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management RSS
Next:  af_packet.c  
Author Message
Don
External


Since: Apr 10, 2007
Posts: 1



PostPosted: Tue Apr 10, 2007 7:25 pm    Post subject: Build a rpm file from (and only from) binaries
Archived from groups: linux>redhat>rpm (more info?)

Hi,

I would like build a rpm file from the pre-compiled binaries
(to compress a.out and b.out into foo.rpm).
I read the rpm man, but can not figure out how.

Do I need a spec file or I can do it just via the command line?

Thank you in advance,
Don
Back to top
Troy Telford
External


Since: Mar 20, 2007
Posts: 2



PostPosted: Thu Apr 12, 2007 5:26 pm    Post subject: Re: Build a rpm file from (and only from) binaries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

you can create an rpm with a pre-compiled binary, but you need a spec file
to do so.

The way it would work is something like this:
* the binaries you want would be SOURCEn's for the RPM.
* You will copy the rpm into %{buildroot}/path
* You have to specify the files in the %files section.

It's really helpful to read "maximum RPM" (google for it; it's *the* main
reference for how to make RPMs)

Don wrote:

> Hi,
>
> I would like build a rpm file from the pre-compiled binaries
> (to compress a.out and b.out into foo.rpm).
> I read the rpm man, but can not figure out how.
>
> Do I need a spec file or I can do it just via the command line?
>
> Thank you in advance,
> Don

--
Troy Telford
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum