|
|
|
@ -1,19 +1,12 @@
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name case-insensitive
|
|
|
|
|
|
|
|
|
|
%global common_summary Case insensitive string comparison
|
|
|
|
|
|
|
|
|
|
%global common_description The module Data.CaseInsensitive provides the CI type constructor which\
|
|
|
|
|
can be parameterised by a string-like type (String, ByteString,\
|
|
|
|
|
Text, etc). Comparisons of values of the resulting type will be\
|
|
|
|
|
insensitive to cases.
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 1.0
|
|
|
|
|
# part of haskell-platform-2013.2+
|
|
|
|
|
Version: 1.0.0.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
Summary: Case insensitive string comparison
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
@ -29,8 +22,21 @@ BuildRequires: ghc-text-devel
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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 case-insensitive library development files.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
@ -44,19 +50,27 @@ BuildRequires: ghc-text-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
|
|
|
|
|
%doc README.markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat May 04 2013 Jens Petersen <petersen@redhat.com> - 1.0.0.1-1
|
|
|
|
|
- update to 1.0.0.1 (now part of Haskell Platform 2013.2)
|
|
|
|
|
- update spec file to cabal-rpm-0.8.0
|
|
|
|
|
|
|
|
|
|
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.0-1
|
|
|
|
|
- update to 1.0
|
|
|
|
|
|
|
|
|
|