# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name data-memocombinators
%global common_summary Combinators for building memo tables
%global common_description Combinators for building memo tables.
Name: ghc-%{pkg_name}
Version: 0.4.4
Release: 3%{?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
Source1: LICENSE
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-data-inttrie-devel
# End cabal-rpm deps
%description
%{common_description}
%prep
%setup -q -n %{pkg_name}-%{version}
%{__install} -pm 644 %{SOURCE1} .
%build
%ghc_lib_build
%install
%ghc_lib_install
%ghc_devel_package
%ghc_devel_description
%ghc_devel_post_postun
%ghc_files LICENSE
%changelog
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Dec 31 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.4.4-2
- Rebuilt for ghc-data-inttrie
* Fri Dec 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.4.4-1
- Updated to new upstream 0.4.4
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.4.3-2
- update with cabal-rpm
* Tue Sep 4 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.4.3-1
- spec file template generated by cabal2spec-0.25.5