[ghc-process-leksah] modified: .gitignore new file: ghc-process-leksah.spec modified: sources modified: ghc-p

Lakshmi Narasimhan T V narasim at fedoraproject.org
Sat Jan 29 05:24:16 UTC 2011


commit 11ea1cabaa85bf08ed63cffbeccbbbdec7f58c60
Author: Lakshmi Narasimhan <lakshminaras2002 at gmail.com>
Date:   Sat Jan 29 10:53:21 2011 +0530

    	modified:   .gitignore
    	new file:   ghc-process-leksah.spec
    	modified:   sources
    	modified:   ghc-process-leksah.spec

 .gitignore              |    1 +
 ghc-process-leksah.spec |   63 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..19b7b1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/process-leksah-1.0.1.4.tar.gz
diff --git a/ghc-process-leksah.spec b/ghc-process-leksah.spec
new file mode 100644
index 0000000..ec82f9e
--- /dev/null
+++ b/ghc-process-leksah.spec
@@ -0,0 +1,63 @@
+%global pkg_name process-leksah
+
+%global common_summary Haskell %{pkg_name} library
+
+%global common_description This package contains libraries for dealing with system processes in leksah.
+
+%bcond_without shared
+%bcond_without hscolour
+
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
+
+Name:           ghc-%{pkg_name}
+Version:        1.0.1.4
+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
+
+%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 $RPM_BUILD_ROOT
+%ghc_lib_install
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%{?ghc_lib_package}
+
+
+%changelog
+* Tue Dec  7 2010 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 1.0.1.4-1
+- Changed license to BSD. No dependencies required.
+
+* Tue Dec  7 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 1.0.1.4-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
diff --git a/sources b/sources
index e69de29..68b9eeb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0f987eb3683b8837084e0abf28b90641  process-leksah-1.0.1.4.tar.gz


More information about the scm-commits mailing list