Package cabal-rpm

RPM packaging tool for Haskell Cabal-based packages

https://hackage.haskell.org/package/cabal-rpm

Cabal-rpm is a tool for RPM packaging of Haskell Cabal-based packages.
It interacts with dnf to install build dependencies and can also act as
a cabal-install wrapper installing dependencies packaged in Fedora before
running "cabal install".

cblrpm has commands to generate a RPM spec file and srpm for a package.
It can rpmbuild packages, dnf install their dependencies, prep packages, and
install them. There are commands to list package dependencies and missing
dependencies. The diff command compares the current spec file with a freshly
generated one and the update command updates the spec file to latest version
from Hackage.

General Commands (Section 1)
cabal-rpm
cblrpm generates RPM packages and .spec files from Haskell Cabal package. If no path-or-pkg is specified, cblrpm looks for a .spec or Otherwise, it will look...