On Wed, Oct 30, 2013 at 07:28:04PM +0100, François Patte wrote: > Bonjour, > > Is there a way to build a debian package on an amd64 from a rpm package > built for a 32bits platform.
If the package does not have complex preinst/postinst scripts (or their RPM equivalents), the following method may suffice. Unpack the RPM using rpm2cpio and cpio. Assuming you have the RPM unpacked under a directory "foo", you should then create a folder "foo/DEBIAN" and a file "foo/DEBIAN/control". The control file should have a syntax similar to that output by "apt-cache show <packagename>". In particular you will need the following headers: "Package"; "Version"; "Architecture". You will be warned if you do not also provide "Maintainer" (you)" and "Description". Then, from the parent directory to "foo", issue dpkg-deb -b foo You'll end up with a foo.deb containing the files from the RPM. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131031072412.gf12...@bryant.redmars.org