[ghc-binary-shared/f15/master] Initial package. modified: .gitignore new file: ghc-binary-shared.spec modified: sources

Lakshmi Narasimhan T V narasim at fedoraproject.org
Thu Apr 21 10:03:38 UTC 2011


commit eecbe84e36f353c7d124c3d8a0614ae7575a2e6f
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Thu Apr 21 15:31:36 2011 +0530

    Initial package.
    	modified:   .gitignore
    	new file:   ghc-binary-shared.spec
    	modified:   sources

 .gitignore             |    1 +
 ghc-binary-shared.spec |   60 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..640c214 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/binary-shared-0.8.1.tar.gz
diff --git a/ghc-binary-shared.spec b/ghc-binary-shared.spec
new file mode 100644
index 0000000..8448031
--- /dev/null
+++ b/ghc-binary-shared.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 binary-shared
+
+# common part of summary for all the subpackages
+%global common_summary Haskell library for sharing binary elements
+
+# main description used for all the subpackages
+%global common_description Provides capability to share elements created by binary package.
+
+# Haskell library dependencies (used for buildrequires and devel/prof subpkg requires)
+%global ghc_pkg_deps ghc-binary-devel ghc-mtl-devel
+
+Name:           ghc-%{pkg_name}
+Version:        0.8.1
+Release:        2%{?dist}
+Summary:        %{common_summary}
+
+Group:          System Environment/Libraries
+License:        GPLv2
+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 sparcv9
+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}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%ghc_lib_package
+
+
+%changelog
+* Sat Mar 26 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.8.1-2
+- Update to  cabal2spec - 0.22.5
+
+* Sun Oct 10 2010 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.8.1-1
+- Modified description
+- Modified license
+- Modified dependencies
+
+* Sun Oct 10 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.8.1-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
diff --git a/sources b/sources
index e69de29..3bb6b20 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+312d22b6ae61b88825f332b9a1ba0679  binary-shared-0.8.1.tar.gz


More information about the scm-commits mailing list