[packages/ghc-hxt-charproperties] - pl, updated dependencies

qboosh qboosh at pld-linux.org
Tue Mar 24 19:42:41 CET 2026


commit 71a895fcce880e1940b0510cdc259258c8fbefde
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Mar 24 19:42:58 2026 +0100

    - pl, updated dependencies

 ghc-hxt-charproperties.spec | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/ghc-hxt-charproperties.spec b/ghc-hxt-charproperties.spec
index 55f708b..278124a 100644
--- a/ghc-hxt-charproperties.spec
+++ b/ghc-hxt-charproperties.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	hxt-charproperties
 Summary:	Character properties and classes for XML and Unicode
+Summary(pl.UTF-8):	Własności i klasy znaków dla XML-a i Unicode
 Name:		ghc-%{pkgname}
 Version:	9.4.0.0
 Release:	2
@@ -14,8 +15,10 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	63b8718c14bdb9eb8ea0717e484eef0b
 URL:		http://hackage.haskell.org/package/hxt-charproperties
 BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc-base >= 4
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 6.12.3
+BuildRequires:	ghc-base-prof >= 4
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
@@ -30,10 +33,16 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Character properties defined by XML and Unicode standards. These
-modules contain predicates for Unicode blocks and char proprties and
+modules contain predicates for Unicode blocks and char properties and
 character predicates defined by XML. Supported Unicode version is
 12.1.0.
 
+%description -l pl.UTF-8
+Własności znaków zdefiniowane przez standardy XML i Unicode. Moduły te
+zawierają predykaty dla bloków Unicode, własności znaków oraz
+predykaty znaków zdefiniowane przez XML. Obsługiwana wersja Unicode to
+12.1.0.
+
 %package prof
 Summary:	Profiling %{pkgname} library for GHC
 Summary(pl.UTF-8):	Biblioteka profilująca %{pkgname} dla GHC
@@ -41,8 +50,8 @@ Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %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
@@ -60,6 +69,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -70,8 +80,7 @@ runhaskell Setup.hs 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.hs 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-charproperties.git/commitdiff/71a895fcce880e1940b0510cdc259258c8fbefde



More information about the pld-cvs-commit mailing list