ocaml-result/ocaml-result.spec

44 lines
1.1 KiB
RPMSpec

Name: ocaml-result
Version: 1.3
Release: 1mamba
Summary: Compatibility Result module
Group: System/Libraries/OCaml
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.3-1mamba
- package created using the webbuild interface