Name: dune Version: 3.16.0 Release: 1mamba Summary: A composable build system for OCaml Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://dune.build/ Source: https://github.com/ocaml/dune.git/%{version}/dune-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ocaml-runtime ## AUTOBUILDREQ-END BuildRequires: ocaml >= 4.14.1 BuildRequires: ocaml-findlib %description A composable build system for OCaml. %debug_package %prep %setup -q %build ./configure --libdir %{_libdir}/ocaml make _boot/dune.exe # this runs `ocaml bootstrap.ml`, but keeps upstream's choice # dune build needs a comma separated list of packages dune_release_pkgs="dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,\ dune-private-libs,dune-site,dune-rpc,dyn,stdune,ordering,xdg,chrome-trace,ocamlc-loc" ./dune.exe build -p "${dune_release_pkgs}" --profile dune-bootstrap %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" dune_release_pkgs="dune dune-action-plugin dune-build-info dune-configurator dune-glob \ dune-private-libs dune-site dune-rpc dyn stdune ordering xdg chrome-trace ocamlc-loc" # we need to install packages one by one for _pkg in "${dune_release_pkgs[@]}"; do ./dune.exe install "${_pkg}" \ --destdir="%{buildroot}" \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --libdir="$(ocamlfind printconf destdir)" done mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/dune %{_datadir}/emacs/site-lisp/dune*.el %dir %{_libdir}/ocaml/chrome-trace %{_libdir}/ocaml/chrome-trace/* %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-configurator %{_libdir}/ocaml/dune-configurator/* %dir %{_libdir}/ocaml/dune-configurator/.private %{_libdir}/ocaml/dune-configurator/.private/* %dir %{_libdir}/ocaml/dune-rpc %{_libdir}/ocaml/dune-rpc/* %dir %{_libdir}/ocaml/dyn %{_libdir}/ocaml/dyn/* %dir %{_libdir}/ocaml/dune-glob %{_libdir}/ocaml/dune-glob/* %dir %{_libdir}/ocaml/ocamlc-loc %{_libdir}/ocaml/ocamlc-loc/* %dir %{_libdir}/ocaml/dune-private-libs %{_libdir}/ocaml/dune-private-libs/* %dir %{_libdir}/ocaml/dune-site %{_libdir}/ocaml/dune-site/* %dir %{_libdir}/ocaml/ordering %{_libdir}/ocaml/ordering/* %dir %{_libdir}/ocaml/stdune %{_libdir}/ocaml/stdune/* %dir %{_libdir}/ocaml/xdg %{_libdir}/ocaml/xdg/* %dir %{_libdir}/ocaml/stublibs %{_libdir}/ocaml/stublibs/*.so %dir %{_docdir}/dune %{_docdir}/dune/* %{_mandir}/man1/dune*.1* %{_mandir}/man5/dune-config.5* %dir %{_docdir}/chrome-trace %{_docdir}/chrome-trace/* %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-rpc %{_docdir}/dune-rpc/* %dir %{_docdir}/dune-site %{_docdir}/dune-site/* %dir %{_docdir}/dyn %{_docdir}/dyn/* %dir %{_docdir}/ocamlc-loc %{_docdir}/ocamlc-loc/* %dir %{_docdir}/ordering %{_docdir}/ordering/* %dir %{_docdir}/stdune %{_docdir}/stdune/* %dir %{_docdir}/xdg %{_docdir}/xdg/* %changelog * Mon Jun 17 2024 Automatic Build System 3.16.0-1mamba - automatic version update by autodist * Fri May 24 2024 Automatic Build System 3.15.3-1mamba - automatic version update by autodist * Tue Apr 23 2024 Automatic Build System 3.15.2-1mamba - automatic version update by autodist * Thu Apr 18 2024 Automatic Build System 3.15.1-1mamba - automatic version update by autodist * Sat Apr 06 2024 Automatic Build System 3.15.0-1mamba - automatic version update by autodist * Wed Mar 13 2024 Automatic Build System 3.14.2-1mamba - automatic version update by autodist * Tue Mar 12 2024 Automatic Build System 3.14.1-1mamba - automatic version update by autodist * Mon Feb 12 2024 Automatic Build System 3.14.0-1mamba - automatic version update by autodist * Tue Feb 06 2024 Automatic Build System 3.13.1-1mamba - automatic version update by autodist * Wed Jan 17 2024 Automatic Build System 3.13.0-1mamba - automatic version update by autodist * Fri Jan 05 2024 Automatic Build System 3.12.2-1mamba - automatic version update by autodist * Thu Nov 30 2023 Automatic Build System 3.12.1-1mamba - automatic version update by autodist * Wed Nov 29 2023 Automatic Build System 3.12.0-1mamba - automatic version update by autodist * Mon Oct 09 2023 Automatic Build System 3.11.1-1mamba - automatic version update by autodist * Sat Sep 23 2023 Automatic Build System 3.11.0-1mamba - automatic version update by autodist * Tue Aug 01 2023 Automatic Build System 3.10.0-1mamba - automatic version update by autodist * Wed Jul 26 2023 Automatic Build System 3.9.2-1mamba - automatic version update by autodist * Fri Jul 07 2023 Automatic Build System 3.9.1-1mamba - automatic version update by autodist * Fri Jun 30 2023 Automatic Build System 3.9.0-1mamba - automatic version update by autodist * Fri Jan 28 2022 Automatic Build System 2.9.3-1mamba - automatic version update by autodist * Sun Jan 23 2022 Automatic Build System 2.9.2-1mamba - automatic version update by autodist * Wed Sep 08 2021 Automatic Build System 2.9.1-1mamba - automatic version update by autodist * Sat Jul 03 2021 Automatic Build System 2.9.0-1mamba - automatic version update by autodist * 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 * Tue Mar 09 2021 Automatic Build System 2.8.4-1mamba - automatic version update by autodist * Thu Feb 04 2021 Automatic Build System 2.8.2-1mamba - automatic version update by autodist * Sat Jan 23 2021 Silvan Calarco 2.8.1-2mamba - fix ocaml libdir * Mon Jan 18 2021 Automatic Build System 2.8.1-1mamba - automatic version update by autodist * Sun Aug 16 2020 Automatic Build System 2.7.0-1mamba - automatic version update by autodist * Mon Jul 27 2020 Automatic Build System 2.6.2-1mamba - automatic version update by autodist * Fri Jul 03 2020 Automatic Build System 2.6.1-1mamba - automatic version update by autodist * Wed Jun 10 2020 Automatic Build System 2.6.0-1mamba - automatic version update by autodist * Sat May 09 2020 Automatic Build System 2.5.1-1mamba - automatic version update by autodist * Fri May 08 2020 Automatic Build System 2.5.0-1mamba - automatic version update by autodist * Thu May 07 2020 Automatic Build System 2.4.0-1mamba - automatic version update by autodist * Fri May 01 2020 Automatic Build System 2.3.1-1mamba - automatic version update by autodist * Sat Apr 25 2020 Automatic Build System 2.3.0-1mamba - automatic version update by autodist * Fri Nov 22 2019 Silvan Calarco 1.11.4-1mamba - update to 1.11.4 * Thu Oct 10 2019 Automatic Build System 1.11.3-1mamba - automatic version update by autodist * Fri Aug 16 2019 Automatic Build System 1.11.1-1mamba - automatic version update by autodist * Fri Jul 26 2019 Automatic Build System 1.11.0-1mamba - automatic version update by autodist * Wed Jun 12 2019 Automatic Build System 1.10.0-1mamba - automatic version update by autodist * Tue May 07 2019 Automatic Build System 1.9.3-1mamba - automatic version update by autodist * Sun May 05 2019 Silvan Calarco 1.9.2-1mamba - package created using the webbuild interface