Blob Blame History Raw
# generated by cabal-rpm-0.12.1

%global pkg_name hxt-regex-xmlschema
%global pkgver %{pkg_name}-%{version}

%bcond_with tests

Name:           ghc-%{pkg_name}
Release:        4%{?dist}
Summary:        A regular expression library for W3C XML Schema regular expressions

License:        MIT
Url:  {pkg_name}

BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires:  ghc-bytestring-devel
BuildRequires:  ghc-hxt-charproperties-devel
BuildRequires:  ghc-parsec-devel
BuildRequires:  ghc-text-devel
%if %{with tests}
BuildRequires:  ghc-HUnit-devel
# End cabal-rpm deps

This library supports full W3C XML Schema regular expressions inclusive all
Unicode character sets and blocks. The complete grammar can be found under
<>. It is implemented by the
technique of derivations of regular expressions.

The W3C syntax is extended to support not only union of regular sets, but also
intersection, set difference, exor. Matching of subexpressions is also

The library can be used for constricting lightweight scanners and tokenizers.
It is a standalone library, no external regex libraries are used.

Extensions in 9.2: The library does nor only support String's, but also
ByteString's and Text in strict and lazy variants.

%package devel
Summary:        Haskell %{pkg_name} library development files
Provides:       %{name}-static = %{version}-%{release}
Provides:       %{name}-doc = %{version}-%{release}
%if %{defined ghc_version}
Requires:       ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires:       %{name}%{?_isa} = %{version}-%{release}

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

%setup -q -n %{pkgver}




%post devel

%postun devel

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

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

* Wed Feb 07 2018 Fedora Release Engineering <> -
- Rebuilt for

* Fri Jan 26 2018 Jens Petersen <> -
- rebuild

* Wed Oct  4 2017 Jens Petersen <> -
- disable tests due to hanging

* Sat Sep 16 2017 Fedora Haskell SIG <> -
- spec file generated by cabal-rpm-0.11.2