[95052] in RedHat Linux List
Re: .tar.gz to rpm
daemon@ATHENA.MIT.EDU (Dan Fandrich)
Wed Oct 14 17:21:02 1998
From: Dan Fandrich <danf@sentry.npsnet.com>
To: rpm-list@redhat.com
Date: Wed, 14 Oct 1998 14:19:03 -0700 (PDT)
Cc: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.981014143925.10109D-100000@beamer8.physics.yale.edu> from "Jyan-Min Fang" at Oct 14, 98 03:31:43 pm
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> On Wed, 14 Oct 1998, Thomas Ribbrock (Design/DEG) wrote:
> > Shane Poppleton writes:
> > >
> > > How do you turn a .tar.gz into an RPM
> >
> > By going to http://www.rpm.org, downloading "Maximum RPM" (i.e. the full rpm
> > documentation) and reading, especially chapter 6, which describes how to
> > build your own rpms. After that, you should be able to make an rpm out of
> > almost anything...
> >
> > HTH,
> >
> > Thomas
> >
> > P.S.: Honestly, I think your question is not quite clear - are you looking
> > for an easy "converter" between the two formats? Then the answer (to
> > the best of my knowledge) is: There is none. If you're looking for a
> > way to build your own rpms, the way I described above is the way to
> > go.
This is the case for which I wrote `autospec'. It takes a source (or binary)
.tar.gz file that has been untarred into a directory and creates a spec file
from what it sees. If the make file has an `install' target then autospec can
use that information to create the %files section. I'm about to release version
0.3 which gets information from a Linux Software Map file if it finds one,
automatically creating spec files that, in many cases, are as good as can be
produced by hand.
Version 0.2 can be downloaded from
<http://www.npsnet.com/danf/software/pub/autospec-0.2-2.noarch.rpm>
More information and the man page are available at
<http://www.npsnet.com/danf/software/> If you'd like to beta test ver. 0.3,
please e-mail me.
>>> Dan
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.