# https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name case-insensitive Name: ghc-%{pkg_name} # part of haskell-platform-2013.2+ Version: 1.0.0.1 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-hashable-devel BuildRequires: ghc-text-devel # 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. %package devel Summary: Haskell %{pkg_name} library development files Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %doc LICENSE %files devel -f %{name}-devel.files %doc README.markdown %changelog * Sat May 04 2013 Jens Petersen - 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 - 1.0-1 - update to 1.0 * Wed Feb 13 2013 Fedora Release Engineering - 0.4.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Nov 06 2012 Jens Petersen - 0.4.0.3-1 - update to 0.4.0.3 * Thu Jul 19 2012 Fedora Release Engineering - 0.4.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jul 16 2012 Jens Petersen - 0.4.0.1-5 - change prof BRs to devel * Fri Jun 15 2012 Jens Petersen - 0.4.0.1-4 - rebuild * Thu Mar 22 2012 Jens Petersen - 0.4.0.1-3 - rebuild * Wed Mar 7 2012 Jens Petersen - 0.4.0.1-2 - rebuild * Thu Jan 5 2012 Jens Petersen - 0.4.0.1-1 - update to 0.4.0.1 and cabal2spec-0.25.2 * Mon Oct 24 2011 Marcela Mašláňová - 0.3.0.1-1.3 - rebuild with new gmp without compat lib * Thu Oct 20 2011 Marcela Mašláňová - 0.3.0.1-1.2 - rebuild with new gmp without compat lib * Tue Oct 11 2011 Peter Schiffer - 0.3.0.1-1.1 - rebuild with new gmp * Sat Oct 8 2011 Jens Petersen - 0.3.0.1-1 - update to 0.3.0.1 - depends on hashable * Tue Sep 13 2011 Jens Petersen - 0.2.0.2-2 - rebuild against newer ghc-rpm-macros * Thu Aug 11 2011 Jens Petersen - 0.2.0.2-1 - update to 0.2.0.2 * Thu Jun 30 2011 Jens Petersen - 0.2.0.1-1 - BSD - depends on text * Thu Jun 30 2011 Fedora Haskell SIG - 0.2.0.1-0 - initial packaging for Fedora automatically generated by cabal2spec-0.24