# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name MonadRandom %global common_summary Random-number generation monad %global common_description MonadRandom is a random number generation Monad.\ It provides support for computations which consume random values. Name: ghc-%{pkg_name} Version: 0.1.9 Release: 1%{?dist} Summary: %{common_summary} License: MIT 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-mtl-devel BuildRequires: ghc-random-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 * Tue May 21 2013 Shakthi Kannan - 0.1.9-1 - Updated to new upstream 0.1.9 * Wed Feb 13 2013 Fedora Release Engineering - 0.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Dec 7 2012 Shakthi Kannan - 0.1.8-1 - Updated to new upstream 0.1.8 * Sun Nov 18 2012 Jens Petersen - 0.1.6-2 - update with cabal-rpm - correct license tag to MIT * Tue Jun 12 2012 Shakthi Kannan - 0.1.6-1 - Added BuildRequires. - Spec file template generated by cabal2spec-0.25.5.