[packages/ghc-http-client] - pl, updated dependencies
qboosh
qboosh at pld-linux.org
Wed Jul 23 18:17:57 CEST 2025
commit 6243d11070ae5068182ded1c3449a87217498297
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 23 18:19:40 2025 +0200
- pl, updated dependencies
ghc-http-client.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 70 insertions(+), 13 deletions(-)
---
diff --git a/ghc-http-client.spec b/ghc-http-client.spec
index 7d4fce3..c9f9887 100644
--- a/ghc-http-client.spec
+++ b/ghc-http-client.spec
@@ -4,6 +4,7 @@
#
%define pkgname http-client
Summary: An HTTP client engine
+Summary(pl.UTF-8): Silnik klienta HTTP
Name: ghc-%{pkgname}
Version: 0.7.0
Release: 2
@@ -13,46 +14,85 @@ Group: Development/Languages
Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
# Source0-md5: ad2dd8cc97e36f758f9207a5e4517a9e
URL: http://hackage.haskell.org/package/http-client
-BuildRequires: ghc >= 6.12.3
+BuildRequires: ghc >= 8.2.1
+BuildRequires: ghc-array
+BuildRequires: ghc-base >= 4.10
+BuildRequires: ghc-base < 5
+BuildRequires: ghc-blaze-builder >= 0.3
+BuildRequires: ghc-bytestring >= 0.10
+BuildRequires: ghc-case-insensitive >= 1.0
+BuildRequires: ghc-containers >= 0.5
BuildRequires: ghc-cookie
+BuildRequires: ghc-deepseq >= 1.3
+BuildRequires: ghc-deepseq < 1.5
+BuildRequires: ghc-exceptions >= 0.4
BuildRequires: ghc-filepath
+BuildRequires: ghc-ghc-prim
BuildRequires: ghc-http-types >= 0.8
BuildRequires: ghc-memory >= 0.7
BuildRequires: ghc-mime-types
-BuildRequires: ghc-network >= 2.4
+BuildRequires: ghc-network >= 2.6
BuildRequires: ghc-network-uri >= 2.6
BuildRequires: ghc-random
BuildRequires: ghc-safe
-BuildRequires: ghc-semigroups >= 0.16.1
+BuildRequires: ghc-stm >= 2.3
BuildRequires: ghc-streaming-commons >= 0.1.0.2
+BuildRequires: ghc-streaming-commons < 0.3
+BuildRequires: ghc-text >= 0.11
+BuildRequires: ghc-time >= 1.2
+BuildRequires: ghc-transformers
%if %{with prof}
-BuildRequires: ghc-prof
+BuildRequires: ghc-prof >= 8.2.1
+BuildRequires: ghc-array-prof
+BuildRequires: ghc-base-prof >= 4.10
+BuildRequires: ghc-blaze-builder-prof >= 0.3
+BuildRequires: ghc-bytestring-prof >= 0.10
+BuildRequires: ghc-case-insensitive-prof >= 1.0
+BuildRequires: ghc-containers-prof >= 0.5
BuildRequires: ghc-cookie-prof
+BuildRequires: ghc-deepseq-prof >= 1.3
+BuildRequires: ghc-exceptions-prof >= 0.4
BuildRequires: ghc-filepath-prof
+BuildRequires: ghc-ghc-prim-prof
BuildRequires: ghc-http-types-prof >= 0.8
BuildRequires: ghc-memory-prof >= 0.7
BuildRequires: ghc-mime-types-prof
-BuildRequires: ghc-network-prof >= 2.4
+BuildRequires: ghc-network-prof >= 2.6
BuildRequires: ghc-network-uri-prof >= 2.6
BuildRequires: ghc-random-prof
BuildRequires: ghc-safe-prof
-BuildRequires: ghc-semigroups-prof >= 0.16.1
+BuildRequires: ghc-stm-prof >= 2.3
BuildRequires: ghc-streaming-commons-prof >= 0.1.0.2
+BuildRequires: ghc-text-prof >= 0.11
+BuildRequires: ghc-time-prof >= 1.2
+BuildRequires: ghc-transformers-prof
%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
Requires(post,postun): /usr/bin/ghc-pkg
+Requires: ghc-array
+Requires: ghc-base >= 4.10
+Requires: ghc-blaze-builder >= 0.3
+Requires: ghc-bytestring >= 0.10
+Requires: ghc-case-insensitive >= 1.0
+Requires: ghc-containers >= 0.5
Requires: ghc-cookie
+Requires: ghc-deepseq >= 1.3
+Requires: ghc-exceptions >= 0.4
Requires: ghc-filepath
+Requires: ghc-ghc-prim
Requires: ghc-http-types >= 0.8
Requires: ghc-memory >= 0.7
Requires: ghc-mime-types
-Requires: ghc-network >= 2.4
+Requires: ghc-network >= 2.6
Requires: ghc-network-uri >= 2.6
Requires: ghc-random
Requires: ghc-safe
-Requires: ghc-semigroups >= 0.16.1
+Requires: ghc-stm >= 2.3
Requires: ghc-streaming-commons >= 0.1.0.2
+Requires: ghc-text >= 0.11
+Requires: ghc-time >= 1.2
+Requires: ghc-transformers
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -65,26 +105,42 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
An HTTP client engine, intended as a base layer for more user-friendly
packages.
+%description -l pl.UTF-8
+Silnik klienta HTTP, pomyślany jako warstwa bazowa dla pakietów
+bardziej przyjaznych dla użytkownika.
+
%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-array-prof
+Requires: ghc-base-prof >= 4.10
+Requires: ghc-blaze-builder-prof >= 0.3
+Requires: ghc-bytestring-prof >= 0.10
+Requires: ghc-case-insensitive-prof >= 1.0
+Requires: ghc-containers-prof >= 0.5
Requires: ghc-cookie-prof
+Requires: ghc-deepseq-prof >= 1.3
+Requires: ghc-exceptions-prof >= 0.4
Requires: ghc-filepath-prof
+Requires: ghc-ghc-prim-prof
Requires: ghc-http-types-prof >= 0.8
Requires: ghc-memory-prof >= 0.7
Requires: ghc-mime-types-prof
-Requires: ghc-network-prof >= 2.4
+Requires: ghc-network-prof >= 2.6
Requires: ghc-network-uri-prof >= 2.6
Requires: ghc-random-prof
Requires: ghc-safe-prof
-Requires: ghc-semigroups-prof >= 0.16.1
+Requires: ghc-stm-prof >= 2.3
Requires: ghc-streaming-commons-prof >= 0.1.0.2
+Requires: ghc-text-prof >= 0.11
+Requires: ghc-time-prof >= 1.2
+Requires: ghc-transformers-prof
%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
@@ -102,6 +158,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -132,7 +189,7 @@ rm -rf $RPM_BUILD_ROOT
%doc ChangeLog.md README.md %{name}-%{version}-doc/*
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.so
+%attr(755,root,root) %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.so
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.a
%exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*_p.a
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-http-client.git/commitdiff/6243d11070ae5068182ded1c3449a87217498297
More information about the pld-cvs-commit
mailing list