[ghc-parameterized-data/f13/master] First release.

Shakthi Kannan shakthimaan at fedoraproject.org
Fri Feb 11 17:36:14 UTC 2011


commit 982a55da149967b568d8fc41263d7d7d0a10b238
Author: Shakthi Kannan <shakthimaan at gmail.com>
Date:   Fri Feb 11 23:25:06 2011 +0530

    First release.

 .gitignore                  |    1 +
 ghc-parameterized-data.spec |   68 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c6a7d61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/parameterized-data-0.1.5.tar.gz
diff --git a/ghc-parameterized-data.spec b/ghc-parameterized-data.spec
new file mode 100644
index 0000000..d88d572
--- /dev/null
+++ b/ghc-parameterized-data.spec
@@ -0,0 +1,68 @@
+%global pkg_name parameterized-data
+
+%global common_summary Haskell %{pkg_name} library
+
+%global common_description A %{pkg_name} library for Haskell.
+
+%bcond_without shared
+%bcond_without hscolour
+
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
+
+Name:           ghc-%{pkg_name}
+Version:        0.1.5
+Release:        2%{?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.7.3
+BuildRequires:  ghc-type-level, ghc-type-level-devel, ghc-type-level-prof
+%if %{with hscolour}
+BuildRequires:  hscolour
+%endif
+
+%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
+* Fri Feb 11 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject DOT org> - 0.1.5-2
+- Updated rpm-macros to 0.7.3.
+
+* Sat Sep 25 2010 Shakthi Kannan <shakthimaan [AT] fedoraproject DOT org> - 0.1.5-1
+- Initial packaging for Fedora automatically generated by cabal2spec-0.22.2
+- Added BSD to license.
+
+* Wed Apr  07 2010 Shakthi Kannan <shakthimaan [AT] fedoraproject DOT org> - 0.1.4-1
+- Initial packaging for Fedora automatically generated by cabal2spec-0.21.1
diff --git a/sources b/sources
index e69de29..cca49da 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fe332c77def5865a01fe3b1af9ec1b78  parameterized-data-0.1.5.tar.gz


More information about the scm-commits mailing list