--- ocaml-prelude-100.7.orig/debian/changelog
+++ ocaml-prelude-100.7/debian/changelog
@@ -0,0 +1,11 @@
+ocaml-prelude (100.7-1+2.1) UNRELEASED; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Tue, 07 Jul 2026 05:05:23 +0000
+
+ocaml-prelude (100.7-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Skye Soss <skye@soss.website>  Mon, 06 Jul 2026 06:10:59 +0600
--- ocaml-prelude-100.7.orig/debian/control
+++ ocaml-prelude-100.7/debian/control
@@ -0,0 +1,31 @@
+Source: ocaml-prelude
+Section: misc
+Maintainer: Skye Soss <skye@soss.website>
+Build-Depends:
+ debhelper-compat (= 13),
+ ocaml,
+ ocaml-dune,
+ ocaml-findlib,
+ libcamlp-streams-ocaml-dev,
+ dh-ocaml (>= 1.2),
+Standards-Version: 4.7.4
+Homepage: https://www.lib.uchicago.edu/keith/software/prelude/
+
+Package: libprelude-ocaml-dev
+Provides: ${ocaml:Provides}
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Recommends: ocaml-findlib
+Description: OCaml standard library additions and renamings
+ OCaml standard library additions and renamings
+ .
+ This package contains development files.
+
+Package: libprelude-ocaml
+Provides: ${ocaml:Provides}
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Description: OCaml standard library additions and renamings (runtime files)
+ OCaml standard library additions and renamings
+ .
+ This package contains runtime files.
--- ocaml-prelude-100.7.orig/debian/copyright
+++ ocaml-prelude-100.7/debian/copyright
@@ -0,0 +1,27 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://www.lib.uchicago.edu/keith/hg/prelude-100.7.tar.gz
+Upstream-Name: prelude
+Comment:
+ Debianized by Skye Soss <skye@soss.website> on July 6, 2026.
+
+Files: *
+Copyright:
+ Copyright Keith WACLENA <keith@lib.uchicago.edu>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, see <https://www.gnu.org/licenses/>.
+Comment:
+ On Debian systems, the full text of the GNU General Public License
+ version 2 can be found in the file '/usr/share/common-licenses/GPL-2'.
--- ocaml-prelude-100.7.orig/debian/debian-dune
+++ ocaml-prelude-100.7/debian/debian-dune
@@ -0,0 +1 @@
+prelude
--- ocaml-prelude-100.7.orig/debian/libprelude-ocaml-dev.docs
+++ ocaml-prelude-100.7/debian/libprelude-ocaml-dev.docs
@@ -0,0 +1 @@
+usr/doc/*/*
--- ocaml-prelude-100.7.orig/debian/libprelude-ocaml-dev.install.in
+++ ocaml-prelude-100.7/debian/libprelude-ocaml-dev.install.in
@@ -0,0 +1,8 @@
+@OCamlStdlibDir@/*/*opam*
+@OCamlStdlibDir@/*/*dune*
+@OCamlStdlibDir@/*/*.ml*
+@OCamlStdlibDir@/*/*.cmi
+@OCamlStdlibDir@/*/*.cmt*
+OPT: @OCamlStdlibDir@/*/*.a
+OPT: @OCamlStdlibDir@/*/*.cmx
+OPT: @OCamlStdlibDir@/*/*.cmxa
--- ocaml-prelude-100.7.orig/debian/libprelude-ocaml.install.in
+++ ocaml-prelude-100.7/debian/libprelude-ocaml.install.in
@@ -0,0 +1,3 @@
+@OCamlStdlibDir@/*/META
+@OCamlStdlibDir@/*/*.cma
+DYN: @OCamlStdlibDir@/*/*.cmxs
--- ocaml-prelude-100.7.orig/debian/rules
+++ ocaml-prelude-100.7/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with ocaml
+
+execute_before_dh_auto_configure:
+	printf '(lang dune 3.0)\n(package\n (name prelude)\n (synopsis "OCaml standard library additions and renamings"))\n' > dune-project
+	printf '(library\n (name prelude)\n (public_name prelude)\n (libraries camlp-streams str unix)\n (flags (:standard -w -50 -warn-error -a)))\n' > dune
+	-cp ../SOURCES/prelude.opam .
+
+override_dh_auto_build:
+	dune build @install
+
+OCAMLSTDLIBDIR := $(shell ocamlc -where)
+
+override_dh_auto_install:
+	dune install --destdir=$(CURDIR)/debian/tmp --prefix=/usr \
+		--libdir=$(OCAMLSTDLIBDIR) prelude
+
+override_dh_auto_test:
+	:
+
+override_dh_auto_clean:
+	:
