[ghc-ghc-mtl/f17] Initial import modified: .gitignore new file: ghc-ghc-mtl.spec modified: sources

narasim narasim at fedoraproject.org
Tue Sep 18 14:37:27 UTC 2012


commit cde926c821d4cf09bc5c0d8672d01d845a86f612
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Tue Sep 18 20:07:11 2012 +0530

    Initial import
    	modified:   .gitignore
    	new file:   ghc-ghc-mtl.spec
    	modified:   sources

 .gitignore       |    1 +
 ghc-ghc-mtl.spec |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..84a3595 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ghc-mtl-1.0.1.1.tar.gz
diff --git a/ghc-ghc-mtl.spec b/ghc-ghc-mtl.spec
new file mode 100644
index 0000000..b476ac8
--- /dev/null
+++ b/ghc-ghc-mtl.spec
@@ -0,0 +1,64 @@
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name ghc-mtl
+
+%global common_summary A mtl compatible with GHC-API monads and monad-transformers
+
+%global common_description Provides an 'mtl' compatible version of the 'GhcT'\
+ monad-transformer defined in the 'GHC-API' since version 6.10.1.
+
+Name:           ghc-%{pkg_name}
+Version:        1.0.1.1
+Release:        1%{?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}
+BuildRequires:  ghc-base-prof
+BuildRequires:  ghc-ghc-prof
+BuildRequires:  ghc-mtl-prof
+BuildRequires:  ghc-MonadCatchIO-mtl-prof
+# END cabal2spec
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE
+
+
+%changelog
+* Sun Jul 15 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 1.0.1.1-1
+- spec file template generated by cabal2spec-0.25.5
+
+* Fri Jun 10 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 1.0.1.0-1
+- License is BSD 3 clause. Added dependencies.
diff --git a/sources b/sources
index e69de29..c7b767a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d87fe7026bc38dfd884861ac0ff30b34  ghc-mtl-1.0.1.1.tar.gz


More information about the scm-commits mailing list