Re: Tar -> RPM
From: Jason Dixon (jason_at_dixongroup.net)
To: Red Hat Mailing List <email@example.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,
-- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:firstname.lastname@example.org?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list