[ghc-zlib-bindings] - Initial package
Ben Boeckel
mathstuf at fedoraproject.org
Sat Jan 15 18:44:03 UTC 2011
commit ef820986218bf79b7acd64a67aa6d1bda86ab3e0
Author: Ben Boeckel <MathStuf at gmail.com>
Date: Sat Jan 15 13:38:31 2011 -0500
- Initial package
.gitignore | 1 +
ghc-zlib-bindings.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ba08162 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zlib-bindings-0.0.0.tar.gz
diff --git a/ghc-zlib-bindings.spec b/ghc-zlib-bindings.spec
new file mode 100644
index 0000000..5126a67
--- /dev/null
+++ b/ghc-zlib-bindings.spec
@@ -0,0 +1,55 @@
+%global pkg_name zlib-bindings
+
+%global common_summary Low-level bindings to the zlib package
+
+%global common_description %{common_summary}.
+
+%global ghc_pkg_deps ghc-zlib-devel
+
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
+
+Name: ghc-%{pkg_name}
+Version: 0.0.0
+Release: 1%{?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
+# fedora ghc archs:
+ExclusiveArch: %{ix86} x86_64 ppc alpha
+BuildRequires: ghc, ghc-doc, ghc-prof
+BuildRequires: ghc-rpm-macros >= 0.7.3
+BuildRequires: hscolour
+%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+
+%description
+%{common_description}
+%if %{with shared}
+This package provides the shared library.
+%endif
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%{?ghc_lib_package}
+
+
+%changelog
+* Sat Oct 30 2010 Ben Boeckel <mathstuf at gmail.com> - 0.0.0-1
+- Initial package
+
+* Sat Oct 30 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.0.0-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
diff --git a/sources b/sources
index e69de29..1512c84 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ced9be9c31f54ad848f58babf1ca2190 zlib-bindings-0.0.0.tar.gz
More information about the scm-commits
mailing list