PDA

View Full Version : rpm database



mukeshsoni
27th December 2006, 08:07 PM
how can i add metadata about programs installed from source to the rpm database?

sideways
27th December 2006, 09:14 PM
http://www.redhat.com/magazine/002dec04/features/betterliving-part2/

you could look at the simple example here, and then use it as a template to create an application_name.rpm for the application which contains just a trivial dummy file (but all the meta info about the application you want)

then rpm -ihv application_name.rpm

will update the database


edit:
a more detailed example
http://www.rpm.org/max-rpm/ch-rpm-build.html