File ghc-hxt.spec of Package ghc-hxt

# spec file for package ghc-hxt
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%global pkg_name hxt
Name:           ghc-%{pkg_name}
Release:        0
Summary:        A collection of tools for processing XML with Haskell
License:        MIT
Group:          Development/Libraries/Haskell
URL:  {pkg_name}
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-binary-devel
BuildRequires:  ghc-bytestring-devel
BuildRequires:  ghc-containers-devel
BuildRequires:  ghc-deepseq-devel
BuildRequires:  ghc-directory-devel
BuildRequires:  ghc-filepath-devel
BuildRequires:  ghc-hxt-charproperties-devel
BuildRequires:  ghc-hxt-regex-xmlschema-devel
BuildRequires:  ghc-hxt-unicode-devel
BuildRequires:  ghc-mtl-devel
BuildRequires:  ghc-network-uri-devel
BuildRequires:  ghc-parsec-devel
BuildRequires:  ghc-rpm-macros

The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but introduces a
more general approach for processing XML with Haskell. The Haskell XML Toolbox
uses a generic data model for representing XML documents, including the DTD
subset and the document subset, in Haskell. It contains a validating XML
parser, a HTML parser, namespace support, an XPath expression evaluator, an
XSLT library, a RelaxNG schema validator and funtions for serialization and
deserialization of user defined data. The library makes extensive use of the
arrow approach for processing XML. Since version 9 the toolbox is partitioned
into various (sub-)packages. This package contains the core functionality,
hxt-curl, hxt-tagsoup, hxt-relaxng, hxt-xpath, hxt-xslt, hxt-regex-xmlschema
contain the extensions. hxt-unicode contains encoding and decoding functions,
hxt-charproperties char properties for unicode and XML.

Changes from Bug in quoting PI instructions in showXmlTrees fixed

Changes from For ghc-7.10 network-uri is automatically selected

Changes from ghc-7.10 compatibility

Changes from Bug when unpickling an empty attribute value removed

Changes from Bug fix in haddock comments

Changes from Bug in DTD validation, space and time leak in delta

Changes from lower bound of mtl dependency lowered to 2.0.1

Changes from Bug in hread removed

Changes from Foldable and Traversable instances for NTree added
Control.Except used instead of deprecated Control.Error

Changes from canonicalize added in hread and hreadDoc

Changes from conditionally (no default) dependency from networt
changed to network-uri with flag "network-uri"

Changes from warnings from ghc-7.8.1 removed

Changes from https as protocol added

Changes from new parser xreadDoc

Changes from in readString all input decoding switched off

Changes from lower bound for network set to be >= 2.4

Changes from 9.3.0: upper bound for network set to be < 2.4 (URI signatures
changed in 2.4)

Changes from 9.2.2: XMLSchema validation integrated

Changes from 9.2.1: user defined mime type handlers added

Changes from 9.2.0: New warnings from ghc-7.4 removed.

%package devel
Summary:        Haskell %{pkg_name} library development files
Group:          Development/Libraries/Haskell
Requires:       %{name} = %{version}-%{release}
Requires:       ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%setup -q -n %{pkg_name}-%{version}



%post devel

%postun devel

%files -f %{name}.files
%license LICENSE

%files devel -f %{name}-devel.files
%doc examples

openSUSE Build Service is sponsored by