Blame SPECS/ghc-hxt.spec

06fec1
# generated by cabal-rpm-0.12.1
06fec1
# https://fedoraproject.org/wiki/Packaging:Haskell
06fec1
06fec1
%global pkg_name hxt
06fec1
%global pkgver %{pkg_name}-%{version}
06fec1
06fec1
Name:           ghc-%{pkg_name}
06fec1
Version:        9.3.1.16
06fec1
Release:        3%{?dist}
06fec1
Summary:        A collection of tools for processing XML with Haskell
06fec1
06fec1
License:        MIT
06fec1
Url:            https://hackage.haskell.org/package/%{pkg_name}
06fec1
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
06fec1
06fec1
BuildRequires:  ghc-Cabal-devel
06fec1
BuildRequires:  ghc-rpm-macros
06fec1
# Begin cabal-rpm deps:
06fec1
BuildRequires:  ghc-binary-devel
06fec1
BuildRequires:  ghc-bytestring-devel
06fec1
BuildRequires:  ghc-containers-devel
06fec1
BuildRequires:  ghc-deepseq-devel
06fec1
BuildRequires:  ghc-directory-devel
06fec1
BuildRequires:  ghc-filepath-devel
06fec1
BuildRequires:  ghc-hxt-charproperties-devel
06fec1
BuildRequires:  ghc-hxt-regex-xmlschema-devel
06fec1
BuildRequires:  ghc-hxt-unicode-devel
06fec1
BuildRequires:  ghc-mtl-devel
06fec1
BuildRequires:  ghc-network-uri-devel
06fec1
BuildRequires:  ghc-parsec-devel
06fec1
# End cabal-rpm deps
06fec1
06fec1
%description
06fec1
The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but introduces a
06fec1
more general approach for processing XML with Haskell. The Haskell XML Toolbox
06fec1
uses a generic data model for representing XML documents, including the DTD
06fec1
subset and the document subset, in Haskell. It contains a validating XML
06fec1
parser, a HTML parser, namespace support, an XPath expression evaluator, an
06fec1
XSLT library, a RelaxNG schema validator and funtions for serialization and
06fec1
deserialization of user defined data. The library makes extensive use of the
06fec1
arrow approach for processing XML. Since version 9 the toolbox is partitioned
06fec1
into various (sub-)packages. This package contains the core functionality,
06fec1
hxt-curl, hxt-tagsoup, hxt-relaxng, hxt-xpath, hxt-xslt, hxt-regex-xmlschema
06fec1
contain the extensions. hxt-unicode contains encoding and decoding functions,
06fec1
hxt-charproperties char properties for unicode and XML.
06fec1
06fec1
06fec1
%package devel
06fec1
Summary:        Haskell %{pkg_name} library development files
06fec1
Provides:       %{name}-static = %{version}-%{release}
06fec1
Provides:       %{name}-doc = %{version}-%{release}
06fec1
%if %{defined ghc_version}
06fec1
Requires:       ghc-compiler = %{ghc_version}
06fec1
Requires(post): ghc-compiler = %{ghc_version}
06fec1
Requires(postun): ghc-compiler = %{ghc_version}
06fec1
%endif
06fec1
Requires:       %{name}%{?_isa} = %{version}-%{release}
06fec1
06fec1
%description devel
06fec1
This package provides the Haskell %{pkg_name} library development files.
06fec1
06fec1
06fec1
%prep
06fec1
%setup -q -n %{pkgver}
06fec1
06fec1
06fec1
%build
06fec1
%ghc_lib_build
06fec1
06fec1
06fec1
%install
06fec1
%ghc_lib_install
06fec1
06fec1
06fec1
%post devel
06fec1
%ghc_pkg_recache
06fec1
06fec1
06fec1
%postun devel
06fec1
%ghc_pkg_recache
06fec1
06fec1
06fec1
%files -f %{name}.files
06fec1
%license LICENSE
06fec1
06fec1
06fec1
%files devel -f %{name}-devel.files
06fec1
%doc examples
06fec1
06fec1
06fec1
%changelog
06fec1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.3.1.16-3
06fec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
06fec1
06fec1
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 9.3.1.16-2
06fec1
- rebuild
06fec1
06fec1
* Sun Oct 15 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 9.3.1.16-1
06fec1
- spec file generated by cabal-rpm-0.11.2