2024-01-05 22:00:09 +01:00
|
|
|
Name: dune
|
2024-12-22 00:46:18 +01:00
|
|
|
Version: 3.17.1
|
2024-01-05 22:00:10 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 22:00:09 +01:00
|
|
|
Summary: A composable build system for OCaml
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://dune.build/
|
|
|
|
Source: https://github.com/ocaml/dune.git/%{version}/dune-%{version}.tar.bz2
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 22:00:10 +01:00
|
|
|
BuildRequires: ocaml-runtime
|
2024-01-05 22:00:09 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 22:00:10 +01:00
|
|
|
BuildRequires: ocaml >= 4.14.1
|
2024-01-05 22:00:09 +01:00
|
|
|
BuildRequires: ocaml-findlib
|
2024-01-05 22:00:09 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A composable build system for OCaml.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 22:00:10 +01:00
|
|
|
./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
|
2024-01-05 22:00:09 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 22:00:09 +01:00
|
|
|
|
2024-01-05 22:00:10 +01:00
|
|
|
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
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/dune
|
2024-01-05 22:00:10 +01:00
|
|
|
%{_datadir}/emacs/site-lisp/dune*.el
|
|
|
|
%dir %{_libdir}/ocaml/chrome-trace
|
|
|
|
%{_libdir}/ocaml/chrome-trace/*
|
2024-01-05 22:00:09 +01:00
|
|
|
%dir %{_libdir}/ocaml/dune
|
|
|
|
%{_libdir}/ocaml/dune/*
|
2024-01-05 22:00:09 +01:00
|
|
|
%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/*
|
2024-01-05 22:00:10 +01:00
|
|
|
%dir %{_libdir}/ocaml/dune-rpc
|
|
|
|
%{_libdir}/ocaml/dune-rpc/*
|
|
|
|
%dir %{_libdir}/ocaml/dyn
|
|
|
|
%{_libdir}/ocaml/dyn/*
|
2024-01-05 22:00:09 +01:00
|
|
|
%dir %{_libdir}/ocaml/dune-glob
|
|
|
|
%{_libdir}/ocaml/dune-glob/*
|
2024-01-05 22:00:10 +01:00
|
|
|
%dir %{_libdir}/ocaml/ocamlc-loc
|
|
|
|
%{_libdir}/ocaml/ocamlc-loc/*
|
2024-01-05 22:00:09 +01:00
|
|
|
%dir %{_libdir}/ocaml/dune-private-libs
|
|
|
|
%{_libdir}/ocaml/dune-private-libs/*
|
|
|
|
%dir %{_libdir}/ocaml/dune-site
|
|
|
|
%{_libdir}/ocaml/dune-site/*
|
2024-01-05 22:00:10 +01:00
|
|
|
%dir %{_libdir}/ocaml/ordering
|
|
|
|
%{_libdir}/ocaml/ordering/*
|
|
|
|
%dir %{_libdir}/ocaml/stdune
|
|
|
|
%{_libdir}/ocaml/stdune/*
|
|
|
|
%dir %{_libdir}/ocaml/xdg
|
|
|
|
%{_libdir}/ocaml/xdg/*
|
2024-01-05 22:00:09 +01:00
|
|
|
%dir %{_libdir}/ocaml/stublibs
|
|
|
|
%{_libdir}/ocaml/stublibs/*.so
|
2024-01-05 22:00:09 +01:00
|
|
|
%dir %{_docdir}/dune
|
|
|
|
%{_docdir}/dune/*
|
|
|
|
%{_mandir}/man1/dune*.1*
|
|
|
|
%{_mandir}/man5/dune-config.5*
|
2024-01-05 22:00:10 +01:00
|
|
|
%dir %{_docdir}/chrome-trace
|
|
|
|
%{_docdir}/chrome-trace/*
|
2024-01-05 22:00:09 +01:00
|
|
|
%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/*
|
2024-01-05 22:00:10 +01:00
|
|
|
%dir %{_docdir}/dune-rpc
|
|
|
|
%{_docdir}/dune-rpc/*
|
2024-01-05 22:00:09 +01:00
|
|
|
%dir %{_docdir}/dune-site
|
|
|
|
%{_docdir}/dune-site/*
|
2024-01-05 22:00:10 +01:00
|
|
|
%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/*
|
2024-01-05 22:00:09 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-12-22 00:46:18 +01:00
|
|
|
* Wed Dec 18 2024 Automatic Build System <autodist@openmamba.org> 3.17.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-11-28 18:22:35 +01:00
|
|
|
* Thu Nov 28 2024 Automatic Build System <autodist@openmamba.org> 3.17.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-10-31 09:59:45 +01:00
|
|
|
* Wed Oct 30 2024 Automatic Build System <autodist@openmamba.org> 3.16.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-18 13:54:00 +02:00
|
|
|
* Mon Jun 17 2024 Automatic Build System <autodist@openmamba.org> 3.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-25 10:44:22 +02:00
|
|
|
* Fri May 24 2024 Automatic Build System <autodist@openmamba.org> 3.15.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-23 22:55:45 +02:00
|
|
|
* Tue Apr 23 2024 Automatic Build System <autodist@openmamba.org> 3.15.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-18 10:11:35 +02:00
|
|
|
* Thu Apr 18 2024 Automatic Build System <autodist@openmamba.org> 3.15.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-07 12:43:30 +02:00
|
|
|
* Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 3.15.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-13 19:15:50 +01:00
|
|
|
* Wed Mar 13 2024 Automatic Build System <autodist@openmamba.org> 3.14.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-12 09:31:55 +01:00
|
|
|
* Tue Mar 12 2024 Automatic Build System <autodist@openmamba.org> 3.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-14 20:41:52 +01:00
|
|
|
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 3.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-10 22:26:20 +01:00
|
|
|
* Tue Feb 06 2024 Automatic Build System <autodist@openmamba.org> 3.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 17 2024 Automatic Build System <autodist@openmamba.org> 3.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-11 17:28:26 +01:00
|
|
|
* Fri Jan 05 2024 Automatic Build System <autodist@openmamba.org> 3.12.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 30 2023 Automatic Build System <autodist@mambasoft.it> 3.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 29 2023 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 09 2023 Automatic Build System <autodist@mambasoft.it> 3.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Sep 23 2023 Automatic Build System <autodist@mambasoft.it> 3.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:11 +01:00
|
|
|
* Tue Aug 01 2023 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:11 +01:00
|
|
|
* Wed Jul 26 2023 Automatic Build System <autodist@mambasoft.it> 3.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:10 +01:00
|
|
|
* Fri Jul 07 2023 Automatic Build System <autodist@mambasoft.it> 3.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 30 2023 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:10 +01:00
|
|
|
* Fri Jan 28 2022 Automatic Build System <autodist@mambasoft.it> 2.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:10 +01:00
|
|
|
* Sun Jan 23 2022 Automatic Build System <autodist@mambasoft.it> 2.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:10 +01:00
|
|
|
* Wed Sep 08 2021 Automatic Build System <autodist@mambasoft.it> 2.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:10 +01:00
|
|
|
* Sat Jul 03 2021 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Tue May 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.5-2mamba
|
|
|
|
- rebuilt providing a list of required release pkgs
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 2.8.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Tue Mar 09 2021 Automatic Build System <autodist@mambasoft.it> 2.8.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 2.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Sat Jan 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-2mamba
|
|
|
|
- fix ocaml libdir
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Mon Jan 18 2021 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Sun Aug 16 2020 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Mon Jul 27 2020 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Fri Jul 03 2020 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Wed Jun 10 2020 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Sat May 09 2020 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 08 2020 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 07 2020 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Fri May 01 2020 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Sat Apr 25 2020 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Fri Nov 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.4-1mamba
|
|
|
|
- update to 1.11.4
|
|
|
|
|
|
|
|
* Thu Oct 10 2019 Automatic Build System <autodist@mambasoft.it> 1.11.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 16 2019 Automatic Build System <autodist@mambasoft.it> 1.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Wed Jun 12 2019 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:00:09 +01:00
|
|
|
* Tue May 07 2019 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun May 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-1mamba
|
|
|
|
- package created using the webbuild interface
|