Building RPMs from source
Can someone tell me how I can do this (again)?
I'll enter: rpmbuild -ta myfile.tar.gz I'll always get this message: 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) This is a problem with all of the source files, and I think I'm at my wits end. Much appreciated!:cool: |
To build an rpm from a source file, the source file has to contain an rpm .spec file. To get an idea of what a spec file looks like, install any .src.rpm you have handy, and look in the SOURCE and SPECS directories. In SOURCE, you'll find a tarball. In SPECS, you'll find an rpm .spec file.
Some tarballs contain the .spec file, which makes them basically a .src.rpm which looks and installs a bit differently for building. Most tarballs I've seen don't include the .spec file. |
Thanks!
Thanks for the info!
For a moment I was bouncing off the walls: I'll wear my badge with pride: :newbie: |
All times are GMT -5. The time now is 11:08 AM. |