--- enigma-1.04.orig/debian/changelog
+++ enigma-1.04/debian/changelog
@@ -0,0 +1,130 @@
+enigma (1.04-1+42.15) unstable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Sat, 20 Jun 2026 17:44:20 +0000
+
+enigma (1.04+42) unstable; urgency=low
+
+  * Update `configure` to build with GCC >= 14
+
+ -- Pascal Combes <pascom@orange.fr>  Mon, 16 Sep 2024 11:44:53 +0200
+
+enigma (1.04+41) unstable; urgency=low
+
+  * debian.changelog is now a copy of Enigma.changes
+  * Set correct revision numbers in debian.changelog
+  * Upgraded debian.rules to last version of Debian Helper
+  * Added a copyright file for Debian
+
+ -- Pascal Combes <pascom@orange.fr>  Fri, 19 Jan 2018 21:34:55 +0100
+
+enigma (1.04+40) unstable; urgency=low
+
+  * Corrected compat in *.dsc file
+  * Changed local state dir in Debian
+  * Auto-increment release by OBS
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 19:26:20 +0000
+
+enigma (1.04+39) unstable; urgency=low
+
+  * Corrected files for Debian (builds locally) 
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 18:21:04 +0000
+
+enigma (1.04+38) unstable; urgency=low
+
+  * Tests to understand problems in Debian
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 16:24:20 +0000
+
+enigma (1.04+37) unstable; urgency=low
+
+  * Removed Files section in *.dsc file for Debian 
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 15:10:29 +0000
+
+enigma (1.04+36) unstable; urgency=low
+
+  * Install application shortcut
+  * Corrected path to man page in Debian  
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 14:12:05 +0000
+
+enigma (1.04+35) unstable; urgency=low
+
+  * Included man page and shortcut in tarball 
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 13:41:23 +0000
+
+enigma (1.04+34) unstable; urgency=low
+
+  * Tests to solve Debian helper compat problem 
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 13:16:20 +0000
+
+enigma (1.04+33) unstable; urgency=low
+
+  * Moved to last version of DebHelper for Debian
+  * Added compat file 
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 12:51:45 +0000
+
+enigma (1.04+32) unstable; urgency=low
+
+  * Fixed prefix in Debian
+  * Created installation folders in Debian 
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 08:58:12 +0000
+
+enigma (1.04+31) unstable; urgency=low
+
+  * Corrected dependency on libncurses-dev in Debian 
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 08:40:54 +0000
+
+enigma (1.04+30) unstable; urgency=low
+
+  * Created files to build under Debian 
+
+ -- Pascal Combes <pascom@orange.fr>  Wed,  3 Jan 2018 08:31:58 +0000
+
+enigma (1.04+29) unstable; urgency=low
+
+  * It seems that "/var/games" is not provided anymore by thumbleweed.
+Hopefully, this is not a problem for other versions. 
+
+ -- Pascal Combes <pascom@orange.fr>  Tue,  4 Apr 2017 17:26:09 +0000
+
+enigma (1.04+28) unstable; urgency=low
+
+  * Due to the icon Enigma-data is required for building... 
+
+ -- Pascal Combes <pascom@orange.fr>  Mon, 23 May 2016 18:47:15 +0000
+
+enigma (1.04+27) unstable; urgency=low
+
+  * Enigma-data is not required for build any more (but still for install). 
+
+ -- Pascal Combes <pascom@orange.fr>  Mon, 23 May 2016 18:41:59 +0000
+
+enigma (1.04+22) unstable; urgency=low
+
+  * Modified the program so that it saves user progress and user backups in the
+user home directory if possible.
+
+ -- Pascal Combes <pascom@orange.fr>  Thu, 29 Jan 2015 21:26:16 +0000
+
+enigma (1.04+17) unstable; urgency=low
+
+  * Added a *.desktop shortcut file.
+
+ -- Pascal Combes <pascom@orange.fr>  Wed, 28 Jan 2015 21:00:11 +0000
+
+enigma (1.04+14) unstable; urgency=low
+
+  * Added a man page. Installed not compressed.
+
+ -- Pascal Combes <pascom@orange.fr>  Sun, 25 Jan 2015 17:48:17 +0000
+
--- enigma-1.04.orig/debian/compat
+++ enigma-1.04/debian/compat
@@ -0,0 +1 @@
+9
--- enigma-1.04.orig/debian/control
+++ enigma-1.04/debian/control
@@ -0,0 +1,19 @@
+Source: enigma    
+Section: unstable/games
+Priority: optional
+Maintainer: Pascal Combes <pascom@orange.fr>
+Build-Depends: debhelper (>= 9), 
+               libncurses5-dev
+
+Package: enigma
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A tricky console puzzle game
+ Enigma is a puzzle game involving falling blocks, exploding bombs, and pushing
+ stuff around. It has elements of Boulderdash and elements of Sokoban, and
+ anybody old enough to remember XOR on the Spectrum will see large elements of
+ that in it.
+ .
+ The game rules were devised by somebody who wishes to remain anonymous. He has
+ donated the levels to the public domain. The implementation was written from
+ scratch by Simon Tatham (http://www.chiark.greenend.org.uk/~sgtatham/).
--- enigma-1.04.orig/debian/copyright
+++ enigma-1.04/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: enigma
+Source: <http://www.chiark.greenend.org.uk/~sgtatham/enigma/>
+
+Files: *
+Copyright: 2000-2018 Simon Tatham <anakin@pobox.com>
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2018 Pascal COMBES <pascom@orange.fr>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
--- enigma-1.04.orig/debian/rules
+++ enigma-1.04/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+# Copyright 2018 Pascal COMBES <pascom@orange.fr>
+
+# Verbose mode
+export DH_VERBOSE=1
+
+BUILDROOT=/usr/src/packages/BUILD/debian/enigma
+
+%:
+	dh $@ --with autotools-dev
+
+# Override auto-configure script:
+override_dh_auto_configure:
+	dh_auto_configure -- --prefix=/usr --localstatedir=/var
+
+# Override auto-install script:
+override_dh_auto_install:
+	# Creates the directories:
+	mkdir -p ${BUILDROOT}/usr/bin
+	mkdir -p ${BUILDROOT}/usr/share/man/man6
+	mkdir -p ${BUILDROOT}/var
+	# Install the application:
+	dh_auto_install -- DESTDIR=${BUILDROOT}
+	# Install the application file:
+	mkdir -p ${BUILDROOT}/usr/share/applications
+	install -c -m 644 Enigma.desktop ${BUILDROOT}/usr/share/applications/
