diff --git a/.gitignore b/.gitignore index e69de29..d12c0aa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/strict-0.3.2.tar.gz diff --git a/ghc-strict.spec b/ghc-strict.spec new file mode 100644 index 0000000..c11c709 --- /dev/null +++ b/ghc-strict.spec @@ -0,0 +1,60 @@ +# For Haskell Packaging Guidelines see: +# - https://fedoraproject.org/wiki/Packaging:Haskell +# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name strict + +# common part of summary for all the subpackages +%global common_summary Haskell library providing strict data types + +# main description used for all the subpackages +%global common_description This package provides strict versions of some \ +standard Haskell data types (pairs, Maybe and Either).\ +It also contains strict IO operations. + +Name: ghc-%{pkg_name} +Version: 0.3.2 +Release: 2%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +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 +# macros for building haskell packages +BuildRequires: ghc-rpm-macros +BuildRequires: hscolour + + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +# define the shared, devel and prof subpkgs, devel scripts, +# and filelists: ghc-strict.files, ghc-strict-devel.files +%ghc_lib_package + + +%changelog +* Tue Jun 14 2011 Lakshmi Narasimhan T V - 0.3.2-2 +- Upgrade to cabal2spec-0.22.7 + +* Tue Apr 12 2011 Lakshmi Narasimhan T V - 0.3.2-1 +- License is BSD. + +* Tue Apr 12 2011 Fedora Haskell SIG - 0.3.2-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.22.5 diff --git a/sources b/sources index e69de29..bc0cfd5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +35442576f7bd5b12b961c64144c6cb2d strict-0.3.2.tar.gz