I have a source RPM from which I would like to extract the source as closely as possible to apt-get source PACKAGE. What are the available methods to do this?
Extracting Source RPMs in debian
debian;rpm
The tool to do this on RH-esque systems is rpm2cpio. If you can find that tool for Debian systems, or build it for Debian systems, that's pretty much all you need. The command is:$ rpm2cpio <RPMfile>.rpm | cpio -idmv