LOSURS

How to extract all the files from an RPM package

rpm2cpio filename | cpio -i --make-directories

Voilà.