[ghc-dlist/f14] Initial commit for ghc-dlist modified: .gitignore new file: ghc-dlist.spec modified: source

Lakshmi Narasimhan T V narasim at fedoraproject.org
Sat May 21 09:06:00 UTC 2011


commit 577645bff52a3e29acc97789dde26c292adc87e2
Author: Lakshmi Narasimhan <lakshminaras2002 at gmail.com>
Date:   Sat May 21 14:35:11 2011 +0530

    Initial commit for ghc-dlist
    	modified:   .gitignore
    	new file:   ghc-dlist.spec
    	modified:   sources

 .gitignore     |    1 +
 ghc-dlist.spec |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1224653 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dlist-0.5.tar.gz
diff --git a/ghc-dlist.spec b/ghc-dlist.spec
new file mode 100644
index 0000000..c0e084d
--- /dev/null
+++ b/ghc-dlist.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 dlist
+
+# common part of summary for all the subpackages
+%global common_summary Haskell differences lists
+
+# main description used for all the subpackages
+%global common_description Differences lists: a list-like type supporting O(1) append.\
+This is particularly useful for efficient logging and pretty\
+printing, (e.g. with the Writer monad), where list append\
+quickly becomes too expensive.
+
+Name:           ghc-%{pkg_name}
+Version:        0.5
+Release:        3%{?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 sparcv9 ppc64
+BuildRequires:  ghc-prof
+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 devel and prof subpkgs, devel post[un] scripts, and filelists:
+%ghc_lib_package
+
+
+%changelog
+* Sat May 21 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.5-3
+- Update to cabal2spec 0.22.7
+
+* Sun Apr 3 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.5-2
+- Update to cabal2spec 0.22.5
+
+* Sun Dec 19 2010 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.5-1
+- Modified summary and description. License is BSD
+
+* Sun Dec 19 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.5-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.3
diff --git a/sources b/sources
index e69de29..be65db4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+54f6c18ff689b7ef54e3229dc4a94107  dlist-0.5.tar.gz


More information about the scm-commits mailing list