dune/dune.spec

62 lines
1.4 KiB
RPMSpec

Name: dune
Version: 1.9.3
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
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A composable build system for OCaml.
%debug_package
%prep
%setup -q
%build
./configure \
--libdir=%{_libdir}
%make
%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
%{_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
* 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