diff --git a/README.md b/README.md index 52031b6..dbdf0ef 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,3 @@ A composable build system for OCaml. - diff --git a/dune.spec b/dune.spec index 11a313b..d649048 100644 --- a/dune.spec +++ b/dune.spec @@ -1,6 +1,6 @@ Name: dune Version: 2.8.5 -Release: 1mamba +Release: 2mamba Summary: A composable build system for OCaml Group: Development/Tools Vendor: openmamba @@ -11,29 +11,34 @@ Source: https://github.com/ocaml/dune.git/%{version}/dune-%{version}.tar. License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ocaml +BuildRequires: ocaml-csexp BuildRequires: ocaml-runtime ## AUTOBUILDREQ-END BuildRequires: ocaml >= 4.11.1 +BuildRequires: ocaml-findlib %description A composable build system for OCaml. - %debug_package %prep %setup -q %build -./configure \ - --libdir=%{_libdir}/ocaml \ - --mandir=%{_mandir} \ - -%make release +dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs,dune-site' +make dune.exe +./dune.exe build -p $dune_release_pkgs --profile dune-bootstrap %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall + +./dune.exe install \ + --destdir=%{buildroot} \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --libdir=$(ocamlfind printconf destdir) mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir} @@ -49,12 +54,45 @@ mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir} %{_datadir}/emacs/site-lisp/dune.el %dir %{_libdir}/ocaml/dune %{_libdir}/ocaml/dune/* +%dir %{_libdir}/ocaml/dune-action-plugin +%{_libdir}/ocaml/dune-action-plugin/* +%dir %{_libdir}/ocaml/dune-build-info +%{_libdir}/ocaml/dune-build-info/* +#%dir %{_libdir}/ocaml/dune-build +#%{_libdir}/ocaml/dune-build/* +%dir %{_libdir}/ocaml/dune-configurator +%{_libdir}/ocaml/dune-configurator/* +%dir %{_libdir}/ocaml/dune-configurator/.private +%{_libdir}/ocaml/dune-configurator/.private/* +%dir %{_libdir}/ocaml/dune-glob +%{_libdir}/ocaml/dune-glob/* +%dir %{_libdir}/ocaml/dune-private-libs +%{_libdir}/ocaml/dune-private-libs/* +%dir %{_libdir}/ocaml/dune-site +%{_libdir}/ocaml/dune-site/* +%dir %{_libdir}/ocaml/stublibs +%{_libdir}/ocaml/stublibs/*.so %dir %{_docdir}/dune %{_docdir}/dune/* %{_mandir}/man1/dune*.1* %{_mandir}/man5/dune-config.5* +%dir %{_docdir}/dune-action-plugin +%{_docdir}/dune-action-plugin/* +%dir %{_docdir}/dune-build-info +%{_docdir}/dune-build-info/* +%dir %{_docdir}/dune-configurator +%{_docdir}/dune-configurator/* +%dir %{_docdir}/dune-glob +%{_docdir}/dune-glob/* +%dir %{_docdir}/dune-private-libs +%{_docdir}/dune-private-libs/* +%dir %{_docdir}/dune-site +%{_docdir}/dune-site/* %changelog +* Tue May 04 2021 Silvan Calarco 2.8.5-2mamba +- rebuilt providing a list of required release pkgs + * Tue Mar 30 2021 Automatic Build System 2.8.5-1mamba - automatic version update by autodist