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}
|
2013-05-21 11:27:54 +00:00
|
|
|
Version: 0.1.9
|
|
|
|
Release: 1%{?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
|
2013-05-21 11:27:54 +00:00
|
|
|
BuildRequires: ghc-transformers-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
|
2013-05-21 11:27:54 +00:00
|
|
|
* Tue May 21 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1.9-1
|
|
|
|
- Updated to new upstream 0.1.9
|
|
|
|
|
2013-02-13 22:53:38 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-07 10:37:55 +00:00
|
|
|
* Fri Dec 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1.8-1
|
|
|
|
- Updated to new upstream 0.1.8
|
|
|
|
|
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.
|