Cabal2rpm is a tool that converts
Haskell-Cabal package descriptions into RPM spec files. It can be used quickly and easily to create RPMs from Cabal packages.
Cabal2rpm is written in Perl.
Download it here:
cabal2rpm.
Read the docs online here:
cabal2rpm docs.
News
2007-09-07: Release 0.20_08. Updated scriptlets for registering and unregistering packages; we now use current best practices.
2005-03-02: Release 0.20_04. Bug fix: There was a typo in a macro expansion in the %build section of the RPM-spec template.
2005-02-23: Release 0.20_03. Clean ups for consistency. Most visible change: renamed "pkgname" variable to "rpm_name".