dune/dune.spec

83 lines
2.2 KiB
RPMSpec

Name: dune
Version: 2.3.0
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/
## GITSOURCE https://github.com/ocaml/dune.git 1.9.2
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.09.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A composable build system for OCaml.
%debug_package
%prep
%setup -q
%build
./configure \
--libdir=%{_libdir}
%make release
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir}
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}/dune
%{_libdir}/dune/*
%dir %{_docdir}/dune
%{_docdir}/dune/*
%{_mandir}/man1/dune*.1*
%{_mandir}/man5/dune-config.5*
%changelog
* 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