One-liner way to extract files from RPM package.

rpm2cpio ./somepackage.rpm | cpio -idmv

Reference: cpio manual