[ghc-random] import (#727410)
Jens Petersen
petersen at fedoraproject.org
Fri Oct 28 01:59:44 UTC 2011
commit f12af5fa4862572bb85b54907967e451e7765cc6
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Oct 28 10:59:41 2011 +0900
import (#727410)
.gitignore | 1 +
ghc-random.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8291550 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/random-1.0.0.3.tar.gz
diff --git a/ghc-random.spec b/ghc-random.spec
new file mode 100644
index 0000000..1d23e8a
--- /dev/null
+++ b/ghc-random.spec
@@ -0,0 +1,56 @@
+# For Haskell Packaging Guidelines see:
+# - https://fedoraproject.org/wiki/Packaging:Haskell
+# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name random
+
+# common part of summary for all the subpackages
+%global common_summary Haskell random number library
+
+# main description used for all the subpackages
+%global common_description A random number library for Haskell.
+
+Name: ghc-%{pkg_name}
+Version: 1.0.0.3
+Release: 27%{?dist}
+Summary: %{common_summary}
+
+Group: System Environment/Libraries
+License: BSD and HaskellReport
+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
+# macros for building haskell packages
+BuildRequires: ghc-rpm-macros
+BuildRequires: hscolour
+BuildRequires: ghc-time-devel
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+# define the shared, devel and prof subpkgs, devel scripts,
+# and filelists: ghc-random.files, ghc-random-devel.files
+%ghc_lib_package
+
+
+%changelog
+* Tue Aug 2 2011 Jens Petersen <petersen at redhat.com> - 1.0.0.3-27
+- new package previously part of ghc
+- license is BSD and Haskell Report
+
+* Tue Aug 2 2011 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 1.0.0.3-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.23.2
diff --git a/sources b/sources
index e69de29..65ab690 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d6c1343438092e74fb07d439c64395c4 random-1.0.0.3.tar.gz
More information about the scm-commits
mailing list