ghc-hashtables/ghc-hashtables.spec

93 lines
2.5 KiB
RPMSpec
Raw Normal View History

2012-02-14 00:57:53 +00:00
# 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}
2012-06-13 09:16:44 +00:00
Version: 1.0.1.6
2012-07-16 02:11:16 +00:00
Release: 2%{?dist}
2012-02-14 00:57:53 +00:00
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
2012-05-06 01:32:37 +00:00
ExclusiveArch: %{ghc_arches_with_ghci}
2012-02-14 00:57:53 +00:00
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# END cabal2spec
2012-07-16 02:11:16 +00:00
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-vector-devel
2012-02-14 00:57:53 +00:00
%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
2012-03-22 14:18:56 +00:00
%ghc_files LICENSE
2012-02-14 00:57:53 +00:00
%doc README.md
%changelog
2012-07-16 02:11:16 +00:00
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.6-2
- change prof BRs to devel
2012-06-13 09:16:44 +00:00
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.6-1
- update to 1.0.1.6
2012-05-06 01:32:37 +00:00
* Sun May 6 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.3-2
- build needs ghci
2012-03-22 14:18:56 +00:00
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.3-1
- update to 1.0.1.3
2012-03-08 01:36:01 +00:00
* Thu Mar 8 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.2-2
- rebuild
2012-02-14 00:57:53 +00:00
* 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