2035995
# cabal2spec-0.25.2
2035995
# https://fedoraproject.org/wiki/Packaging:Haskell
2035995
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
2035995
2035995
%global pkg_name snap-core
2035995
2035995
%global common_summary Snap web framework core library
2035995
2035995
%global common_description Snap is a simple and fast web development framework and server written\
2035995
in Haskell.  This library contains the core definitions and types for\
2035995
the Snap framework.
2035995
2035995
Name:           ghc-%{pkg_name}
afdd8a2
Version:        0.8.1
11c5e03
Release:        1%{?dist}
2035995
Summary:        %{common_summary}
2035995
2035995
Group:          System Environment/Libraries
2035995
License:        BSD
2035995
# BEGIN cabal2spec
2035995
URL:            http://hackage.haskell.org/package/%{pkg_name}
2035995
Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
2035995
ExclusiveArch:  %{ghc_arches}
2035995
BuildRequires:  ghc-Cabal-devel
2035995
BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
2035995
# END cabal2spec
f2ec01c
BuildRequires:   ghc-attoparsec-enumerator-prof >= 0.3
2035995
BuildRequires:   ghc-blaze-builder-enumerator-prof
2035995
BuildRequires:   ghc-base16-bytestring-prof
2035995
BuildRequires:   ghc-bytestring-nums-prof
2035995
BuildRequires:   ghc-case-insensitive-prof
2035995
BuildRequires:   ghc-directory-prof
2035995
BuildRequires:   ghc-dlist-prof
2035995
BuildRequires:   ghc-HUnit-prof
2035995
BuildRequires:   ghc-MonadCatchIO-transformers-prof
2035995
BuildRequires:   ghc-mtl-prof
2035995
BuildRequires:   ghc-mwc-random-prof
2035995
BuildRequires:   ghc-old-locale-prof
2035995
BuildRequires:   ghc-regex-posix-prof
2035995
BuildRequires:   ghc-unix-compat-prof
2035995
BuildRequires:   ghc-unordered-containers-prof
2035995
BuildRequires:   ghc-vector-prof
2035995
BuildRequires:   ghc-zlib-enum-prof
2035995
2035995
%description
2035995
%{common_description}
2035995
2035995
2035995
%prep
2035995
%setup -q -n %{pkg_name}-%{version}
2035995
2035995
2035995
%build
2035995
%ghc_lib_build
2035995
2035995
2035995
# requires pureMD5 and test-framework*
2035995
#%%check
2035995
#cd test
2035995
#../Setup configure
2035995
#../Setup build
2035995
#./runTestsAndCoverage.sh
2035995
2035995
2035995
%install
2035995
%ghc_lib_install
2035995
2035995
2035995
%ghc_devel_package
2035995
2035995
%ghc_devel_description
2035995
2035995
2035995
%ghc_devel_post_postun
2035995
2035995
11c5e03
%ghc_files LICENSE
2035995
%doc CONTRIBUTORS README*.md
2035995
2035995
2035995
%changelog
afdd8a2
* Tue May  1 2012 Jens Petersen <petersen@redhat.com> - 0.8.1-1
afdd8a2
- update to 0.8.1
afdd8a2
11c5e03
* Fri Mar 23 2012 Jens Petersen <petersen@redhat.com> - 0.8.0.1-1
11c5e03
- update to 0.8.0.1
11c5e03
- mwc-random version patch no longer needed
11c5e03
e5949a6
* Thu Mar  8 2012 Jens Petersen <petersen@redhat.com> - 0.7.0.1-2
e5949a6
- rebuild
e5949a6
2035995
* Mon Jan 16 2012 Jens Petersen <petersen@redhat.com> - 0.7.0.1-1
b5dfb8d
- update to 0.7.0.1 and cabal2spec-0.25.2
2035995
- add some doc files
b5dfb8d
- allow building with mwc-random-0.11
2035995
2035995
* Fri Dec 16 2011 Jens Petersen <petersen@redhat.com> - 0.6.0.1-1
2035995
- update to 0.6.0.1
2035995
- new deps base16-bytestring, mwc-random, unordered-containers,
2035995
  regex-posix, and HUnit
2035995
2035995
* Tue Nov 22 2011 Jens Petersen <petersen@redhat.com> - 0.5.5-1
2035995
- update to 0.5.5
2035995
- depends on zlib-enum and blaze-builder-enumerator
2035995
2035995
* Tue Nov  8 2011 Jens Petersen <petersen@redhat.com> - 0.5.4-2
2035995
- add missed mtl dep
2035995
2035995
* Sat Oct 15 2011 Jens Petersen <petersen@redhat.com> - 0.5.4-1
2035995
- update to 0.5.4
2035995
2035995
* Thu Sep  8 2011 Jens Petersen <petersen@redhat.com> - 0.5.3.1-1
2035995
- BSD license and deps
2035995
2035995
* Thu Sep  8 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.5.3.1-0
2035995
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1