Convert Cabal files into rpm spec files https://github.com/peti/cabal2spec
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
cabal2spec utility converts a given Cabal file into an RPM spec
builds that package with the RPM package manager. This tool is used to generate
various Haskell package sets for the SUSE and
openSUSE familiy of distributions. Plenty of
examples for generated spec files can be found in the openSUSE Haskell