--- libwapcaplet-0.4.3.orig/debian/changelog
+++ libwapcaplet-0.4.3/debian/changelog
@@ -0,0 +1,11 @@
+libwapcaplet (0.4.3-1+8.2) unstable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Tue, 28 Apr 2026 07:19:46 +0000
+
+libwapcaplet (0.4.3) unstable; urgency=low
+
+  * Initial release.
+
+ -- NetSurf Developers <netsurf@netsurf-browser.org>  Wed, 15 Apr 2026 00:00:00 +0000
--- libwapcaplet-0.4.3.orig/debian/control
+++ libwapcaplet-0.4.3/debian/control
@@ -0,0 +1,25 @@
+Source: libwapcaplet
+Priority: extra
+Maintainer: NetSurf Developers <netsurf@netsurf-browser.org>
+Build-Depends: debhelper-compat (= 13), pkg-config
+Standards-Version: 4.6.0
+Section: libs
+Homepage: http://www.netsurf-browser.org/
+
+Package: libwapcaplet-dev
+Section: libdevel
+Architecture: any
+Depends: libwapcaplet0 (= ${binary:Version})
+Description: string internment library
+ NetSurf's lightweight string internment library.
+ .
+ This package contains the development files.
+
+Package: libwapcaplet0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: string internment library
+ NetSurf's lightweight string internment library.
+ .
+ This package contains the shared library.
--- libwapcaplet-0.4.3.orig/debian/copyright
+++ libwapcaplet-0.4.3/debian/copyright
@@ -0,0 +1,25 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libwapcaplet
+Upstream-Contact: NetSurf Developers <netsurf@netsurf-browser.org>
+Source: http://www.netsurf-browser.org/
+
+Files: *
+Copyright: 2009 The NetSurf Browser Project
+License: MIT
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
--- libwapcaplet-0.4.3.orig/debian/libwapcaplet-dev.install
+++ libwapcaplet-0.4.3/debian/libwapcaplet-dev.install
@@ -0,0 +1,3 @@
+usr/include/libwapcaplet/*
+usr/lib/*/libwapcaplet.so
+usr/lib/pkgconfig/libwapcaplet.pc
--- libwapcaplet-0.4.3.orig/debian/libwapcaplet0.install
+++ libwapcaplet-0.4.3/debian/libwapcaplet0.install
@@ -0,0 +1 @@
+usr/lib/*/libwapcaplet.so.0
--- libwapcaplet-0.4.3.orig/debian/rules
+++ libwapcaplet-0.4.3/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
+
+DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+override_dh_auto_clean:
+	true
+
+override_dh_auto_configure:
+	mkdir -p build
+
+override_dh_auto_build:
+	cd build && gcc -shared -fPIC -o libwapcaplet.so.0 \
+		-I../include -I../src \
+		-D_BSD_SOURCE -D_DEFAULT_SOURCE \
+		-Wall -W -Wundef -Wpointer-arith -Wcast-align \
+		-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+		-Wmissing-declarations -Wnested-externs \
+		-Werror -std=c99 \
+		../src/libwapcaplet.c
+	ln -sf libwapcaplet.so.0 build/libwapcaplet.so
+
+override_dh_auto_install:
+	install -m 755 -d $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
+	install -m 755 build/libwapcaplet.so.0 $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
+	ln -sf libwapcaplet.so.0 $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libwapcaplet.so
+	install -m 755 -d $(CURDIR)/debian/tmp/usr/include/libwapcaplet
+	install -m 644 include/libwapcaplet/libwapcaplet.h $(CURDIR)/debian/tmp/usr/include/libwapcaplet/
+	install -m 755 -d $(CURDIR)/debian/tmp/usr/lib/pkgconfig
+	sed -e 's|PREFIX|/usr|g' \
+	    -e 's|LIBDIR|/usr/lib/$(DEB_HOST_MULTIARCH)|g' \
+	    -e 's|INCLUDEDIR|/usr/include|g' \
+	    -e 's|VERSION|0.4.3|g' \
+	    libwapcaplet.pc.in > $(CURDIR)/debian/tmp/usr/lib/pkgconfig/libwapcaplet.pc
+	chmod 644 $(CURDIR)/debian/tmp/usr/lib/pkgconfig/libwapcaplet.pc
+
+override_dh_auto_test:
+	true
