On Thu, 2002-08-01 at 03:00, Ashwin Khandare wrote:
> Dear Sir,
> 
> Does anyone knows about any script/tool that can convert tar.gz files into rpms?


Depends.  if the tarball has a spec file in it rpm will do it:
from the rpm man page:
 The argument used is -b if a spec file is being used to build the
package and -t if rpm should look inside of a (pos­
       sibly compressed) tar file for the spec file to use. After the
first argument, the next character  (STAGE)  specifies
       the stages of building and packaging to be done and is one of:

       -ba    Build binary and source packages (after doing the %prep,
%build, and %install stages).

If the tarball in question happens to be a perl cpan module check out
cpanflute.  I saw a message about it on this list a while back and it
worked like a dream.

Bret



-- 
redhat-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to