[ghc-IOSpec/f17] First release

Shakthi Kannan shakthimaan at fedoraproject.org
Mon Sep 10 02:26:33 UTC 2012


commit a3e3dca3cddad96d3f15fc9a6ecfe811123d6a53
Author: Shakthi Kannan <skannan at redhat.com>
Date:   Mon Sep 10 07:49:35 2012 +0530

    First release

 .gitignore      |    1 +
 ghc-IOSpec.spec |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..272d9e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/IOSpec-0.2.5.tar.gz
diff --git a/ghc-IOSpec.spec b/ghc-IOSpec.spec
new file mode 100644
index 0000000..420a678
--- /dev/null
+++ b/ghc-IOSpec.spec
@@ -0,0 +1,62 @@
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name IOSpec
+
+%global common_summary A pure specification of the IO monad
+
+%global common_description This package consists of several modules, that \
+give a pure specification of functions in the IO monad.
+
+Name:           ghc-%{pkg_name}
+Version:        0.2.5
+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-mtl-devel
+BuildRequires: ghc-QuickCheck-devel
+BuildRequires: ghc-Stream-devel
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE README examples
+
+
+%changelog
+* Mon Jul  9 2012 Shakthi Kannan <shakthimaan at fedoraproject dot org> - 0.2.5-1
+- Added BRs
+- Spec file template generated by cabal2spec-0.25.5
diff --git a/sources b/sources
index e69de29..f2f6be8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5ba13d7a3650491067460a47be81ce6b  IOSpec-0.2.5.tar.gz


More information about the scm-commits mailing list