[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Is there any way of creating a simple install rpm with no source?
- From: John Pye <john pye student unsw edu au>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: Is there any way of creating a simple install rpm with no source?
- Date: Fri, 28 Jul 2006 17:38:53 +1000
This is not too hard at all. The steps I user are:
1. create a tarball containing the binaries you want to distribute
2. take a standard (simple, straightforward) .spec file
3. remove everything from the %build section
4. remove everything from the %install section and replace it with a
series of 'install' commands that take the files from your tarball and
put them into the correct place under your %{buildroot}.
Hope that helps a bit. I don't have an example handy, unfortunately.
Cheers
JP
Pep wrote:
>I want to create a rpm from our software for easier installing in our server
>farm.
>
>All the examples I can find all expect me to have a source tar ball that I
>want rpm to create a source and binary rpm from, which is not what I want to
>do :(
>
>All I want to do is simply create a rpm that will package the binaries that
>are already built not do the complete build for me.
>
>Can this be done, if so can someone please point me at a good example so that
>I can follow it?
>
>TIA,
>Pep.
>
>_______________________________________________
>Rpm-list mailing list
>Rpm-list redhat com
>https://www.redhat.com/mailman/listinfo/rpm-list
>
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]