Vincent Danen stated the following:
>
> On Thu Feb 07, 2002 at 07:43:31AM -0700, SoloCDM wrote:
>
> >>> What options are needed with the rpm command to build a RPM from a
> >>> tarball?
>
> >>> rpm <options> <whatever_name>.tar.gz
>
> >> rpm -ta (file).tar.gz will build a bin/source rpm, so you could likely
> >> just do rpm -tb to build the binary only.
>
> > I have problems with the execution of the options on a tarball, which
> > reflects in the following:
>
> > Name field must be present in package: (main package)
> > Version field must be present in package: (main package)
> > Release field must be present in package: (main package)
> > Summary field must be present in package: (main package)
> > Group field must be present in package: (main package)
> > License field must be present in package: (main package)
>
> > I take it that this means there needs to be a spec file or what?
>
> Yes, there should be a spec file in the tarball. I don't know all of
> the specifics (ie. where the spec file should be located, etc.)
> because I've never really played with this, but I suspect that rpm
> must have a spec to work with. If you want to convert a tarball to
> rpm, you probably want to use something like alien (I think it does
> that), or some other conversion program.
I wouldn't attempt a search on the Internet for alien, because the
magnitude of results it would produce. Do you have a URL?
--
Note: When you reply to this message, please include the mailing
list/newsgroup address and my email address in To:.
*********************************************************************
Signed,
SoloCDM