[ghc-blaze-html/f16] update to cabal2spec-0.25.2
Jens Petersen
petersen at fedoraproject.org
Fri Jan 20 04:29:10 UTC 2012
commit fefc710ee1a5fbb3cfaf1c545bbf851843c9238c
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Jan 20 13:29:01 2012 +0900
update to cabal2spec-0.25.2
ghc-blaze-html.spec | 37 ++++++++++++++++++++++---------------
1 files changed, 22 insertions(+), 15 deletions(-)
---
diff --git a/ghc-blaze-html.spec b/ghc-blaze-html.spec
index 2bf44c1..3fb35d8 100644
--- a/ghc-blaze-html.spec
+++ b/ghc-blaze-html.spec
@@ -1,13 +1,11 @@
-# For Haskell Packaging Guidelines see:
-# - https://fedoraproject.org/wiki/Packaging:Haskell
-# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+# cabal2spec-0.25.2
+# 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.\
@@ -16,20 +14,20 @@ The project is aimed at those who seek to write web applications in Haskell\
Name: ghc-%{pkg_name}
Version: 0.4.1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
+# BEGIN cabal2spec
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
+ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
-# macros for building haskell packages
-BuildRequires: ghc-rpm-macros
-BuildRequires: hscolour
-BuildRequires: ghc-blaze-builder-prof, ghc-text-prof
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires: ghc-blaze-builder-prof
+BuildRequires: ghc-text-prof
%description
%{common_description}
@@ -47,12 +45,21 @@ BuildRequires: ghc-blaze-builder-prof, ghc-text-prof
%ghc_lib_install
-# define the devel subpkg, post[un] scripts,
-# and filelists ghc-blaze-html{,devel}.files
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
%changelog
+* Fri Jan 20 2012 Jens Petersen <petersen at redhat.com> - 0.4.1.4-2
+- update to cabal2spec-0.25.2
+
* Sat Jun 18 2011 Jens Petersen <petersen at redhat.com> - 0.4.1.4-1
- update to 0.4.1.4
More information about the scm-commits
mailing list