Notification time stamped 2023-06-30 21:06:08 UTC
From 7b29033a1420f7a3e47a64246d553b7944b5a949 Mon Sep 17 00:00:00 2001
From: Jerry James <loganjerry(a)gmail.com>
Date: Jun 30 2023 21:05:53 +0000
Subject: Initial import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..225d2af
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/uucp-*.tbz
diff --git a/ocaml-uucp.spec b/ocaml-uucp.spec
new file mode 100644
index 0000000..59b69d8
--- /dev/null
+++ b/ocaml-uucp.spec
@@ -0,0 +1,70 @@
+%ifnarch %{ocaml_native_compiler}
+%global debug_package %{nil}
+%endif
+
+Name: ocaml-uucp
+Version: 15.0.0
+Release: %autorelease
+Summary: Unicode character properties for OCaml
+
+License: ISC
+URL:
https://erratique.ch/software/uucp
+Source0: %{url}/releases/uucp-%{version}.tbz
+
+BuildRequires: ocaml >= 4.03.0
+BuildRequires: ocaml-cmdliner-devel >= 1.1.0
+BuildRequires: ocaml-findlib
+BuildRequires: ocaml-ocamlbuild
+BuildRequires: ocaml-topkg-devel >= 1.0.3
+BuildRequires: ocaml-uucd-devel
+BuildRequires: ocaml-uunf-devel
+BuildRequires: ocaml-uutf-devel >= 1.0.1
+BuildRequires: python3
+
+%description
+Uucp is an OCaml library providing efficient access to a selection of
+character properties of the Unicode character database
+(http://www.unicode.org/reports/tr44/).
+
+Uucp is independent from any Unicode text data structure and has no
+dependencies. It is distributed under the ISC license.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and signature
+files for developing applications that use %{name}.
+
+%prep
+%autosetup -n uucp-%{version}
+
+%build
+# Build the library and the tests
+ocaml pkg/pkg.ml build --dev-pkg false --with-uutf true --with-uunf true \
+ --with-cmdliner true --tests true
+
+%install
+# Install the library
+mkdir -p %{buildroot}%{ocamldir}/uucp
+cp -p _build/{opam,pkg/META} %{buildroot}%{ocamldir}/uucp
+%ifarch %{ocaml_native_compiler}
+cp -a _build/src/*.{a,cma,cmi,cmt,cmti,cmx,cmxa,cmxs,mli} \
+ %{buildroot}%{ocamldir}/uucp
+%else
+cp -a _build/src/*.{cma,cmi,cmt,cmti,mli} %{buildroot}%{ocamldir}/uucp
+%endif
+%ocaml_files
+
+%check
+ocaml pkg/pkg.ml test
+
+%files -f .ofiles
+%license LICENSE.md
+%doc CHANGES.md README.md
+
+%files devel -f .ofiles-devel
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..5047279
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (uucp-15.0.0.tbz) =
ee4acff5666961766321e85e287fb9d5b8d50533319f22bf6f4eceb943242df2d0e0f4e775c4a140f68ca142837938eaa5926e22362215a3365ffe7f8768923b
https://src.fedoraproject.org/rpms/ocaml-uucp/c/7b29033a1420f7a3e47a64246...