Name: ocaml-num Version: 1.1 Release: 1mamba Summary: Legacy Num Ocaml library for arbitrary-precision integer and rational arithmetic Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/ocaml/num ## GITSOURCE https://github.com/ocaml/num.git v1.1 Source: https://github.com/ocaml/num.git/v%{version}/num-%{version}.tar.bz2 Patch0: ocaml-num-1.1-provide_target_findlib_install.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The legacy Num library for arbitrary-precision integer and rational arithmetic that used to be part of the OCaml core distribution. %prep %setup -q -n num-%{version} %patch0 -p1 %build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d %{buildroot}$(ocamlfind printconf destdir)/stublibs make OCAMLFIND_DESTDIR="%{buildroot}$(ocamlfind printconf destdir)" findlib-install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{_libdir}/ocaml/num-top %{_libdir}/ocaml/num-top/* %dir %{_libdir}/ocaml/num %{_libdir}/ocaml/num/* %{_libdir}/ocaml/stublibs/dllnums.so %{_libdir}/ocaml/stublibs/dllnums.so.owner %doc LICENSE %changelog * Sun Apr 21 2019 Silvan Calarco 1.1-1mamba - package created using the webbuild interface