[ghc-derive] Initial import. modified: .gitignore new file: ghc-derive.spec modified: sources

narasim narasim at fedoraproject.org
Thu May 31 05:37:47 UTC 2012


commit d92bc7866f753c294f5cb30bf53fa8b2503f5328
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Thu May 31 11:07:27 2012 +0530

    Initial import.
    	modified:   .gitignore
    	new file:   ghc-derive.spec
    	modified:   sources

 .gitignore      |    1 +
 ghc-derive.spec |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1c013e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/derive-2.5.8.tar.gz
diff --git a/ghc-derive.spec b/ghc-derive.spec
new file mode 100644
index 0000000..ddb55ad
--- /dev/null
+++ b/ghc-derive.spec
@@ -0,0 +1,61 @@
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name derive
+
+%global common_summary  Library to derive instances for data types
+
+%global common_description Derive is a library and tool for deriving instances for Haskell programs.
+
+Name:           ghc-%{pkg_name}
+Version:        2.5.8
+Release:        1%{?dist}
+Summary:        %{common_summary}
+
+Group:          System Environment/Libraries
+License:        BSD
+# BEGIN cabal2spec
+URL:            http://hackage.haskell.org/package/%{pkg_name}
+Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+ExclusiveArch:  %{ghc_arches}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+BuildRequires:  ghc-transformers-devel,ghc-process-devel,ghc-pretty-devel,ghc-directory-devel
+BuildRequires:  ghc-haskell-src-exts-devel,ghc-uniplate-devel,ghc-template-haskell-devel
+BuildRequires:  ghc-containers-devel,ghc-syb-devel,ghc-filepath-devel,ghc-bytestring-devel
+# END cabal2spec
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+echo "%attr(755,root,root) %{_bindir}/%{pkg_name}" >> ghc-%{pkg_name}.files
+
+
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE
+
+
+%changelog
+* Sun May  6 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 2.5.8-1
+- spec file template generated by cabal2spec-0.25.5
+- License is BSD
diff --git a/sources b/sources
index e69de29..8fc7cd3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e970a39db478eb83710edb8f94c9b4ab  derive-2.5.8.tar.gz


More information about the scm-commits mailing list