[ghc-oeis/f18] First release

Shakthi Kannan shakthimaan at fedoraproject.org
Mon Sep 3 06:23:14 UTC 2012


commit dc1dda03012b1ccfc5b929eb5dca29232e47c126
Author: Shakthi Kannan <skannan at redhat.com>
Date:   Mon Sep 3 11:46:04 2012 +0530

    First release

 .gitignore    |    1 +
 ghc-oeis.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ebf8dc4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/oeis-0.3.1.tar.gz
diff --git a/ghc-oeis.spec b/ghc-oeis.spec
new file mode 100644
index 0000000..332ef89
--- /dev/null
+++ b/ghc-oeis.spec
@@ -0,0 +1,56 @@
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name oeis
+
+%global common_summary Haskell %{pkg_name} library
+
+%global common_description A %{pkg_name} library for Haskell.
+
+Name:           ghc-%{pkg_name}
+Version:        0.3.1
+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}
+# END cabal2spec
+
+BuildRequires:  ghc-HTTP-devel
+BuildRequires:  ghc-network-devel
+
+%description
+%{common_description}
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+%build
+%ghc_lib_build
+
+%install
+%ghc_lib_install
+
+echo %{_datadir}/%{pkg_name}-%{version}/README >> ghc-%{pkg_name}.files
+echo %{_datadir}/%{pkg_name}-%{version}/example/Catalan.hs >> ghc-%{pkg_name}.files
+
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+%ghc_devel_post_postun
+
+%ghc_files LICENSE
+
+%changelog
+* Tue Jun 05 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.3.1-1
+- Added BuildRequires.
+- Spec file template generated by cabal2spec-0.25.5.
diff --git a/sources b/sources
index e69de29..bf30119 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+67ec3f356d8a36ad84ad61553fd1fffd  oeis-0.3.1.tar.gz


More information about the scm-commits mailing list