dune/dune.spec

165 lines
5.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: dune
Version: 2.9.1
Release: 1mamba
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
#libdl.so.2()(64bit): /usr/lib64/libdl.so: file not owned by any package
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
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}"
./dune.exe install \
--destdir=%{buildroot} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--libdir=$(ocamlfind printconf destdir)
mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/dune
#%{_bindir}/jbuilder
#%{_bindir}/ocaml-syntax-shims
%{_datadir}/emacs/site-lisp/dune-flymake.el
%{_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
* Wed Sep 08 2021 Automatic Build System <autodist@mambasoft.it> 2.9.1-1mamba
- automatic version update by autodist
* Sat Jul 03 2021 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
- automatic version update by autodist
* Tue May 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.5-2mamba
- rebuilt providing a list of required release pkgs
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 2.8.5-1mamba
- automatic version update by autodist
* Tue Mar 09 2021 Automatic Build System <autodist@mambasoft.it> 2.8.4-1mamba
- automatic version update by autodist
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 2.8.2-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-2mamba
- fix ocaml libdir
* Mon Jan 18 2021 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
- automatic version update by autodist
* Sun Aug 16 2020 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
- automatic version update by autodist
* Mon Jul 27 2020 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
- automatic version update by autodist
* Fri Jul 03 2020 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic version update by autodist
* Wed Jun 10 2020 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* 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
* Fri May 01 2020 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Sat Apr 25 2020 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* 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
* Wed Jun 12 2019 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* 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