diff --git a/README.md b/README.md index 908995d..52031b6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # dune +A composable build system for OCaml. + + diff --git a/dune.spec b/dune.spec new file mode 100644 index 0000000..c3b14d9 --- /dev/null +++ b/dune.spec @@ -0,0 +1,61 @@ +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 +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 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