--- smlnj-2026.1.orig/debian/changelog
+++ smlnj-2026.1/debian/changelog
@@ -0,0 +1,12 @@
+smlnj (2026.1-0+18.1) UNRELEASED; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Fri, 26 Jun 2026 22:26:11 +0000
+
+smlnj (2026.1-0) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Skye Soss <skye@soss.website>  Tue, 24 Mar 2026 14:58:30 +0600
+
--- smlnj-2026.1.orig/debian/control
+++ smlnj-2026.1/debian/control
@@ -0,0 +1,32 @@
+Source: smlnj
+Section: devel
+Priority: optional
+Maintainer: Skye Soss <skye@soss.website>
+Build-Depends: debhelper-compat (= 13),
+               smlnj-llvm-dev (>= 2026.1),
+               smlnj-llvm-dev (<< 2026.1.1~),
+               cmake,
+               asciidoctor,
+               latexmk,
+               texlive-binaries,
+               texlive-plain-generic,
+               texlive-latex-base,
+               texlive-latex-extra,
+               texlive-latex-recommended,
+               texlive-science,
+               texlive-pictures,
+               transfig
+Standards-Version: 4.7.2
+Homepage: https://smlnj.org/
+Vcs-Git: https://github.com/smlnj/smlnj.git
+Vcs-Browser: https://github.com/smlnj/smlnj
+Rules-Requires-Root: no
+
+Package: smlnj
+Architecture: amd64 arm64
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Standard ML of New Jersey interactive compiler
+ Standard ML of New Jersey (abbreviated SML/NJ) is a compiler for the
+ Standard ML '97 programming language with associated libraries,
+ tools, and documentation.
+ SML/NJ is free, open source software. 
--- smlnj-2026.1.orig/debian/copyright
+++ smlnj-2026.1/debian/copyright
@@ -0,0 +1,46 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/smlnj/smlnj
+Upstream-Name: smlnj
+Upstream-Contact: John Reppy <jhr@cs.uchicago.edu>
+Comment:
+ This package was originally debianized by Aaron Matthew Read <amread@nyx.net>
+ on Fri, 25 Oct 2002 16:54:10 -0800.
+ .
+ It has been re-debianized by Skye Soss <skye@soss.website> in March 2026.
+
+Files: *
+Copyright:
+ Copyright (c) 2024, The Fellowship of SML/NJ (https://www.smlnj.org)
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ BSD 3-Clause License
+ .
+ Copyright (c) 2024, The Fellowship of SML/NJ (https://www.smlnj.org)
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, this
+    list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the copyright holder nor the names of its
+    contributors may be used to endorse or promote products derived from
+    this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
--- smlnj-2026.1.orig/debian/install
+++ smlnj-2026.1/debian/install
@@ -0,0 +1,10 @@
+bin/ml-build      usr/lib/smlnj/bin
+bin/ml-makedepend usr/lib/smlnj/bin
+bin/heap2exec     usr/lib/smlnj/bin
+bin/.run-sml      usr/lib/smlnj/bin
+bin/.link-sml     usr/lib/smlnj/bin
+bin/.heap/*       usr/lib/smlnj/bin/.heap
+bin/.run/run.*    usr/lib/smlnj/bin/.run
+bin/.arch-n-opsys usr/lib/smlnj/bin
+
+lib/* usr/lib/smlnj/lib
--- smlnj-2026.1.orig/debian/rules
+++ smlnj-2026.1/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+
+%:
+	dh $@
+
+override_dh_auto_configure:
+	mkdir -p runtime/bin runtime/lib
+	ln -s /usr/bin/llvm-config runtime/bin/llvm-config
+	ln -s /usr/lib/libCFGCodeGen.a runtime/lib/libCFGCodeGen.a
+	tar --extract --file ../SOURCES/boot.$(DEB_TARGET_ARCH)-unix.tar.gz
+	cd doc && autoconf && ./configure
+
+override_dh_auto_build:
+	./build.sh
+	make -C doc/src/man man
+
+execute_after_dh_auto_install:
+	mkdir -p debian/smlnj/usr/bin
+	sed 's/@CMD@/sml/'           ../SOURCES/wrapper.sh.in > debian/smlnj/usr/bin/sml
+	sed 's/@CMD@/ml-antlr/'      ../SOURCES/wrapper.sh.in > debian/smlnj/usr/bin/ml-antlr
+	sed 's/@CMD@/ml-ulex/'       ../SOURCES/wrapper.sh.in > debian/smlnj/usr/bin/ml-ulex
+	sed 's/@CMD@/ml-yacc/'       ../SOURCES/wrapper.sh.in > debian/smlnj/usr/bin/ml-yacc
+	sed 's/@CMD@/ml-burg/'       ../SOURCES/wrapper.sh.in > debian/smlnj/usr/bin/ml-burg
+	sed 's/@CMD@/ml-makedepend/' ../SOURCES/wrapper.sh.in > debian/smlnj/usr/bin/ml-makedepend
+	sed 's/@CMD@/ml-build/'      ../SOURCES/wrapper.sh.in > debian/smlnj/usr/bin/ml-build
+	chmod 0755 debian/smlnj/usr/bin/*
--- smlnj-2026.1.orig/debian/smlnj.links
+++ smlnj-2026.1/debian/smlnj.links
@@ -0,0 +1,5 @@
+/usr/lib/smlnj/bin/.run-sml /usr/lib/smlnj/bin/sml
+/usr/lib/smlnj/bin/.run-sml /usr/lib/smlnj/bin/ml-antlr
+/usr/lib/smlnj/bin/.run-sml /usr/lib/smlnj/bin/ml-ulex
+/usr/lib/smlnj/bin/.run-sml /usr/lib/smlnj/bin/ml-yacc
+/usr/lib/smlnj/bin/.run-sml /usr/lib/smlnj/bin/ml-burg
--- smlnj-2026.1.orig/debian/smlnj.manpages
+++ smlnj-2026.1/debian/smlnj.manpages
@@ -0,0 +1,11 @@
+doc/src/man/asdlgen.1
+doc/src/man/heap2exec.1
+doc/src/man/ml-antlr.1
+doc/src/man/ml-build.1
+doc/src/man/ml-lex.1
+doc/src/man/ml-makedepend.1
+doc/src/man/ml-nlffigen.1
+doc/src/man/ml-ulex.1
+doc/src/man/ml-yacc.1
+doc/src/man/sml.1
+doc/src/man/smlnj.7
