[packages/ocaml-ctypes] - pl, BR: libffi-devel
qboosh
qboosh at pld-linux.org
Fri Mar 13 16:54:45 CET 2015
commit adbf4531ff8a235e941e8fb3eef0393fefa23479
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 13 16:55:58 2015 +0100
- pl, BR: libffi-devel
ocaml-ctypes.spec | 30 ++++++++++++++++++++++++++----
1 file changed, 26 insertions(+), 4 deletions(-)
---
diff --git a/ocaml-ctypes.spec b/ocaml-ctypes.spec
index d94ae42..b5a0228 100644
--- a/ocaml-ctypes.spec
+++ b/ocaml-ctypes.spec
@@ -1,14 +1,15 @@
%define module ctypes
Summary: Library for binding to C libraries using pure OCaml
+Summary(pl.UTF-8): Biblioteka do wiązania z bibliotekami C przy użyciu czystego OCamla
Name: ocaml-%{module}
Version: 0.3.4
Release: 1
-License: BSD
+License: MIT
Group: Libraries
Source0: https://github.com/ocamllabs/ocaml-ctypes/archive/%{version}.tar.gz?/%{module}-%{version}.tar.gz
# Source0-md5: 5356f0bab5cbc29eba3dded5e35a9e9d
URL: https://github.com/ocamllabs/ocaml-ctypes
-#BuildRequires: -devel
+BuildRequires: libffi-devel
BuildRequires: ocaml >= 3.04-7
%requires_eq ocaml-runtime
# requires opt not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
@@ -25,11 +26,27 @@ the structure of C types -- numeric types, arrays, pointers, structs,
unions and functions. You can use these combinators to describe the
types of the functions that you want to call, then bind directly to
those functions -- all without writing or generating any C!
+
This package contains files needed to run bytecode executables using
this library.
+%description -l pl.UTF-8
+ctypes to biblioteka do wiązania z bibliotekami C przy użyciu czystego
+OCamla. Głównym celem jest uczynienie pisania rozszerzeń w C jak
+najprostszym.
+
+Serce ctypes to zbiór kombinatorów do opisu struktur typów C - typów
+liczbowych, tablic, wskaźników, struktur, unii oraz funkcji. Można ich
+używać do opisu typów funkcji, które mają być wywoływane, a następnie
+dowiązać bezpośrednio do tych funkcji - bez pisania ani generowania
+żadnego kodu w C!
+
+Ten pakiet zawiera pliki niezbędne do uruchamiania programów
+bajtkodowych wykorzystujących bibliotekę.
+
%package devel
Summary: Library for binding to C libraries using pure OCaml - development part
+Summary(pl.UTF-8): Biblioteka do wiązania z bibliotekami C przy użyciu czystego OCamla - część programistyczna
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%requires_eq ocaml
@@ -38,6 +55,10 @@ Requires: %{name} = %{version}-%{release}
This package contains files needed to develop OCaml programs using
ctypes library.
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki niezbędne do tworzenia programów w OCamlu
+wykorzystujących bibliotekę ctypes.
+
%prep
%setup -q
@@ -68,11 +89,12 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
+%doc CHANGES.md LICENSE README.md
+%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllctypes-foreign-base_stubs.so
+%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllctypes_stubs.so
%files devel
%defattr(644,root,root,755)
-%doc LICENSE
%{_libdir}/ocaml/%{module}/*.h
%{_libdir}/ocaml/%{module}/*.cm[xi]
%{_libdir}/ocaml/%{module}/*.mli
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-ctypes.git/commitdiff/adbf4531ff8a235e941e8fb3eef0393fefa23479
More information about the pld-cvs-commit
mailing list