[packages/ghc-c2hs] - proper description

qboosh qboosh at pld-linux.org
Sun Feb 12 20:41:35 CET 2023


commit 91532835aeae1ff77e52fa4c013c7557dcae5fcd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 12 20:42:49 2023 +0100

    - proper description

 ghc-c2hs.spec | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/ghc-c2hs.spec b/ghc-c2hs.spec
index a07253a..09f1f1d 100644
--- a/ghc-c2hs.spec
+++ b/ghc-c2hs.spec
@@ -1,5 +1,6 @@
 %define		pkgname	c2hs
-Summary:	A Haskell binding to the c2hs graphics library
+Summary:	C->Haskell FFI tool that gives some cross-language type safety
+Summary(pl.UTF-8):	Narzędzie FFI C->Haskell dające pewne bezpieczeństwo typów między językami
 Name:		ghc-%{pkgname}
 Version:	0.28.8
 Release:	2
@@ -27,7 +28,18 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_enable_debug_packages	0
 
 %description
-A Haskell binding to the c2hs graphics library.
+C->Haskell assists in the development of Haskell bindings to C
+libraries. It extracts interface information from C header files and
+generates Haskell code with foreign imports and marshaling. Unlike
+writing foreign imports by hand (or using hsc2hs), this ensures that C
+functions are imported with the correct Haskell types.
+
+%description -l pl.UTF-8
+C->Haskell pomaga przy tworzeniu wiązań Haskella do bibliotek C.
+Wydobywa informacje o interfejsach z plików nagłówkowych C i generuje
+kod w Haskellu z obcymi importami i szeregowaniem. W przeciwieństwie
+do ręcznego pisania importów (albo używania hsc2hs) zapewnia, że
+funkcje C są importowane z poprawnymi typami Haskella.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-c2hs.git/commitdiff/1adcfc51064c8adae3df193f038d4c2e7db11728



More information about the pld-cvs-commit mailing list