packages feed

cabal2spec-2.0.0: cabal2spec.cabal

name:                   cabal2spec
version:                2.0.0
synopsis:               Convert Cabal files into rpm spec files
homepage:               https://github.com/peti/cabal2spec
license:                GPL-3
license-file:           LICENSE
author:                 Peter Simons, Bryan O'Sullivan, Jens Petersen
maintainer:             simons@cryp.to
category:               Distribution
build-type:             Simple
cabal-version:          >=1.10
tested-with:            GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3
                      , GHC == 8.0.2, GHC == 8.2.2

extra-source-files:
  README.md
  test/golden-test-cases/*.cabal
  test/golden-test-cases/*.spec.golden

description:
  Convert Cabal files into a
  <http://ftp.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html spec file>
  suitable for building the package with the RPM package manager. This tool
  primarily targets the <http://www.suse.com/ SUSE> and
  <http://www.opensuse.org openSUSE> familiy of distributions. Support for
  other RPM-based distributions is currently not available. Check out
  <http://hackage.haskell.org/package/cabal-rpm cabal-rpm> if you need this.

source-repository head
  type:                 git
  location:             git://github.com/peti/cabal2spec.git

library
  hs-source-dirs:       src
  ghc-options:          -Wall
  build-depends:        base < 5
                      , Cabal > 2
                      , filepath
                      , time >= 1.5
  exposed-modules:      Cabal2Spec
  default-language:     Haskell2010

executable cabal2spec
  main-is:              Main.hs
  hs-source-dirs:       cabal2spec
  other-modules:        Paths_cabal2spec
  build-depends:        base < 5
                      , Cabal > 2
                      , cabal2spec
                      , filepath
                      , optparse-applicative
  default-language:     Haskell2010
  ghc-options:          -Wall

test-suite regression-test
  type:                 exitcode-stdio-1.0
  main-is:              Main.hs
  hs-source-dirs:       test
  build-depends:        base
                      , Cabal > 2
                      , cabal2spec
                      , filepath
                      , tasty
                      , tasty-golden
  ghc-options:          -Wall
  default-language:     Haskell2010