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

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

 



Greetings Aly,

Aly Dharshi wrote:

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]#

Which is a spec file, to tell the rpmbuild -ta command (and parameters) how to build the package to an end rpm.

If you want to use the spec file then you would have to uncompress the file and take the specfile . Then the command goes :

# rpmbuild -ba *.spec ( *.spec , is a spec file ).

Kostas



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

  Powered by Linux