Or in one-line piped command
Code:
rpm2cpio qt2-designer-2.3.0-3mdk.i586.rpm | cpio -idmv *editraise.xpm
this will extract the files called editraise.xpm (there are two of them in the package) with the directory structure as in the original package, but relative to the current directory. In other words, you will get the following:
Code:
# find . -type f
./usr/lib/qt2/tools/designer/pics/large/editraise.xpm
./usr/lib/qt2/tools/designer/pics/small/editraise.xpm
./qt2-designer-2.3.0-3mdk.i586.rpm