# For Haskell Packaging Guidelines see: # - https://fedoraproject.org/wiki/Packaging:Haskell # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name blaze-html # common part of summary for all the subpackages %global common_summary Fast HTML combinator library for Haskell # main description used for all the subpackages %global common_description BlazeHtml is a blazingly fast HTML combinator library for\ the Haskell programming language. It embeds HTML templates in Haskell code\ for optimal efficiency and composability.\ The project is aimed at those who seek to write web applications in Haskell\ — it integrates well with all Haskell web frameworks. Name: ghc-%{pkg_name} Version: 0.4.1.3 Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries 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 # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 BuildRequires: ghc-Cabal-devel # macros for building haskell packages BuildRequires: ghc-rpm-macros BuildRequires: hscolour BuildRequires: ghc-blaze-builder-prof, ghc-text-prof %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install # define the devel subpkg, post[un] scripts, # and filelists ghc-blaze-html{,devel}.files %ghc_lib_package %changelog * Wed Jun 15 2011 Jens Petersen - 0.4.1.3-1 - update to 0.4.1.3 - cabal2spec-0.23 * Tue May 3 2011 Jens Petersen - 0.4.1.1-1 - update to 0.4.1.1 - cabal2spec-0.22.6 * Sat Mar 26 2011 Jens Petersen - 0.4.1.0-1 - BSD license - depends on ghc-text and ghc-blaze-builder * Sat Mar 26 2011 Fedora Haskell SIG - 0.4.1.0-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.5