[ghc-glib] update with cabal-rpm
Jens Petersen
petersen at fedoraproject.org
Sat Nov 17 14:36:36 UTC 2012
commit b8646132fe97b6fe7e69673d4624a1d8ad233058
Author: Jens Petersen <petersen at redhat.com>
Date: Sat Nov 17 23:36:30 2012 +0900
update with cabal-rpm
ghc-glib.spec | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/ghc-glib.spec b/ghc-glib.spec
index 51ba28f..58f450c 100644
--- a/ghc-glib.spec
+++ b/ghc-glib.spec
@@ -1,31 +1,30 @@
-# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name glib
-%global common_summary Haskell %{pkg_name} library
+%global common_summary Binding to the GLIB library for Gtk2Hs
-%global common_description Binding to the GLIB library for Gtk2Hs.
+%global common_description The GNU Library is a collection of C data structures and utility functions for\
+dealing with Unicode. This package only binds as much functionality as required\
+to support the packages that wrap libraries that are themselves based on GLib.
Name: ghc-%{pkg_name}
Version: 0.12.3.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: %{common_summary}
-Group: System Environment/Libraries
License: LGPLv2+
-# 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 %{!?without_hscolour:hscolour}
-# END cabal2spec
-BuildRequires: glib2-devel%{?_isa}
-BuildRequires: gtk2hs-buildtools
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
BuildRequires: ghc-containers-devel
-BuildRequires: ghc-haskell98-devel
+# End cabal-rpm deps
+BuildRequires: gtk2hs-buildtools
+BuildRequires: glib2-devel%{?_isa}
# obsolete old gtk2hs packages
Obsoletes: ghc-gconf-devel < 0.11, ghc-gstreamer-devel < 0.11, ghc-svgcairo-devel < 0.11, ghc-gtk2hs-doc < 0.11
@@ -58,6 +57,9 @@ Requires: glib2-devel%{?_isa}
%changelog
+* Sat Nov 17 2012 Jens Petersen <petersen at redhat.com> - 0.12.3.1-4
+- update with cabal-rpm
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list