
I would like to announce the availability of cabal2rpm, a tool that converts Cabal package descriptions into RPM spec files. Get it here: http://community.moertel.com/ss/space/Cabal2rpm Description: This tool converts Haskell Cabal package-descriptions (.cabal files) into RPM spec files. It makes reasonable guesses at what should go in the specs, but because ``Cabalized'' tarballs presently do not have a standardized layout and naming conventions, you may need to make some adjustments. The syntax for using cabal2rpm is as follows: cabal2rpm package.cabal [name=value...] > package.spec The resulting RPM spec file can be fed to rpmbuild to build binary packages. Note: All packages built by cabal2rpm are targeted to a specific release of GHC from the Fedora Haskell project. Thus if you build Cabal for GHC 6.2.2, you will end up with the following RPMs: cabal-ghc622-0.5-1.i386.rpm cabal-ghc622-debuginfo-0.5-1.i386.rpm cabal-ghc622-0.5-1.src.rpm Cheers, Tom
participants (1)
-
Tom Moertel