[packages/ghc-memory] - pl, updated dependencies

qboosh qboosh at pld-linux.org
Tue Jul 22 20:02:07 CEST 2025


commit aa7848304975c25a7c9d2e62cbfd32fc59f0c20c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jul 22 20:03:50 2025 +0200

    - pl, updated dependencies

 ghc-memory.spec | 33 +++++++++++++++++++++++++--------
 1 file changed, 25 insertions(+), 8 deletions(-)
---
diff --git a/ghc-memory.spec b/ghc-memory.spec
index f642c4f..091f384 100644
--- a/ghc-memory.spec
+++ b/ghc-memory.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	memory
 Summary:	Memory and related abstraction stuff
+Summary(pl.UTF-8):	Biblioteka abstrakcji pamięci i pochodnych
 Name:		ghc-%{pkgname}
 Version:	0.15.0
 Release:	3
@@ -13,12 +14,17 @@ Group:		Development/Languages
 Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5:	f763e1781a843e53b75f9944dd546cb5
 URL:		http://hackage.haskell.org/package/memory
-BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc >= 8.0
+BuildRequires:	ghc-base
 BuildRequires:	ghc-basement >= 0.0.7
+BuildRequires:	ghc-bytestring
 BuildRequires:	ghc-deepseq >= 1.1
+BuildRequires:	ghc-ghc-prim
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 8.0
+BuildRequires:	ghc-base-prof
 BuildRequires:	ghc-basement-prof >= 0.0.7
+BuildRequires:	ghc-bytestring-prof
 BuildRequires:	ghc-deepseq-prof >= 1.1
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
@@ -36,14 +42,24 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Chunk of memory, polymorphic byte array management and manipulation:
-
 - A polymorphic byte array abstraction and function similar to strict
   ByteString.
 - Different type of byte array abstraction.
 - Raw memory IO operations (memory set, memory copy, ..)
 - Aliasing with endianness support.
-- Encoding : Base16, Base32, Base64.
-- Hashing : FNV, SipHash
+- Encoding: Base16, Base32, Base64.
+- Hashing: FNV, SipHash
+
+%description -l pl.UTF-8
+Zarządzanie i operacje na porcjach pamięci, polimorficznych tablicach
+bajtów:
+- abstrakcja polimorficznej tablicy bajtów i funkcji podobnych do
+  ścisłego typu ByteString
+- różne typy abstrakcji tablicy bajtów
+- surowe operacje we/wy na pamięci (ustawianie, kopiowanie...)
+- aliasy z obsługą kolejności bajtów w słowie
+- kodowania: Base16, Base32, Base64
+- haszowanie: FNV, SipHash
 
 %package prof
 Summary:	Profiling %{pkgname} library for GHC
@@ -54,8 +70,8 @@ Requires:	ghc-basement-prof >= 0.0.7
 Requires:	ghc-deepseq-prof >= 1.1
 
 %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
@@ -73,6 +89,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -103,7 +120,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-memory.git/commitdiff/aa7848304975c25a7c9d2e62cbfd32fc59f0c20c



More information about the pld-cvs-commit mailing list