|
|
|
@ -1,19 +1,12 @@
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name unordered-containers
|
|
|
|
|
|
|
|
|
|
%global common_summary Efficient hashing-based container types
|
|
|
|
|
|
|
|
|
|
%global common_description Efficient hashing-based container types. The containers have been optimized\
|
|
|
|
|
for performance critical use, both in terms of large data quantities and\
|
|
|
|
|
high speed. The declared cost of each operation is either worst-case or\
|
|
|
|
|
amortized, but remains valid even if structures are shared.
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform-2013.2
|
|
|
|
|
Version: 0.2.3.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
Summary: Efficient hashing-based container types
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
@ -27,8 +20,24 @@ BuildRequires: ghc-hashable-devel
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
|
Efficient hashing-based container types. The containers have been
|
|
|
|
|
optimized for performance critical use, both in terms of large data
|
|
|
|
|
quantities and high speed.
|
|
|
|
|
|
|
|
|
|
The declared cost of each operation is either worst-case or
|
|
|
|
|
amortized, but remains valid even if structures are shared.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
|
Requires: %{ghc_compiler}
|
|
|
|
|
Requires(post): %{ghc_compiler}
|
|
|
|
|
Requires(postun): %{ghc_compiler}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides the Haskell unordered-containers library
|
|
|
|
|
development files.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
@ -42,20 +51,25 @@ BuildRequires: ghc-hashable-devel
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_package
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
%postun devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files LICENSE
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 0.2.3.0-1
|
|
|
|
|
- update to 0.2.3.0
|
|
|
|
|
- part of haskell-platform-2013.2
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|