[ghc-exceptions] Initial import

Ricky Elrod codeblock at fedoraproject.org
Mon May 12 22:36:27 UTC 2014


commit 9e824ad9e2470935f0f56dd71792f9feb6f99a99
Author: Ricky Elrod <ricky at elrod.me>
Date:   Mon May 12 18:36:08 2014 -0400

    Initial import

 .gitignore          |    1 +
 ghc-exceptions.spec |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f457d0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/exceptions-0.6.1.tar.gz
diff --git a/ghc-exceptions.spec b/ghc-exceptions.spec
new file mode 100644
index 0000000..6b670f8
--- /dev/null
+++ b/ghc-exceptions.spec
@@ -0,0 +1,67 @@
+# https://fedoraproject.org/wiki/Packaging:Haskell
+
+%global pkg_name exceptions
+
+Name:           ghc-%{pkg_name}
+Version:        0.6.1
+Release:        1%{?dist}
+Summary:        Extensible optionally-pure exceptions
+
+License:        BSD
+URL:            http://hackage.haskell.org/package/%{pkg_name}
+Source0:        http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires:  ghc-mtl-devel
+BuildRequires:  ghc-transformers-devel
+# End cabal-rpm deps
+
+%description
+Extensible optionally-pure exceptions.
+
+
+%package devel
+Summary:        Haskell %{pkg_name} library development files
+Provides:       %{name}-static = %{version}-%{release}
+Requires:       ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development files.
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%post devel
+%ghc_pkg_recache
+
+
+%postun devel
+%ghc_pkg_recache
+
+
+%files -f %{name}.files
+%doc LICENSE
+
+
+%files devel -f %{name}-devel.files
+%doc README.markdown AUTHORS.markdown
+
+
+%changelog
+* Mon May 12 2014 Fedora Haskell SIG <haskell at lists.fedoraproject.org> - 0.6.1
+- spec file generated by cabal-rpm-0.8.10
diff --git a/sources b/sources
index e69de29..43618d1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+26109b56b4991de11e25a0776e0d5a7f  exceptions-0.6.1.tar.gz


More information about the scm-commits mailing list