[ghc-vector-space] initial import (#630216)

Jens Petersen petersen at fedoraproject.org
Sat Jun 18 07:44:12 UTC 2011


commit 68e76020f081c27240cc8f4987fb2b132671ccc3
Author: Jens Petersen <petersen at redhat.com>
Date:   Sat Jun 18 16:43:58 2011 +0900

    initial import (#630216)

 .gitignore            |    1 +
 ghc-vector-space.spec |   75 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3c9fac0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/vector-space-0.7.2.tar.gz
diff --git a/ghc-vector-space.spec b/ghc-vector-space.spec
new file mode 100644
index 0000000..40723c4
--- /dev/null
+++ b/ghc-vector-space.spec
@@ -0,0 +1,75 @@
+%global pkg_name vector-space
+
+%global common_summary Vector & affine spaces, linear maps, and derivatives
+
+%global common_description Classes and generic operations for \
+vector spaces and affine spaces. It also defines a type of \
+infinite towers of generalized derivatives. A generalized \
+derivative is a linear transformation rather than one of the \
+common concrete representations (scalars, vectors, matrices, \
+...).
+
+%global ghc_pkg_deps ghc-Boolean-devel, ghc-MemoTrie-devel
+
+%bcond_without shared
+%bcond_without hscolour
+
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
+
+Name:           ghc-%{pkg_name}
+Version:        0.7.2
+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
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# fedora ghc archs:
+ExclusiveArch:  %{ix86} x86_64 ppc alpha
+BuildRequires:  ghc, ghc-doc, ghc-prof
+BuildRequires:  ghc-rpm-macros >= 0.8.1
+%if %{with hscolour}
+BuildRequires:  hscolour
+%endif
+%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+%{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
+
+%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
+rm -rf %{buildroot}
+%ghc_lib_install
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%{?ghc_lib_package}
+
+
+%changelog
+* Sat Sep 04 2010 Ben Boeckel <mathstuf at gmail.com> - 0.7.2-1
+- Update to 0.7.2
+
+* Fri Sep 03 2010 Ben Boeckel <mathstuf at gmail.com> - 0.5.9-1
+- Initial package
+
+* Fri Sep  3 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.5.9-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
diff --git a/sources b/sources
index e69de29..935b4da 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b1bf37f8c2801a43aceab649b6c6aaab  vector-space-0.7.2.tar.gz


More information about the scm-commits mailing list