[packages/ghc-hxt] - pl, updated dependencies
qboosh
qboosh at pld-linux.org
Wed Mar 25 20:00:40 CET 2026
commit ee432470292ba34571c9643c9dfdce7aa59e2f65
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Mar 25 20:00:49 2026 +0100
- pl, updated dependencies
ghc-hxt.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 60 insertions(+), 10 deletions(-)
---
diff --git a/ghc-hxt.spec b/ghc-hxt.spec
index 46df7a7..333cdac 100644
--- a/ghc-hxt.spec
+++ b/ghc-hxt.spec
@@ -4,6 +4,7 @@
#
%define pkgname hxt
Summary: A collection of tools for processing XML with Haskell
+Summary(pl.UTF-8): Zbiór narzędzi do przetwarzania XML-a w Haskellu
Name: ghc-%{pkgname}
Version: 9.3.1.18
Release: 2
@@ -13,28 +14,58 @@ Group: Development/Languages
Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
# Source0-md5: fc58dede9d9df529486d91d015bfec63
URL: http://hackage.haskell.org/package/hxt
-BuildRequires: ghc >= 6.12.3
+BuildRequires: ghc >= 7.10
+BuildRequires: ghc-base >= 4
+BuildRequires: ghc-base < 5
+BuildRequires: ghc-binary >= 0.5
+BuildRequires: ghc-bytestring >= 0.9
+BuildRequires: ghc-containers >= 0.2
+BuildRequires: ghc-deepseq >= 1.1
+BuildRequires: ghc-directory >= 1
+BuildRequires: ghc-filepath >= 1
BuildRequires: ghc-hxt-charproperties >= 9.1
BuildRequires: ghc-hxt-regex-xmlschema >= 9.2
BuildRequires: ghc-hxt-unicode >= 9.0.1
-BuildRequires: ghc-network >= 2.4
+BuildRequires: ghc-mtl >= 2.0.1
+BuildRequires: ghc-mtl < 3
BuildRequires: ghc-network-uri >= 2.6
+BuildRequires: ghc-parsec >= 2.1
+BuildRequires: ghc-parsec < 4
%if %{with prof}
-BuildRequires: ghc-prof
+BuildRequires: ghc-prof >= 7.10
+BuildRequires: ghc-base-prof >= 4
+BuildRequires: ghc-base-prof < 5
+BuildRequires: ghc-binary-prof >= 0.5
+BuildRequires: ghc-bytestring-prof >= 0.9
+BuildRequires: ghc-containers-prof >= 0.2
+BuildRequires: ghc-deepseq-prof >= 1.1
+BuildRequires: ghc-directory-prof >= 1
+BuildRequires: ghc-filepath-prof >= 1
BuildRequires: ghc-hxt-charproperties-prof >= 9.1
BuildRequires: ghc-hxt-regex-xmlschema-prof >= 9.2
BuildRequires: ghc-hxt-unicode-prof >= 9.0.1
-BuildRequires: ghc-network-prof >= 2.4
+BuildRequires: ghc-mtl-prof >= 2.0.1
+BuildRequires: ghc-mtl-prof < 3
BuildRequires: ghc-network-uri-prof >= 2.6
+BuildRequires: ghc-parsec-prof >= 2.1
+BuildRequires: ghc-parsec-prof < 4
%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
Requires(post,postun): /usr/bin/ghc-pkg
+Requires: ghc-base >= 4
+Requires: ghc-binary >= 0.5
+Requires: ghc-bytestring >= 0.9
+Requires: ghc-containers >= 0.2
+Requires: ghc-deepseq >= 1.1
+Requires: ghc-directory >= 1
+Requires: ghc-filepath >= 1
Requires: ghc-hxt-charproperties >= 9.1
Requires: ghc-hxt-regex-xmlschema >= 9.2
Requires: ghc-hxt-unicode >= 9.0.1
-Requires: ghc-network >= 2.4
+Requires: ghc-mtl >= 2.0.1
Requires: ghc-network-uri >= 2.6
+Requires: ghc-parsec >= 2.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -54,20 +85,39 @@ schema validator and funtions for serialization and deserialization
of user defined data. The library makes extensive use of the arrow
approach for processing XML.
+%description -l pl.UTF-8
+Haskell XML Toolbox to haskellowy zestaw narzędzi do XML-a oparty na
+ideach HaXml i HXML, ale wprowadzający ogólne podejście do
+przetwarzania XML-a w Haskellu. Haskell XML Toolbox wykorzystuje
+ogólny model danych do reprezentowania dokumentów XML. Zawiera parser
+XML-a z kontrolą poprawności, parser HTML-a, obsługę przestrzeni nazw,
+wyznaczanie wyrażeń XPath, bibliotekę XSLT, narzędzie do sprawdzania
+poprawności względem schematu RelaxNG oraz funkcje do serializacji i
+deserializacji danych zdefiniowanych przez użytkownika. Biblioteka
+intensywnie wykorzystuje podejście strzałkowe do przetwarzania XML-a.
+
%package prof
Summary: Profiling %{pkgname} library for GHC
Summary(pl.UTF-8): Biblioteka profilująca %{pkgname} dla GHC
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: ghc-base-prof >= 4
+Requires: ghc-binary-prof >= 0.5
+Requires: ghc-bytestring-prof >= 0.9
+Requires: ghc-containers-prof >= 0.2
+Requires: ghc-deepseq-prof >= 1.1
+Requires: ghc-directory-prof >= 1
+Requires: ghc-filepath-prof >= 1
Requires: ghc-hxt-charproperties-prof >= 9.1
Requires: ghc-hxt-regex-xmlschema-prof >= 9.2
Requires: ghc-hxt-unicode-prof >= 9.0.1
-Requires: ghc-network-prof >= 2.4
+Requires: ghc-mtl-prof >= 2.0.1
Requires: ghc-network-uri-prof >= 2.6
+Requires: ghc-parsec-prof >= 2.1
%description prof
-Profiling %{pkgname} library for GHC. Should be installed when
-GHC's profiling subsystem is needed.
+Profiling %{pkgname} library for GHC. Should be installed when GHC's
+profiling subsystem is needed.
%description prof -l pl.UTF-8
Biblioteka profilująca %{pkgname} dla GHC. Powinna być zainstalowana
@@ -85,6 +135,7 @@ runhaskell Setup.lhs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.lhs build
+
runhaskell Setup.lhs haddock --executables
%install
@@ -95,8 +146,7 @@ runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
# work around automatic haddock docs installation
%{__rm} -rf %{name}-%{version}-doc
-cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
runhaskell Setup.lhs register \
--gen-pkg-config=$RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-hxt.git/commitdiff/ee432470292ba34571c9643c9dfdce7aa59e2f65
More information about the pld-cvs-commit
mailing list