diff --git a/ghc-gtk.spec b/ghc-gtk.spec index 6802193..f6e7c97 100644 --- a/ghc-gtk.spec +++ b/ghc-gtk.spec @@ -1,34 +1,37 @@ -# cabal2spec-0.25.2 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name gtk -%global common_summary Haskell %{pkg_name} library +%global common_summary Binding to the Gtk+ graphical user interface library -%global common_description A %{pkg_name} library for Haskell. +%global common_description This is the core library of the Gtk2Hs suite of libraries for Haskell\ +based on Gtk+. Gtk+ is an extensive and mature multi-platform toolkit\ +for creating graphical user interfaces. 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: gtk2-devel%{?_isa} -BuildRequires: gtk2hs-buildtools +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-array-devel +BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cairo-devel +BuildRequires: ghc-containers-devel BuildRequires: ghc-gio-devel BuildRequires: ghc-glib-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-pango-devel +# End cabal-rpm deps +BuildRequires: gtk2-devel%{?_isa} +BuildRequires: gtk2hs-buildtools %description %{common_description} @@ -37,6 +40,7 @@ BuildRequires: ghc-pango-devel %prep %setup -q -n %{pkg_name}-%{version} + %build %ghc_lib_build @@ -64,6 +68,9 @@ Obsoletes: ghc-gtkglext-prof < 0.11, ghc-soegtk-prof < 0.11, ghc-vte-prof < 0.11 %changelog +* Sat Nov 17 2012 Jens Petersen - 0.12.3.1-4 +- update with cabal-rpm + * Thu Jul 19 2012 Fedora Release Engineering - 0.12.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild