On Sat, Feb 24, 2001 at 02:20:39AM +0800, csj wrote: > Is there a quick and dirty way, say a script or utiltiy, to convert > an rpm .spec file into the ../debian (sub)directory needed by > build-package and friends? > > I see far more redhat sources floating around than their debianiazed > equivalents.
For binaries, try: ---------------------------------------------------------------------- Package: alien Priority: optional Section: admin Installed-Size: 181 Maintainer: Joey Hess <[EMAIL PROTECTED]> Architecture: all Version: 7.20 Depends: debhelper (>= 3), perl, rpm (>= 2.4.4-2), dpkg-dev, make, cpio Suggests: patch, bzip2 Filename: pool/main/a/alien/alien_7.20_all.deb Size: 111800 MD5sum: 18071e1d76c31a636e9c57064991b6ce Description: Install Red Hat, Stampede, and Slackware Packages with dpkg. Alien allows you to convert Red Hat, Stampede and Slackware Packages into Debian packages, which can be installed with dpkg. . It can also convert into Slackware, Red Hat, and Stampede packages. . This is a tool only suitable for binary packages. ---------------------------------------------------------------------- Otherwise, screw the rpm .spec file, just use debhelper: ---------------------------------------------------------------------- Package: debhelper Priority: optional Section: devel Installed-Size: 356 Maintainer: Joey Hess <[EMAIL PROTECTED]> Architecture: all Version: 3.0.6 Depends: perl, fileutils (>= 4.0-2.1), file (>= 3.23-1), dpkg-dev (>= 1.7.0), lynx Suggests: dh-make, debconf-utils Filename: pool/main/d/debhelper/debhelper_3.0.6_all.deb Size: 178840 MD5sum: ab5d7a515f97e9249e4ad3e5c9d1a21d Description: helper programs for debian/rules A collection of programs that can be used in a debian/rules file to automate common tasks related to building binary debian packages. Programs are included to install various files into your package, compress files, fix file permissions, integrate your package with the debian menu system, suidmanager, doc-base, etc. ---------------------------------------------------------------------- -- Chad Walstrom <[EMAIL PROTECTED]> | a.k.a. ^chewie http://www.wookimus.net/ | s.k.a. gunnarr Key fingerprint = B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD
pgp9WeAEUqr4O.pgp
Description: PGP signature