Re: Using rpm as installer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 23 Mar 2004, AliN wrote:

> Hi James
> 
> Thanks for reply...
> So what I need to do is :
> 
> 1 - tar (zip) all the executable and config files
> 2 - Copy the zipped file to /usr/src/redhat/SOURCES
> 3 - Write the .SPEC file which contains only
>         Header, PREP( which will only contain scripts to unpack the zipped
> file) which I will presume will put it into /usr/src/redhat/BUILD directory
> 4 - Write install scripts in %install section to copy the files into the
> correct directories
>
Yep thats it. 
> Now is the above process correct?
> And by the way do I need to have the %file section and which  files should
> go there..
Yes you do.  The list the files as they will be on the target system.

Cheers...james


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux