From 872eeca259ca3b2d9ae2ce56e6ff64fde518315f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 7 Jun 2013 12:48:15 +0900 Subject: [PATCH] update to 0.6.1.1 and simplified Packaging Guidelines --- .gitignore | 1 + ghc-blaze-html.spec | 45 +++++++++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 31 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index bbfce98..0238f66 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /blaze-html-0.4.3.4.tar.gz /blaze-html-0.5.1.0.tar.gz /blaze-html-0.6.0.0.tar.gz +/blaze-html-0.6.1.1.tar.gz diff --git a/ghc-blaze-html.spec b/ghc-blaze-html.spec index 6d4a8eb..5e5f252 100644 --- a/ghc-blaze-html.spec +++ b/ghc-blaze-html.spec @@ -1,20 +1,11 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name blaze-html -%global common_summary A blazingly fast HTML combinator library for Haskell - -%global common_description Blaze Html 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.6.0.0 +Version: 0.6.1.1 Release: 1%{?dist} -Summary: %{common_summary} +Summary: A blazingly fast HTML combinator library for Haskell License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -30,7 +21,21 @@ BuildRequires: ghc-text-devel # End cabal-rpm deps %description -%{common_description} +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 Haskell web frameworks. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. %prep @@ -45,18 +50,26 @@ BuildRequires: ghc-text-devel %ghc_lib_install -%ghc_devel_package +%post devel +%ghc_pkg_recache + -%ghc_devel_description +%postun devel +%ghc_pkg_recache -%ghc_devel_post_postun +%files -f %{name}.files +%doc LICENSE -%ghc_files LICENSE +%files devel -f %{name}-devel.files %changelog +* Mon Jun 10 2013 Jens Petersen - 0.6.1.1-1 +- update to 0.6.1.1 +- update to new simplified Haskell Packaging Guidelines + * Mon Mar 11 2013 Jens Petersen - 0.6.0.0-1 - update to 0.6.0.0 diff --git a/sources b/sources index dfe4646..daf404b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2c49dac5c648dd9674164e3aa3762ee9 blaze-html-0.6.0.0.tar.gz +f9eda0a990cda190538b9e6ff73b05f3 blaze-html-0.6.1.1.tar.gz