From f4fb294b1294f4cf8cba2416859600cc6056d6dd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mar 22 2012 07:35:45 +0000 Subject: update to cabal2spec-0.25 --- diff --git a/ghc-MonadCatchIO-mtl.spec b/ghc-MonadCatchIO-mtl.spec index 51f682e..7e07df3 100644 --- a/ghc-MonadCatchIO-mtl.spec +++ b/ghc-MonadCatchIO-mtl.spec @@ -1,52 +1,65 @@ -# For Haskell Packaging Guidelines see: -# - https://fedoraproject.org/wiki/Packaging:Haskell -# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name MonadCatchIO-mtl -# common part of summary for all the subpackages %global common_summary Monad-transformer for Control.Exception -# main description used for all the subpackages -%global common_description Provides a monad-transformer version of the \ -@Control.Exception.catch@ function. For this, it defines the \ -@MonadCatchIO@ class, a subset of @MonadIO@. It defines \ -proper instances for most monad transformers in the 'mtl' \ -library. +%global common_description Provides a monad-transformer version of the Control.Exception.catch\ +function. For this, it defines the MonadCatchIO class, a subset of\ +MonadIO. It defines proper instances for most monad transformers in\ +the 'mtl' library. Name: ghc-%{pkg_name} Version: 0.3.0.4 -Release: 2%{?dist}.3 +Release: 3%{?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-mtl-prof, ghc-extensible-exceptions-prof +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-extensible-exceptions-prof +BuildRequires: ghc-mtl-prof %description %{common_description} + %prep %setup -q -n %{pkg_name}-%{version} + %build %ghc_lib_build -%install +%install %ghc_lib_install -# define the devel and prof subpkgs, devel post[un] scripts, and filelists: -# ghc-MonadCatchIO-mtl{,-devel,-prof}.files -%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 - 0.3.0.4-3 +- update to cabal2spec-0.25 + * Fri Jan 13 2012 Fedora Release Engineering - 0.3.0.4-2.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild