Quoting Dan Pritts danno@internet2.edu:
I spent three hours figuring out how to write a spec file to create an RPM that doesn't do anything other than tell the RPM database that such and such a capability is installed (some java app didn't think i have "java" since sun's rpms didn't tell RPM it was there).
Lots of info about RPM. With entire chapter describing spec files and how to create RPM packages:
The "template" spec file for Fedora:
http://www.fedora.us/docs/spec.html
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.