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]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 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, 2.6.3, 2.6.4, 2.7.0, 2.7.1 (info)
Dependencies base (>4.12 && <5), Cabal (>=3.8 && <3.9), cabal2spec, filepath, optparse-applicative, time (>=1.5) [details]
License GPL-3.0-only
Author Peter Simons, Bryan O'Sullivan, Jens Petersen
Category Distribution
Home page
Source repo head: git clone
Uploaded by PeterSimons at 2023-02-02T11:27:20Z
Distributions LTSHaskell:2.7.1, NixOS:2.7.1, Stackage:2.7.1, openSUSE:2.7.0
Reverse Dependencies 1 direct, 0 indirect [details]
Executables cabal2spec
Downloads 8347 total (50 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-02-02 [all 1 reports]

Readme for cabal2spec-2.6.4

[back to package description]


hackage release stackage LTS package stackage Nightly package CI 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.