--- talys-1.97-1.97.orig/debian/changelog
+++ talys-1.97-1.97/debian/changelog
@@ -0,0 +1,11 @@
+talys-1.97 (1.97-0+11.1) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Fri, 13 Mar 2026 18:56:13 +0000
+
+talys-1.97 (1.97-0) stable; urgency=low
+
+  * Initial Release
+
+ -- Michail Axiotis <psaxioti@gmail.com>  Mon, 26 Oct 2015 12:00:00 +0100
--- talys-1.97-1.97.orig/debian/control
+++ talys-1.97-1.97/debian/control
@@ -0,0 +1,33 @@
+Source: talys-1.97
+Section: Productivity/Science/Physics
+Priority: optional
+Maintainer: Michail Axiotis
+Build-Depends: debhelper-compat (= 12), gfortran
+
+Package: talys-1.97
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, talys-2.0-data-multi-version | talys-2.0-data
+Description: TALYS is software for the simulation of nuclear reactions
+ TALYS is a software package for the simulation of nuclear reactions below 200 MeV. TALYS is based on state-of-art nuclear structure and reaction models.
+
+Package: talys-1.97-doc
+Architecture: all
+Description: Documentation of TALYS
+ Documentation of TALYS software package for the simulation of nuclear reactions below 200 MeV.
+
+Package: talys-1.97-devel
+Architecture: all
+Description: Sources of TALYS
+ Source files of TALYS software package for the simulation of nuclear reactions below 200 MeV.
+
+#Package: talys-1.97-samples
+#Architecture: all
+#Description: Samples of TALYS
+# Sample files of TALYS software package for the simulation of nuclear reactions below 200 MeV.
+
+Package: talys-1.97-as-default
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, talys-1.97
+Conflicts: talys-1.9-as-default, talys-1.95-as-default, talys-1.96-as-default, talys-2.0-as-default, talys-2.2-as-default
+Description: Set TALYS 1.97 as default
+ Set TALYS version 1.97 as default creating a symlink called talys.
--- talys-1.97-1.97.orig/debian/rules
+++ talys-1.97-1.97/debian/rules
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+DH_VERBOSE = 1
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+mname = talys
+name = $(shell dpkg-parsechangelog | sed -n -e 's/^Source: //p')
+version = $(shell dpkg-parsechangelog | sed -n -e "s/^Version:\ \+\(.*\)[-\ ].*/\1/p")
+sources_path = /usr/src/packages/SOURCES/
+SOURCE1 = $(sources_path)$(mname)-samples-$(version).tar.gz
+SOURCE2 = $(sources_path)$(mname).patch
+dataVersion = 2.0
+dname = $(mname)-$(dataVersion)
+
+buildroot = /usr/src/packages/BUILD/debian/$(name)
+_bindir = /usr/bin
+_docdir = /usr/share/doc
+_datadir = /usr/share
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	sed -i "s|  codedir.*|  codedir = '$(_datadir)/$(dname)/'|" source/machine.f
+	cd source ;\
+	ls *.o > /dev/null 2>&1 && rm -rf *.o ;\
+	ls *.mod > /dev/null 2>&1   && rm -rf *.mod ;\
+	ls *.f* > /dev/null 2>&1 && gfortran -w -c *.f* ;\
+	gfortran *.o -o $(name) ;\
+	ls *.o > /dev/null 2>&1 && rm -rf *.o ;\
+	ls *.mod > /dev/null 2>&1   && rm -rf *.mod ;\
+	sed -i "s|\(beta2(.[^)]*)\)|abs(\1)|" foldalpha.f* ;\
+	grep beta2 foldalpha.f* ;\
+	ls *.f* > /dev/null 2>&1 && gfortran -w -c *.f* ;\
+	gfortran *.o -o $(name)a ;\
+	ls *.o > /dev/null 2>&1 && rm -rf *.o ;\
+	ls *.mod > /dev/null 2>&1   && rm -rf *.mod ;\
+	patch -p2 -b $(SOURCE2) ;\
+	ls *.f* > /dev/null 2>&1 && gfortran -w -c *.f* ;\
+	gfortran *.o -o $(name)pa ;\
+	ls *.o > /dev/null 2>&1 && rm -rf *.o ;\
+	ls *.mod > /dev/null 2>&1   && rm -rf *.mod ;\
+	exit 0
+
+override_dh_auto_install:
+	install -d                             $(buildroot)$(_bindir)
+	install -m755 source/$(name)           $(buildroot)$(_bindir)/
+	install -m755 source/$(name)a          $(buildroot)$(_bindir)/
+	install -m755 source/$(name)pa         $(buildroot)$(_bindir)/
+	rm -rf source/$(name)
+	rm -rf source/$(name)a
+	rm -rf source/$(name)pa
+	install -m755 misc/tplot               $(buildroot)$(_bindir)/tplot-$(version)
+	install -d                             $(buildroot)-doc$(_docdir)/$(name)
+	install -m644 README.md                $(buildroot)-doc$(_docdir)/$(name)/
+	install -m644 doc/*                    $(buildroot)-doc$(_docdir)/$(name)/
+	install -d                             $(buildroot)-devel$(_datadir)/$(name)/source
+	install -m644 source/*                 $(buildroot)-devel$(_datadir)/$(name)/source/
+	install -m755 code_build path_change   $(buildroot)-devel$(_datadir)/$(name)
+#	install -d                             $(buildroot)-samples$(_datadir)/$(name)/samples
+#	tar -zxf $(SOURCE1) --strip-components=1 --exclude=".git*" -C $(buildroot)-samples$(_datadir)/$(name)/samples/
+#	for file in `find $(buildroot)-samples$(_datadir)/$(name)/samples/ -executable -type f -iname plot -exec grep -vHl '#!' {} \;` ; do sed -i '1s|^|#!/bin/csh -f \n|' $${file} ; done
+	install -d                             $(buildroot)-as-default$(_bindir)
+	cd $(buildroot)-as-default$(_bindir) ;\
+	ln -s $(name) ./$(mname)
