From afccb21c464ce3d288dc43c3a726bfd44f63c4f2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:05:19 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.14.0-1mamba;Sun Apr 21 2019] --- README.md | 2 ++ ocamlbuild.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 ocamlbuild.spec diff --git a/README.md b/README.md index 8737bd8..28624e4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ocamlbuild +OCamlbuild is a generic build tool, that has built-in rules for building OCaml library and programs. + diff --git a/ocamlbuild.spec b/ocamlbuild.spec new file mode 100644 index 0000000..07bb078 --- /dev/null +++ b/ocamlbuild.spec @@ -0,0 +1,49 @@ +Name: ocamlbuild +Version: 0.14.0 +Release: 1mamba +Summary: A generic build tool, that has built-in rules for building OCaml library and programs +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ocaml/ocamlbuild +## GITSOURCE https://github.com/ocaml/ocamlbuild.git 0.14.0 +Source: https://github.com/ocaml/ocamlbuild.git/%{version}/ocamlbuild-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: ocaml >= 4.07.1 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +OCamlbuild is a generic build tool, that has built-in rules for building OCaml library and programs. + +%debug_package + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall CHECK_IF_PREINSTALLED=false BINDIR=%{_bindir} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/ocamlbuild +%{_bindir}/ocamlbuild.byte +%{_bindir}/ocamlbuild.native +%dir %{_libdir}/ocaml/ocamlbuild +%{_libdir}/ocaml/ocamlbuild/* +%{_mandir}/man1/ocamlbuild.1* +%doc LICENSE + +%changelog +* Sun Apr 21 2019 Silvan Calarco 0.14.0-1mamba +- package created using the webbuild interface