From b980c8cb414a306d2d78dfbdf3441b5d72ca44b2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:01:25 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.3-1mamba;Tue May 07 2019] --- README.md | 3 +++ ocaml-result.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 ocaml-result.spec diff --git a/README.md b/README.md index 4c44c5c..7c0c7b3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # ocaml-result +Compatibility Result module. + + diff --git a/ocaml-result.spec b/ocaml-result.spec new file mode 100644 index 0000000..0918ff5 --- /dev/null +++ b/ocaml-result.spec @@ -0,0 +1,43 @@ +Name: ocaml-result +Version: 1.3 +Release: 1mamba +Summary: Compatibility Result module +Group: System/Libraries/OCaml +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/janestreet/result +## GITSOURCE https://github.com/janestreet/result.git 1.3 +Source: https://github.com/janestreet/result.git/%{version}/result-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Compatibility Result module. + + +%prep +%setup -q -n result-%{version} + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_ARGS="--prefix=%{_datadir} --libdir=%{_libdir}/ocaml" + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_libdir}/ocaml/result +%{_libdir}/ocaml/result/* +%dir %{_datadir}/doc/result +%{_datadir}/doc/result/* + +%changelog +* Tue May 07 2019 Silvan Calarco 1.3-1mamba +- package created using the webbuild interface