[ghc-edit-distance] Initial commit
Ben Boeckel
mathstuf at fedoraproject.org
Mon May 21 23:55:38 UTC 2012
commit 7f95fa7a12d79e13d9082cb0257ec99b4771af88
Author: Ben Boeckel <mathstuf at gmail.com>
Date: Mon May 21 19:55:22 2012 -0400
Initial commit
.gitignore | 1 +
ghc-edit-distance.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ccda7dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/edit-distance-0.2.1.tar.gz
diff --git a/ghc-edit-distance.spec b/ghc-edit-distance.spec
new file mode 100644
index 0000000..eb5182b
--- /dev/null
+++ b/ghc-edit-distance.spec
@@ -0,0 +1,63 @@
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name edit-distance
+
+%global common_summary Levenshtein and restricted Damerau-Levenshtein edit distances
+
+%global common_description Optimized edit distances for fuzzy matching, \
+including Levenshtein and restricted Damerau-Levenshtein algorithms.
+
+Name: ghc-%{pkg_name}
+Version: 0.2.1
+Release: 1%{?dist}
+Summary: Haskell %{pkg_name}
+
+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-array-devel
+BuildRequires: ghc-containers-devel
+BuildRequires: ghc-random-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
+
+
+%changelog
+* Mon Apr 23 2012 Ben Boeckel <mathstuf at gmail.com> - 0.2.1-1
+- Initial package
+
+* Sun Apr 22 2012 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org>
+- spec file template generated by cabal2spec-0.25.5
diff --git a/sources b/sources
index e69de29..d484fa3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4a73d3e4eba9e85740f8306ccb5f8617 edit-distance-0.2.1.tar.gz
More information about the scm-commits
mailing list