packages feed

rpm-0.0.1: rpm.cabal

-- rpm.cabal auto-generated by cabal init. For additional options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                rpm

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.0.1

-- A short (one-line) description of the package.
Synopsis:            Cozy little project to question unruly rpm packages.

-- A longer description of the package.
Description:         RPM is a decent system for listing dependencies among packages.  In its simplest form it works quite well.  Dependency management can become troublesome if you have a system that provides numerous packages.  Worse yet, if you provide many packages for many different versions of a software application.  This library aims to provide a rich set of combinators to assert the validity of a collection of RPMs.

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Eric Stolten

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          stoltene2@gmail.com

-- A copyright notice.
-- Copyright:           

Category:            System

Build-type:          Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:  

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.8

flag tests
    description: Build the tests
    default: False

flag hpc
    description: Use HPC for tests
    default: True



Library
  -- Modules exported by the library.
  Exposed-modules:      System.Rpm.Info, System.Rpm.Combinators, System.Rpm.Xml
  
  -- Packages needed in order to build this package.
  Build-depends:       base >= 4.0 && < 6, filepath >= 1.1.0.3, process >= 1.0.1.2,
                       directory >= 1.0.1.0, HaXml >= 1.20.2
  
  -- Modules not exported by this package.
  --Other-modules:       



executable test-rpm
  main-is: RunTest.hs
  hs-source-dirs:      test, .				       
  if !flag(tests)
    buildable: False
  else
    if flag(hpc)
      ghc-options: -fhpc
      x-hpc: true
    ghc-options: -Wall 
    build-depends:
      base >= 4 && < 6,
      test-framework >= 0.3.0 && < 0.4,
      test-framework-quickcheck >= 0.2.4 && < 0.3,
      test-framework-hunit >= 0.2.4 && < 0.3,
      QuickCheck >= 1.2.0.0 && < 1.3,
      HUnit >= 1.2.2.1 && < 1.3,
      HaXml >= 1.20.2,
      filepath >= 1.1.0.3,
      process >= 1.0.1.2,
      directory >= 1.0.1.0
    other-modules: 
      System.Rpm.Combinators