rpmdep makes it easy to install a package from a set of given RPMs. The first time you have to make a dependency-database, and then you can verify which dependency has to be installed with an RPM package.