--- zsh-history-substring-search-1.0.2.orig/debian/changelog
+++ zsh-history-substring-search-1.0.2/debian/changelog
@@ -0,0 +1,17 @@
+zsh-history-substring-search (1.0.2-1+2.14) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Sat, 13 Jul 2024 11:07:00 +0000
+
+zsh-history-substring-search (1.0.2) stable; urgency=low
+
+  * Version 1.0.2
+
+ -- Julien Nicoulaud <julien.nicoulaud@gmail.com>  Sat, 13 Aug 2022 18:56:17 +0200
+
+zsh-history-substring-search (1.0.1) stable; urgency=low
+
+  * Version 1.0.1
+
+ -- Julien Nicoulaud <julien.nicoulaud@gmail.com>  Tue, 28 Feb 2017 20:56:58 +0100
--- zsh-history-substring-search-1.0.2.orig/debian/compat
+++ zsh-history-substring-search-1.0.2/debian/compat
@@ -0,0 +1 @@
+7
--- zsh-history-substring-search-1.0.2.orig/debian/control
+++ zsh-history-substring-search-1.0.2/debian/control
@@ -0,0 +1,10 @@
+Source: zsh-history-substring-search
+Priority: optional
+Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: zsh-history-substring-search
+Architecture: any
+Depends: zsh
+Description: ZSH port of the FISH shell's history search.
--- zsh-history-substring-search-1.0.2.orig/debian/dsc
+++ zsh-history-substring-search-1.0.2/debian/dsc
@@ -0,0 +1,9 @@
+Format: 1.0
+Source: zsh-history-substring-search
+Binary: zsh-history-substring-search
+Architecture: any
+Version: 1.0.2
+Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5)
+Debtransform-Release: 1
--- zsh-history-substring-search-1.0.2.orig/debian/rules
+++ zsh-history-substring-search-1.0.2/debian/rules
@@ -0,0 +1,68 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+export DH_COMPAT=7
+
+CFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	install -d 755 /usr/src/packages/BUILD/debian/zsh-history-substring-search/usr/share/zsh-history-substring-search
+	install -pm 755 zsh-history-substring-search.zsh /usr/src/packages/BUILD/debian/zsh-history-substring-search/usr/share/zsh-history-substring-search/
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
