diff --git a/.gitignore b/.gitignore index e69de29..889e54e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/blaze-markup-0.5.1.0.tar.gz diff --git a/ghc-blaze-markup.spec b/ghc-blaze-markup.spec new file mode 100644 index 0000000..d2e1c4d --- /dev/null +++ b/ghc-blaze-markup.spec @@ -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: . + +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 - 0.5.1.0-1 +- improve description format + +* Mon Sep 10 2012 Fedora Haskell SIG +- spec file generated by cabal-rpm-0.6.2 diff --git a/sources b/sources index e69de29..283fd17 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +67a8a3986675626127f878a16b10d631 blaze-markup-0.5.1.0.tar.gz