Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > 12f41fac619e62cdc12f8ef3f14bc7ee > files > 1

ghc-hashtables-1.0.1.2-1.fc16.src.rpm

# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell

%global pkg_name hashtables

%global common_summary Mutable hash tables in the ST monad

%global common_description This package provides a couple of different implementations of mutable\
hash tables in the ST monad, as well as a typeclass abstracting their\
common operations, and a set of wrappers to use the hash tables in the\
IO monad.\
\
This package currently contains three hash table implementations:\
\
1. Data.HashTable.ST.Basic contains a basic open-addressing hash table\
using linear probing as the collision strategy.\
\
2. Data.HashTable.ST.Cuckoo contains an implementation of "cuckoo hashing"\
which has worst-case O(1) lookups and can reach a high "load factor".\
\
3. Data.HashTable.ST.Linear contains a linear hash table, which trades\
some insert and lookup performance for higher space efficiency and\
much shorter delays when expanding the table.

Name:           ghc-%{pkg_name}
Version:        1.0.1.2
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-hashable-prof
BuildRequires:  ghc-vector-prof

%description
%{common_description}


%prep
%setup -q -n %{pkg_name}-%{version}


%build
%ghc_lib_build


%install
%ghc_lib_install


%ghc_devel_package

%ghc_devel_description


%ghc_devel_post_postun


%ghc_files
%doc README.md


%changelog
* Mon Jan 16 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.2-1
- BSD
- depends on hashable and vector

* Mon Jan 16 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
- spec file template generated by cabal2spec-0.25.2