summaryrefslogtreecommitdiff
path: root/examples/README
blob: 196c8979070c6bf31aee7d0937bc0972fbfedc3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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.