package created using the webbuild interface [release 0.0.2-1mamba;Fri Feb 04 2022]
This commit is contained in:
parent
f054be078c
commit
ce2e8830c5
@ -1,2 +1,4 @@
|
|||||||
# ocaml-uchar
|
# ocaml-uchar
|
||||||
|
|
||||||
|
Compatibility library for OCaml's Uchar module.
|
||||||
|
|
||||||
|
59
ocaml-uchar.spec
Normal file
59
ocaml-uchar.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user