Jens Petersen 12 years ago
parent d362f2abfc
commit 176a51f75e

1
.gitignore vendored

@ -0,0 +1 @@
/blaze-markup-0.5.1.0.tar.gz

@ -0,0 +1,61 @@
# 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

@ -0,0 +1 @@
67a8a3986675626127f878a16b10d631 blaze-markup-0.5.1.0.tar.gz
Loading…
Cancel
Save