package created using the webbuild interface [release 1.5.1-1mamba;Tue May 04 2021]
This commit is contained in:
parent
f2bfd4822c
commit
f97ad14f9c
@ -1,2 +1,4 @@
|
||||
# ocaml-csexp
|
||||
|
||||
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.
|
||||
|
||||
|
46
ocaml-csexp.spec
Normal file
46
ocaml-csexp.spec
Normal file
@ -0,0 +1,46 @@
|
||||
Name: ocaml-csexp
|
||||
Version: 1.5.1
|
||||
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: 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 "%{_lib}/ocaml"
|
||||
|
||||
rm -r %{buildroot}/usr/doc
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/ocaml/csexp
|
||||
%{_libdir}/ocaml/csexp/*
|
||||
|
||||
%changelog
|
||||
* Tue May 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.1-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user