Initial commit
This commit is contained in:
parent
f55106a446
commit
7f95fa7a12
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/edit-distance-0.2.1.tar.gz
|
63
ghc-edit-distance.spec
Normal file
63
ghc-edit-distance.spec
Normal file
@ -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@gmail.com> - 0.2.1-1
|
||||
- Initial package
|
||||
|
||||
* Sun Apr 22 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
|
||||
- spec file template generated by cabal2spec-0.25.5
|
Loading…
Reference in New Issue
Block a user