[ghc-html] update to cabal2spec-0.25
Jens Petersen
petersen at fedoraproject.org
Wed Mar 21 14:59:28 UTC 2012
commit 5a0aa800c15bed086b66b302d28d200b47a5302c
Author: Jens Petersen <petersen at redhat.com>
Date: Wed Mar 21 23:59:21 2012 +0900
update to cabal2spec-0.25
ghc-html.spec | 27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/ghc-html.spec b/ghc-html.spec
index d56ad40..3cd6a4e 100644
--- a/ghc-html.spec
+++ b/ghc-html.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
%global pkg_name html
%global common_summary Haskell HTML combinator library
@@ -5,19 +9,20 @@
%global common_description A HTML combinator library for Haskell.
Name: ghc-%{pkg_name}
-# part of haskell-platform-2011.2.0.1
+# part of haskell-platform
Version: 1.0.1.2
-Release: 13%{?dist}.3
+Release: 14%{?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
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros
-BuildRequires: hscolour
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
%description
%{common_description}
@@ -35,10 +40,22 @@ BuildRequires: hscolour
%ghc_lib_install
-%ghc_lib_package
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE
%changelog
+* Sun Mar 18 2012 Jens Petersen <petersen at redhat.com> - 1.0.1.2-14
+- update to cabal2spec-0.25
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1.2-13.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list