package created using the webbuild interface [release 0.0.2-1mamba;Fri Feb 04 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 08:04:16 +01:00
parent f054be078c
commit ce2e8830c5
2 changed files with 61 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# ocaml-uchar
Compatibility library for OCaml's Uchar module.

59
ocaml-uchar.spec Normal file
View File

@ -0,0 +1,59 @@
%define ocamlpck uchar
Name: ocaml-uchar
Version: 0.0.2
Release: 1mamba
Summary: Compatibility library for OCaml's Uchar module
Group: System/Libraries/OCaml
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ocaml/uchar
Source: https://github.com/ocaml/uchar.git/v%{version}/uchar-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: dune
BuildRequires: ocaml
BuildRequires: ocaml-findlib
%description
%{summary}.
%package devel
Group: Development/Libraries/OCaml
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and signature files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q -n uchar-%{version}
%build
ocaml pkg/build.ml \
native=true \
native-dynlink=true
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
opam-installer -i \
--prefix="%{buildroot}%{_prefix}" \
--libdir="%{buildroot}%{_libdir}/ocaml" \
uchar.install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_libdir}/ocaml/%{ocamlpck}
%{_libdir}/ocaml/%{ocamlpck}/META
%doc LICENSE*
%changelog
* Fri Feb 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
- package created using the webbuild interface