ghc-MonadRandom/ghc-MonadRandom.spec

62 lines
1.3 KiB
RPMSpec
Raw Normal View History

2012-09-07 11:55:23 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name MonadRandom
2012-11-18 09:28:21 +00:00
%global common_summary Random-number generation monad
2012-09-07 11:55:23 +00:00
2012-11-18 09:28:21 +00:00
%global common_description MonadRandom is a random number generation Monad.\
It provides support for computations which consume random values.
2012-09-07 11:55:23 +00:00
Name: ghc-%{pkg_name}
Version: 0.1.6
2012-11-18 09:28:21 +00:00
Release: 2%{?dist}
2012-09-07 11:55:23 +00:00
Summary: %{common_summary}
2012-11-18 09:28:21 +00:00
License: MIT
2012-09-07 11:55:23 +00:00
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
2012-11-18 09:28:21 +00:00
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
2012-09-07 11:55:23 +00:00
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-random-devel
2012-11-18 09:28:21 +00:00
# End cabal-rpm deps
2012-09-07 11:55:23 +00:00
%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
2012-11-18 09:28:21 +00:00
* Sun Nov 18 2012 Jens Petersen <petersen@redhat.com> - 0.1.6-2
- update with cabal-rpm
- correct license tag to MIT
2012-09-07 11:55:23 +00:00
* Tue Jun 12 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1.6-1
- Added BuildRequires.
- Spec file template generated by cabal2spec-0.25.5.