diff --git a/ghc-IOSpec.spec b/ghc-IOSpec.spec index 420a678..7ed4a7c 100644 --- a/ghc-IOSpec.spec +++ b/ghc-IOSpec.spec @@ -1,4 +1,3 @@ -# cabal2spec-0.25 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell @@ -6,27 +5,25 @@ %global common_summary A pure specification of the IO monad -%global common_description This package consists of several modules, that \ -give a pure specification of functions in the IO monad. +%global common_description This package consists of several modules,\ +that give a pure specification of functions in the IO monad. Name: ghc-%{pkg_name} Version: 0.2.5 -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 -ExclusiveArch: %{ghc_arches} -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-Stream-devel +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-Stream-devel +BuildRequires: ghc-mtl-devel +# End cabal-rpm deps %description %{common_description} @@ -44,7 +41,6 @@ BuildRequires: ghc-Stream-devel %ghc_lib_install -# devel subpackage %ghc_devel_package %ghc_devel_description @@ -53,10 +49,14 @@ BuildRequires: ghc-Stream-devel %ghc_devel_post_postun -%ghc_files LICENSE README examples +%ghc_files LICENSE +%doc README examples %changelog +* Sun Nov 18 2012 Jens Petersen - 0.2.5-2 +- update with cabal-rpm + * Mon Jul 9 2012 Shakthi Kannan - 0.2.5-1 - Added BRs - Spec file template generated by cabal2spec-0.25.5