[packages/ghc-SHA] - pl, dependencies

qboosh qboosh at pld-linux.org
Sat Jul 19 17:43:30 CEST 2025


commit 48b8c7695615c0df3970331444040b7b1f8a3f0c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 19 17:45:11 2025 +0200

    - pl, dependencies

 ghc-SHA.spec | 28 ++++++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)
---
diff --git a/ghc-SHA.spec b/ghc-SHA.spec
index c6a2a0f..dda81dc 100644
--- a/ghc-SHA.spec
+++ b/ghc-SHA.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	SHA
 Summary:	Implementations of the SHA suite of message digest functions
+Summary(pl.UTF-8):	Implementacje zestawu funkcji skrótu SHA
 Name:		ghc-%{pkgname}
 Version:	1.6.4.4
 Release:	2
@@ -14,12 +15,24 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	f2a26839057b5e4fd53b8f6a41b88553
 URL:		http://hackage.haskell.org/package/SHA
 BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc-array
+BuildRequires:	ghc-base >= 4
+BuildRequires:	ghc-base < 6
+BuildRequires:	ghc-binary >= 0.7
+BuildRequires:	ghc-bytestring > 0.8
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 6.12.3
+BuildRequires:	ghc-array-prof
+BuildRequires:	ghc-base-prof >= 4
+BuildRequires:	ghc-binary-prof >= 0.7
+BuildRequires:	ghc-bytestring-prof > 0.8
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
 Requires(post,postun):	/usr/bin/ghc-pkg
+Requires:	ghc-base >= 4
+Requires:	ghc-binary >= 0.7
+Requires:	ghc-bytestring > 0.8
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
@@ -36,11 +49,22 @@ most of the NIST and RFC test vectors for the various functions.
 While some attention has been paid to performance, these do not
 presently reach the speed of well-tuned libraries, like OpenSSL.
 
+%description -l pl.UTF-8
+Ta biblioteka implementuje zestaw funkcji skrótu SHA zgodnych z NIST
+FIPS 180-2 (z dodatkiem SHA-224), a także funkcje HMAC oparte na SHA.
+Funkcje te zostały przetestowane względem większości wektorów
+testowych NIST i RFC dla różnych funkcji. O ile zwrócono pewną uwagę
+na wydajność, obecnie nie osiągnięto szybkości dobrze dostrojonych
+bibliotek, takich jak OpenSSL.
+
 %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.7
+Requires:	ghc-bytestring-prof > 0.8
 
 %description prof
 Profiling %{pkgname} library for GHC.  Should be installed when
@@ -92,7 +116,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{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-SHA.git/commitdiff/48b8c7695615c0df3970331444040b7b1f8a3f0c



More information about the pld-cvs-commit mailing list