cabal2spec: Convert Cabal files into rpm spec files

[ distribution, gpl, library, program ] [ Propose Tags ]

Convert Cabal files into a spec file suitable for building the package with the RPM package manager. This tool primarily targets the SUSE and openSUSE familiy of distributions. Support for other RPM-based distributions is currently not available. Check out cabal-rpm if you need this.

[Skip to Readme]
Versions [RSS] [faq] 1.0, 2.0.0, 2.0.1, 2.0.2, 2.1, 2.1.1, 2.2.0, 2.2.1, 2.2.2,, 2.3, 2.4, 2.4.1, 2.4.2, 2.5, 2.6, 2.6.1, 2.6.2 (info)
Dependencies base (>4.8 && <5), Cabal (>=3.2 && <3.5), cabal2spec, filepath, optparse-applicative, time (>=1.5) [details]
License GPL-3.0-only
Author Peter Simons, Bryan O'Sullivan, Jens Petersen
Revised Revision 1 made by PeterSimons at 2020-10-20T09:21:55Z
Category Distribution
Home page
Source repo head: git clone git://
Uploaded by PeterSimons at 2020-08-18T11:15:05Z
Distributions LTSHaskell:2.6.2, NixOS:2.6.2, Stackage:2.6.2, openSUSE:2.6.2
Executables cabal2spec
Downloads 6487 total (83 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-08-18 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for cabal2spec-2.6.2

[back to package description]


hackage release stackage LTS package stackage Nightly package travis build status

The cabal2spec utility converts a given Cabal file into an RPM spec file that 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 development project.