To see a list of the files in some remote package use;
- repoquery -ql gstreamer
To see what objects it provides use...; ???
extract a single file http://wiki.centos.org/TipsAndTricks/YumAndRPM
--provides list capabilities that this package provides
--requires list capabilities required by package(s) --conflicts list capabilities this package conflicts with --whatrequires query/verify the package(s) which require a dependency --whatprovides query/verify the package(s) which provide a dependency --fileprovide list file names with provides --filerequire list file names with requires
yum with chef. http://wiki.opscode.com/display/chef/Yum+Package+Resource
inspect a file from a package; rpm2cpio logrotate-1.0-1.i386.rpm |cpio -ivd etc/logrotate.conf
verify what files have been altered since installation; rpm -V packagename
some notes on the options, and how they are structued http://www.rpm.org/max-rpm/
Details of the specfile; http://www.rpm.org/max-rpm/ch-rpm-inside.html
Comments — Human-readable notes ignored by RPM. Tags — Define data. Scripts — Contain commands to be executed at specific times. Macros — A method of executing multiple commands easily. The %files list — A list of files to be included in the package. Directives — Used in the %files list to direct RPM to handle certain files in a specific way. Conditionals — Permit operating system- or architecture-specific preprocessing of the spec file.