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