From ca53bc17cb292bfa9744d7fbc7a7101e0254dfbf Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:06:52 +0100 Subject: [PATCH] update to 1.09 [release 1.09-1mamba;Fri Feb 26 2021] --- camlidl.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/camlidl.spec b/camlidl.spec index a82eee2..f4dd2e9 100644 --- a/camlidl.spec +++ b/camlidl.spec @@ -1,19 +1,21 @@ +%define pkgver %(echo %version | tr -d .) Name: camlidl -Version: 1.05 +Version: 1.09 Release: 1mamba Summary: A stub code generator and COM binding for Objective Caml Group: Applications/Development Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://caml.inria.fr/pub/old_caml_site/camlidl/ -Source: http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/camlidl-%{version}.tar.gz +URL: https://caml.inria.fr/pub/old_caml_site/camlidl/ +Source: https://github.com/xavierleroy/camlidl/archive/camlidl%{pkgver}.tar.gz License: LGPL, QPL ## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ocaml ## AUTOBUILDREQ-END BuildRequires: ocaml Requires: ocaml -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description CamlIDL is a stub code generator and COM binding for Objective Caml. @@ -21,7 +23,7 @@ CamlIDL is a stub code generator and COM binding for Objective Caml. %debug_package %prep -%setup -q +%setup -q -n camlidl-camlidl%{pkgver} cp config/Makefile.unix config/Makefile %build @@ -29,7 +31,7 @@ make BINDIR=%{_bindir} OCAMLLIB=%{_libdir}/ocaml %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -install -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_libdir}/ocaml/caml +install -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_libdir}/ocaml/{caml,stublibs} %makeoldinstall BINDIR=%{buildroot}%{_bindir} OCAMLLIB=%{buildroot}%{_libdir}/ocaml %clean @@ -44,8 +46,12 @@ install -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_libdir}/ocaml/caml %{_libdir}/ocaml/com.cmi %{_libdir}/ocaml/com.cmxa %{_libdir}/ocaml/libcamlidl.a +%{_libdir}/ocaml/stublibs/dllcamlidl.so %doc LICENSE %changelog +* Fri Feb 26 2021 Silvan Calarco 1.09-1mamba +- update to 1.09 + * Fri Jan 11 2013 Silvan Calarco 1.05-1mamba - package created by silvan using the webbuild interface