ocaml-csexp/ocaml-csexp.spec

54 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: ocaml-csexp
Version: 1.5.2
Release: 1mamba
Summary: Csexp - Canonical S-expressions
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ocaml-dune/csexp
Source: https://github.com/ocaml-dune/csexp.git/%{version}/csexp-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ocaml
BuildRequires: ocaml-runtime
## AUTOBUILDREQ-END
BuildRequires: ocaml >= 4.14.1
BuildRequires: dune
%description
This project provides minimal support for parsing and printing S-expressions in canonical form, which is a very simple and canonical binary encoding of S-expressions.
%debug_package
%prep
%setup -q -n csexp-%{version}
%build
dune build -p csexp
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
DESTDIR="%{buildroot}" dune install --prefix "%{_prefix}" --libdir "%{_libdir}/ocaml"
rm -r %{buildroot}/usr/doc
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_libdir}/ocaml/csexp
%{_libdir}/ocaml/csexp/*
%changelog
* Fri Jul 07 2023 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
- automatic version update by autodist
* Thu Jul 06 2023 Sdk Build System <sdk@mambasoft.it> 1.5.1-2mamba
- rebuilt with ocaml 4.14.1
* Tue May 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.1-1mamba
- package created using the webbuild interface