RPM is trickier than good old tar archives. However. you can probably find out what you are looking for with a command like
rpm -q packagename -l
(where
"l" in "-l" is letter ell). This runs the 'rpm'command in query mode
("-q"), with "-l" to list files in the package called "packagename".
Each file will come out with its full directory path.
For example, I have an RPM
dillo-0.8.6-1.rh9.i386.rpm
which isfor a particular version of 'dillo' (a browser). That is
the name of the RPM. The name of the *package* is "dillo". Hence:
rpm -q dillo -l
gives me a listing which starts:
/etc/dillorc
/etc/dpidrc
/usr/bin/dillo
/usr/bin/dpid
/usr/bin/dpidc
/usr/lib/dillo
/usr/lib/dillo/dpi
/usr/lib/dillo/dpi/bookmarks
/usr/lib/dillo/dpi/bookmarks/bookmarks.dpi
/usr/lib/dillo/dpi/cookies
....................................................
showing exactly where each file in the package is installed.
Hoping this helps, and Happy New Year to all!