2024-01-05 21:06:52 +01:00
|
|
|
%define pkgver %(echo %version | tr -d .)
|
2024-01-05 21:06:52 +01:00
|
|
|
Name: camlidl
|
2024-01-05 21:06:52 +01:00
|
|
|
Version: 1.11
|
2024-01-05 21:06:52 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A stub code generator and COM binding for Objective Caml
|
|
|
|
Group: Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:06:52 +01:00
|
|
|
URL: https://caml.inria.fr/pub/old_caml_site/camlidl/
|
|
|
|
Source: https://github.com/xavierleroy/camlidl/archive/camlidl%{pkgver}.tar.gz
|
2024-01-05 21:06:52 +01:00
|
|
|
License: LGPL, QPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 21:06:52 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: ocaml
|
2024-01-05 21:06:52 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: ocaml
|
|
|
|
Requires: ocaml
|
|
|
|
|
|
|
|
%description
|
|
|
|
CamlIDL is a stub code generator and COM binding for Objective Caml.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 21:06:52 +01:00
|
|
|
%setup -q -n camlidl-camlidl%{pkgver}
|
2024-01-05 21:06:52 +01:00
|
|
|
cp config/Makefile.unix config/Makefile
|
|
|
|
|
|
|
|
%build
|
|
|
|
make BINDIR=%{_bindir} OCAMLLIB=%{_libdir}/ocaml
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:06:52 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_libdir}/ocaml/{caml,stublibs}
|
2024-01-05 21:06:52 +01:00
|
|
|
%makeoldinstall BINDIR=%{buildroot}%{_bindir} OCAMLLIB=%{buildroot}%{_libdir}/ocaml
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/camlidl
|
|
|
|
%{_libdir}/ocaml/caml/camlidlruntime.h
|
|
|
|
%{_libdir}/ocaml/com.a
|
|
|
|
%{_libdir}/ocaml/com.cma
|
|
|
|
%{_libdir}/ocaml/com.cmi
|
|
|
|
%{_libdir}/ocaml/com.cmxa
|
|
|
|
%{_libdir}/ocaml/libcamlidl.a
|
2024-01-05 21:06:52 +01:00
|
|
|
%{_libdir}/ocaml/stublibs/dllcamlidl.so
|
2024-01-05 21:06:52 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:06:52 +01:00
|
|
|
* Mon Nov 21 2022 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:06:52 +01:00
|
|
|
* Fri Feb 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.09-1mamba
|
|
|
|
- update to 1.09
|
|
|
|
|
2024-01-05 21:06:52 +01:00
|
|
|
* Fri Jan 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.05-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|