cabal2spec: Convert Cabal files into rpm spec files

[ distribution, gpl, library, program ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • 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.2.2.1, 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.13), cabal2spec, filepath, optparse-applicative, time (>=1.5) [details]
Tested with ghc ==9.2.8 || ==9.4.8 || ==9.6.4 || ==9.8.2
License GPL-3.0-only
Author Peter Simons, Bryan O'Sullivan, Jens Petersen
Maintainer simons@cryp.to
Revised Revision 1 made by PeterSimons at 2024-10-27T09:33:30Z
Category Distribution
Home page https://github.com/peti/cabal2spec
Source repo head: git clone https://github.com/peti/cabal2spec.git
Uploaded by PeterSimons at 2024-03-26T09:57:55Z
Distributions LTSHaskell:2.7.1, NixOS:2.7.1, Stackage:2.7.1, openSUSE:2.7.1
Reverse Dependencies 1 direct, 0 indirect [details]
Executables cabal2spec
Downloads 8591 total (38 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-03-26 [all 1 reports]

Readme for cabal2spec-2.7.1

[back to package description]

cabal2spec

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.