rpm/examples
jbj 1cf6127e81 Ignore built files.
CVS patchset: 5308
CVS date: 2002/02/09 20:09:59
2002-02-09 20:09:59 +00:00
..
.cvsignore Ignore built files. 2002-02-09 20:09:59 +00:00
Makefile Update to rpm-4.0.x API. 2002-02-09 20:08:32 +00:00
README Capture rpm-3.0.3 examples from "Maximum RPM". 2002-02-09 19:21:34 +00:00
dumprpm.c Update to rpm-4.0.x API. 2002-02-09 20:08:32 +00:00
index.html Capture rpm-3.0.3 examples from "Maximum RPM". 2002-02-09 19:21:34 +00:00
showdb.c Update to rpm-4.0.x API. 2002-02-09 20:08:32 +00:00
showdb2.c Update to rpm-4.0.x API. 2002-02-09 20:08:32 +00:00
string.txt Capture rpm-3.0.3 examples from "Maximum RPM". 2002-02-09 19:21:34 +00:00

README

readme
Scott Bronson
4 Oct 99


These are the example programs from MaximumRPM, updated to today's rpmlib.
You can find MaximumRPM on the http://www.rpm.org/ site.

To build these, edit the makefile as appropriate (if you're using gcc,
you should not have to change anything), then "make all".  3 utilities
will be built:


dumprpm:    % dumprpm filename

   Dumps a textual description of the the contents of the named RPM
   file on disk.


showdb:     % showdb rpmname

   Dumps a textual description of the named RPM.  The RPM must be
   currently installed in the database.


showdb2:    % showdb2 rpmname

   Dumps a textual description of the named RPM, like showdb.  However,
   uses a database query rather than a brute-force scan to locate the
   rpm (should be much more efficient).



You will also find the string.txt file.  This documents the only
difficulty I had updating these programs.