You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghc-blaze-markup/ghc-blaze-markup.spec

62 lines
1.5 KiB

# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name blaze-markup
%global common_summary A blazingly fast markup combinator library for Haskell
%global common_description Core modules of a blazingly fast markup combinator library for\
the Haskell programming language. The Text.Blaze module is a good starting\
point, as well as this tutorial: <http://jaspervdj.be/blaze/tutorial.html>.
Name: ghc-%{pkg_name}
Version: 0.5.1.0
Release: 1%{?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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# Begin cabal-rpm deps:
BuildRequires: ghc-base-devel >= 4, ghc-base-devel < 5
BuildRequires: ghc-blaze-builder-devel >= 0.2, ghc-blaze-builder-devel < 0.4
BuildRequires: ghc-bytestring-devel >= 0.9, ghc-bytestring-devel < 0.10
BuildRequires: ghc-text-devel >= 0.10, ghc-text-devel < 0.12
# End cabal-rpm deps
%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
* Mon Sep 10 2012 Jens Petersen <petersen@redhat.com> - 0.5.1.0-1
- improve description format
* Mon Sep 10 2012 Fedora Haskell SIG <haskell@lists.fedoraproject.org>
- spec file generated by cabal-rpm-0.6.2