[packages/ghc-cryptonite] - pl, dependencies
qboosh
qboosh at pld-linux.org
Thu Jul 24 08:20:35 CEST 2025
commit ad471ec84e064989ba3b86750a0e77486756300c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jul 24 08:22:19 2025 +0200
- pl, dependencies
ghc-cryptonite.spec | 54 +++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 44 insertions(+), 10 deletions(-)
---
diff --git a/ghc-cryptonite.spec b/ghc-cryptonite.spec
index 5f9dd8a..40fc44a 100644
--- a/ghc-cryptonite.spec
+++ b/ghc-cryptonite.spec
@@ -4,6 +4,7 @@
#
%define pkgname cryptonite
Summary: Cryptography Primitives sink
+Summary(pl.UTF-8): Zbiór prymitywów kryptograficznych
Name: ghc-%{pkgname}
Version: 0.26
Release: 3
@@ -14,15 +15,29 @@ Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
# Source0-md5: 759be6bffbfc9bb4c525d9dac55f9f7c
URL: http://hackage.haskell.org/package/cryptonite
BuildRequires: ghc >= 6.12.3
-BuildRequires: ghc-memory
+BuildRequires: ghc-base
+BuildRequires: ghc-basement >= 0.0.6
+BuildRequires: ghc-bytestring
+BuildRequires: ghc-deepseq
+BuildRequires: ghc-ghc-prim
+BuildRequires: ghc-memory >= 0.14.18
%if %{with prof}
-BuildRequires: ghc-prof
-BuildRequires: ghc-memory-prof
+BuildRequires: ghc-prof >= 6.12.3
+BuildRequires: ghc-basement-prof >= 0.0.6
+BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-deepseq-prof
+BuildRequires: ghc-ghc-prim-prof
+BuildRequires: ghc-memory-prof >= 0.14.18
%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
Requires(post,postun): /usr/bin/ghc-pkg
-Requires: ghc-memory
+Requires: ghc-base
+Requires: ghc-basement >= 0.0.6
+Requires: ghc-bytestring
+Requires: ghc-deepseq
+Requires: ghc-ghc-prim
+Requires: ghc-memory >= 0.14.18
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -32,8 +47,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautocompressdoc *.haddock
%description
-A repository of cryptographic primitives.
-
+A repository of cryptographic primitives:
- Symmetric ciphers: AES, DES, 3DES, CAST5, Blowfish, Twofish,
Camellia, RC4, Salsa, XSalsa, ChaCha.
- Hash: SHA1, SHA2, SHA3, SHAKE, MD2, MD4, MD5, Keccak, Skein, Ripemd,
@@ -47,16 +61,35 @@ A repository of cryptographic primitives.
Random Generator
- Data related: Anti-Forensic Information Splitter (AFIS)
+%description -l pl.UTF-8
+Repozytorium prymitywów kryptograficznych:
+- szyfry symetryczne: AES, DES, 3DES, CAST5, Blowfish, Twofish,
+ Camellia, RC4, Salsa, XSalsa, ChaCha.
+- funkcje skrótu: SHA1, SHA2, SHA3, SHAKE, MD2, MD4, MD5, Keccak,
+ Skein, Ripemd, Tiger, Whirlpool, Blake2
+- MAC: HMAC, KMAC, Poly1305
+- kryptografia asymetryczna: DSA, RSA, DH, ECDH, ECDSA, ECC,
+ Curve25519, Curve448, Ed25519, Ed448
+- funkcje dla kluczy: PBKDF2, Scrypt, HKDF, Argon2, BCrypt,
+ BCryptPBKDF
+- kryptograficzne generatory liczb losowych: entropia systemowa,
+ generator deterministyczny
+- obsługa danych: Anti-Forensic Information Splitter (AFIS)
+
%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-memory-prof
+Requires: ghc-basement-prof >= 0.0.6
+Requires: ghc-bytestring-prof
+Requires: ghc-deepseq-prof
+Requires: ghc-ghc-prim-prof
+Requires: ghc-memory-prof >= 0.14.18
%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
@@ -77,6 +110,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -111,7 +145,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc CHANGELOG.md README.md %{name}-%{version}-doc/*
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
-%{_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-cryptonite.git/commitdiff/ad471ec84e064989ba3b86750a0e77486756300c
More information about the pld-cvs-commit
mailing list