# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name crypto-api %global common_summary A generic interface for cryptographic operations %global common_description A generic interface for cryptographic operations (hashes, ciphers, randomness).\ Maintainers of hash and cipher implementations are encouraged to add instances\ for the classes defined in Crypto.Classes. Crypto users are similarly\ encouraged to use the interfaces defined in the Classes module.\ Any concepts or functions of general use to more than one cryptographic\ algorithm (eg padding) is within the scope of this package. Name: ghc-%{pkg_name} Version: 0.11 Release: 1%{?dist} Summary: %{common_summary} License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cereal-devel BuildRequires: ghc-entropy-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-devel # End cabal-rpm deps %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %ghc_devel_package %ghc_devel_description %ghc_devel_post_postun %ghc_files LICENSE %changelog * Fri Mar 22 2013 Fedora Haskell SIG - 0.11-1 - spec file generated by cabal-rpm-0.7.1 * Sat Oct 30 2010 Ben Boeckel - 0.1.2.4-1 - Initial package * Sat Oct 30 2010 Fedora Haskell SIG - 0.1.2.4-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.2