Re: How to create an RPM from a source tarball?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2006-08-19 at 01:23 +0300, Kostas Sfakiotakis wrote:
> Greetings Aly,
> 
> Aly Dharshi wrote:
> > Wouldn't it be a rpmbuild -ta source_tarball 
> 
> Exactly that. The command as you stated is :
> 
> # rpmbuild -ta pine.tar.gz ( That would be pine , the email client ) .
> 
> One note here , though , the Original Poster should be using Fedora Core 
>   2 and above in order for the above command to work , for Fedora Core 1 
> it is done differently ( man rpm would provide the way ).
> 
> but it should have spec  file in the tarball I believe, could be wrong.
> 
> I believe you are not .
> 
> Now as also stated
> 
> # rpmbuild --rebuild would work but on *.src.rpm files only
> 
> And a small addition for the Original Poster :
> 
>   http://www.rpm.org/RPM-HOWTO/

I guess the rpmbuild process has specifics that it needs within the tarball:

root@wayward4now Desktop]# rpmbuild -ta nxbuilder-2.0.0-23.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
[root@wayward4now Desktop]#

Ric


-- 
================================================
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
...the Sin of Ignorance, and 
...the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.

Linux user# 44256
Sign up at: http://counter.li.org/
http://www.sourceforge.net/projects/oar
http://www.wayward4now.net

================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux