Re: Tar -> RPM

From: Jason Dixon (jason_at_dixongroup.net)
Date: 12/05/03

  • Next message: Jason Dixon: "Re: samba configuration"
    To: Red Hat Mailing List <redhat-list@redhat.com>
    Date: 05 Dec 2003 11:19:57 -0500
    
    

    On Fri, 2003-12-05 at 10:30, Dege, Robert C. wrote:
    > Is there anyway to take a tar file containing binary files & convert it into
    > an RPM package? I know you can do it with tar files containing source
    > files, but I haven't heard or seen anything about binary tar files.

    You'll need to write a spec file and create your own rpm. There are
    docs online to help you out, try googling for "max-rpm.pdf".

    Something very simple would have your %install section copying the files
    over to the appropriate locations in your filesystem, then list the
    files to be packaged up in the %files section. Any pre-install or
    post-install tasks can be scripted in your %pre and %post sections,
    respectively.

    HTH.

    -- 
    Jason Dixon, RHCE
    DixonGroup Consulting
    http://www.dixongroup.net
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jason Dixon: "Re: samba configuration"