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

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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux