|
|
|
@ -2,15 +2,20 @@
|
|
|
|
|
|
|
|
|
|
%global pkg_name case-insensitive
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
# no useful debuginfo for Haskell packages without C sources
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform-2013.2+
|
|
|
|
|
Version: 1.0.0.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
# part of haskell-platform
|
|
|
|
|
Version: 1.1.0.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Case insensitive string comparison
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
@ -19,24 +24,30 @@ BuildRequires: ghc-bytestring-devel
|
|
|
|
|
BuildRequires: ghc-deepseq-devel
|
|
|
|
|
BuildRequires: ghc-hashable-devel
|
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-hunit-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The module Data.CaseInsensitive provides the 'CI' type constructor
|
|
|
|
|
which can be parameterised by a string-like type like: 'String',
|
|
|
|
|
'ByteString', 'Text', etc. Comparisons of values of the resulting
|
|
|
|
|
type will be insensitive to cases.
|
|
|
|
|
The module 'Data.CaseInsensitive' provides the 'CI' type constructor which can
|
|
|
|
|
be parameterised by a string-like type like: 'String', 'ByteString', 'Text',
|
|
|
|
|
etc.. Comparisons of values of the resulting type will be insensitive to cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
This package provides the Haskell %{pkg_name} library development
|
|
|
|
|
files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -51,6 +62,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%cabal test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
@ -68,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 01 2014 Jens Petersen <petersen@redhat.com> - 1.1.0.3-1
|
|
|
|
|
- update to 1.1.0.3
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|