--- qshare-0.6.2.orig/debian/changelog
+++ qshare-0.6.2/debian/changelog
@@ -0,0 +1,23 @@
+qshare (0.6.2-1+1.1) unstable; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Thu, 27 Aug 2026 16:22:15 +0000
+
+qshare (0.6.2-1) unstable; urgency=medium
+
+  * Release version 0.6.2.
+
+ -- Kanta Imai <work@floating-gate.com>  Fri, 28 Aug 2026 00:00:00 +0900
+
+qshare (0.6.1-1) unstable; urgency=medium
+
+  * Release version 0.6.1.
+
+ -- Kanta Imai <work@floating-gate.com>  Tue, 18 Aug 2026 00:00:00 +0900
+
+qshare (0.5.0-1) unstable; urgency=medium
+
+  * Initial Debian package.
+
+ -- Kanta Imai <work@floating-gate.com>  Mon, 17 Aug 2026 00:00:00 +0900
--- qshare-0.6.2.orig/debian/control
+++ qshare-0.6.2/debian/control
@@ -0,0 +1,17 @@
+Source: qshare
+Section: net
+Priority: optional
+Maintainer: Kanta Imai <work@floating-gate.com>
+Build-Depends: debhelper-compat (= 13), golang-go (>= 1.24)
+Standards-Version: 4.7.2
+Homepage: https://github.com/canta-9142/qshare
+Rules-Requires-Root: no
+
+Package: qshare
+Architecture: amd64 arm64 armhf
+Depends: ${misc:Depends}
+Suggests: wl-clipboard | xclip | xsel
+Description: Local file sharing with browser-capable devices
+ qshare exchanges files and text with smartphones and other browser-capable
+ devices over a local network. It does not require cloud storage, an account,
+ or a dedicated receiving application.
--- qshare-0.6.2.orig/debian/copyright
+++ qshare-0.6.2/debian/copyright
@@ -0,0 +1,24 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: qshare
+Source: https://github.com/canta-9142/qshare
+
+Files: *
+Copyright: 2026 今井 寛大
+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.
--- qshare-0.6.2.orig/debian/rules
+++ qshare-0.6.2/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
+
+export CGO_ENABLED := 0
+export GOPROXY := off
+export GOSUMDB := off
+export GOTOOLCHAIN := local
+
+OBS_SOURCES ?= /usr/src/packages/SOURCES
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	if [ ! -d vendor ]; then \
+		vendor_archive=$(OBS_SOURCES)/vendor.tar.gz; \
+		test -f "$$vendor_archive" || { \
+			echo "vendor archive not found: $$vendor_archive" >&2; \
+			exit 1; \
+		}; \
+		tar -xzf "$$vendor_archive"; \
+		touch .vendor-from-obs; \
+	fi
+	go build -buildvcs=false -mod=vendor -trimpath \
+		-ldflags "-X main.version=v$(DEB_VERSION_UPSTREAM)" \
+		-o qshare ./cmd/qshare
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	go test -mod=vendor ./...
+endif
+
+override_dh_auto_install:
+	install -D -m 0755 qshare $(CURDIR)/debian/qshare/usr/bin/qshare
+
+override_dh_installdocs:
+	dh_installdocs README.md
+
+override_dh_dwz:
+	:
+
+override_dh_auto_clean:
+	rm -f qshare
+	if [ -f .vendor-from-obs ]; then rm -rf vendor .vendor-from-obs; fi
