[packages/ghc-utf8-string] - pl, updated dependencies
qboosh
qboosh at pld-linux.org
Wed Mar 25 20:47:39 CET 2026
commit 49cccbad2646055d541f3d4b783bbc698dd28158
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Mar 25 20:47:51 2026 +0100
- pl, updated dependencies
ghc-utf8-string.spec | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)
---
diff --git a/ghc-utf8-string.spec b/ghc-utf8-string.spec
index f8cd661..f8c8cac 100644
--- a/ghc-utf8-string.spec
+++ b/ghc-utf8-string.spec
@@ -3,7 +3,8 @@
%bcond_without prof # profiling library
#
%define pkgname utf8-string
-Summary: Support for reading and writing UTF8 Strings
+Summary: Support for reading and writing UTF-8 Strings
+Summary(pl.UTF-8): Obsługa odczytu i zapisu łańcuchów znaków UTF-8
Name: ghc-%{pkgname}
Version: 1.0.1.1
Release: 3
@@ -13,12 +14,20 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkg
# Source0-md5: fe24e26bd4b09731af66ef27b18b5177
Patch0: base-dep.patch
URL: http://hackage.haskell.org/package/utf8-string/
-BuildRequires: ghc >= 6.12.3
+BuildRequires: ghc >= 7.0.1
+BuildRequires: ghc-base >= 4.3
+BuildRequires: ghc-base < 5
+BuildRequires: ghc-bytestring >= 0.9
%if %{with prof}
-BuildRequires: ghc-prof
+BuildRequires: ghc-prof >= 7.0.1
+BuildRequires: ghc-base-prof >= 4.3
+BuildRequires: ghc-base-prof < 5
+BuildRequires: ghc-bytestring-prof >= 0.9
%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
+Requires: ghc-base >= 4.3
+Requires: ghc-bytestring >= 0.9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -26,18 +35,25 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
A UTF8 layer for IO and Strings. The utf8-string package provides
-operations for encoding UTF8 strings to Word8 lists and back, and for
-reading and writing UTF8 without truncation.
+operations for encoding UTF-8 strings to Word8 lists and back, and for
+reading and writing UTF-8 without truncation.
+
+%description -l pl.UTF-8
+Warstwa UTF8 dla typów IO i String. Ten pakiet udostępnia operacje
+kodowania łańcuchów UTF-8 do list Word8 i z powrotem oraz do odczytu i
+zapisu UTF-8 bez obcinania.
%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.3
+Requires: ghc-bytestring-prof >= 0.9
%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
@@ -67,6 +83,7 @@ runhaskell Setup.lhs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.lhs build
+
runhaskell Setup.lhs haddock --executables
%install
@@ -77,7 +94,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}/html %{name}-%{version}-doc
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{name}-%{version}-doc
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
runhaskell Setup.lhs register \
@@ -94,6 +111,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc CHANGELOG.markdown LICENSE
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-utf8-string.git/commitdiff/49cccbad2646055d541f3d4b783bbc698dd28158
More information about the pld-cvs-commit
mailing list