--- geant4-11.3.2.orig/debian/changelog
+++ geant4-11.3.2/debian/changelog
@@ -0,0 +1,12 @@
+geant4 (11.3.2-0+4.1) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Fri, 13 Mar 2026 18:57:07 +0000
+
+geant4 (11.3.2-0) stable; urgency=low
+
+  * Initial Release
+
+ -- Michail Axiotis <psaxioti@gmail.com>  Mon, 26 Oct 2015 12:00:00 +0100
+
--- geant4-11.3.2.orig/debian/control
+++ geant4-11.3.2/debian/control
@@ -0,0 +1,16 @@
+Source: geant4
+Section: Productivity/Science/Physics
+Priority: optional
+Maintainer: Michail Axiotis
+Build-Depends: debhelper-compat (= 13), cmake (>= 3.16), libexpat1-dev, qtbase5-dev, libglu1-mesa-dev, libxerces-c-dev, libmotif-dev, libqt5opengl5-dev, libxmu-dev, libhdf5-dev, libfontconfig-dev, libfreetype-dev, libsoqt520-dev, qt3d5-dev
+
+Package: geant4.11.3
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, cmake (>= 3.16), g++, libexpat1-dev, qtbase5-dev, libglu1-mesa-dev, libxerces-c-dev, libmotif-dev, libqt5opengl5-dev, libxmu-dev, libhdf5-dev, libfontconfig-dev, libfreetype-dev, libsoqt520-dev, qt3d5-dev, geant4-data-g4ndl-4.7.1-multi-version | geant4-data-g4ndl-4.7.1, geant4-data-g4emlow-8.6.1-multi-version | geant4-data-g4emlow-8.6.1, geant4-data-photonevaporation-6.1-multi-version | geant4-data-photonevaporation-6.1, geant4-data-radioactivedecay-6.1.2-multi-version | geant4-data-radioactivedecay-6.1.2, geant4-data-g4particlexs-4.1-multi-version | geant4-data-g4particlexs-4.1, geant4-data-g4pii-1.3-multi-version | geant4-data-g4pii-1.3, geant4-data-realsurface-2.2-multi-version | geant4-data-realsurface-2.2, geant4-data-g4saiddata-2.0-multi-version | geant4-data-g4saiddata-2.0, geant4-data-g4abla-3.3-multi-version | geant4-data-g4abla-3.3, geant4-data-g4incl-1.2-multi-version | geant4-data-g4incl-1.2, geant4-data-g4ensdfstate-3.0-multi-version | geant4-data-g4ensdfstate-3.0, geant4-data-g4channeling-1.0-multi-version | geant4-data-g4channeling-1.0, geant4-data-g4tendl-1.4-multi-version | geant4-data-g4tendl-1.4, geant4-data-g4nudexlib-1.0-multi-version | geant4-data-g4nudexlib-1.0, geant4-data-g4urrpt-1.1-multi-version | geant4-data-g4urrpt-1.1, geant4-data-lend-1.3-multi-version | geant4-data-lend-1.3
+Description: Toolkit for the simulation of the passage of particles through matter
+ Geant simulates the passage of subatomic particles through matter, for instance, particle detectors. Geant 3 simulations are performed by linking Fortran code supplied by the user with the Geant libraries, then running the resulting executable. This package includes gxint, the script used to perform this linking step. Geant 4 is a complete rewrite in C++ with addition of other modern features and detectors.
+
+Package: geant4.11.3-examples
+Architecture: all
+Description: Geant4 user examples
+ Geant4 user examples.
--- geant4-11.3.2.orig/debian/postinst
+++ geant4-11.3.2/debian/postinst
@@ -0,0 +1,11 @@
+#/bin/sh
+G4ConfigFolder="/opt/geant4/geant4-multi_config/"
+G4ConfigFileName="geant4.11.3"
+if [[ $(ls "${G4ConfigFolder}${G4ConfigFileName}.sh" 2>/dev/null)  && ! $(grep source /etc/bash.bashrc | grep ${G4ConfigFileName}) ]] ; then
+   echo 'source ${G4ConfigFolder}${G4ConfigFileName}.sh'  >> /etc/bash.bashrc
+fi
+if [[ $(ls "${G4ConfigFolder}${G4ConfigFileName}.csh" 2>/dev/null) && ! $(grep source /etc/csh.cshrc   | grep ${G4ConfigFileName}) ]] ; then
+   echo 'source ${G4ConfigFolder}${G4ConfigFileName}.csh' >> /etc/csh.cshrc
+fi
+unset G4ConfigFolder
+unset G4ConfigFileName
--- geant4-11.3.2.orig/debian/postrm
+++ geant4-11.3.2/debian/postrm
@@ -0,0 +1,11 @@
+#/bin/sh
+G4ConfigFolder="/opt/geant4/geant4-multi_config/"
+G4ConfigFileName="geant4.11.3"
+if [[ ! $(ls "${G4ConfigFolder}${G4ConfigFileName}.sh" 2>/dev/null)  && $(grep source /etc/bash.bashrc | grep ${G4ConfigFileName}) ]] ; then
+   sed -i '/${G4ConfigFileName}/d' /etc/bash.bashrc
+fi
+if [[ ! $(ls "${G4ConfigFolder}${G4ConfigFileName}.csh" 2>/dev/null) && $(grep source /etc/csh.cshrc   | grep ${G4ConfigFileName}) ]] ; then
+   sed -i '/${G4ConfigFileName}/d' /etc/csh.cshrc
+fi
+unset G4ConfigFolder
+unset G4ConfigFileName
--- geant4-11.3.2.orig/debian/rules
+++ geant4-11.3.2/debian/rules
@@ -0,0 +1,54 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+debname = $(shell dpkg-parsechangelog | sed -n -e 's/^Source: //p')
+debversion = $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
+
+g4Name = geant4
+g4Version = 11.3
+name = $(g4Name).$(g4Version)
+
+buildroot = /usr/src/packages/BUILD/debian/$(name)
+buildroot_examples = /usr/src/packages/BUILD/debian/$(name)-examples
+
+_sourcedir = /usr/src/packages/SOURCES
+_bindir = /usr/bin
+_docdir = /usr/share/doc
+_datadir = /usr/share
+
+g4InstallRoot = /opt/$(g4Name)
+g4DataPath = $(g4InstallRoot)/$(g4Name)-data
+g4ConfigPath = $(g4InstallRoot)/$(g4Name)-multi_config
+g4InstallPath = $(g4InstallRoot)/$(name)
+g4ExamplesPath = $(g4InstallRoot)/$(name)-examples
+
+%:
+	dh $@
+
+override_dh_auto_configure:
+	find ./ -name .README* -delete
+	find ./ -name .cproject* -delete
+	find ./ -name .project* -delete
+	find ./ -name .gitignore* -delete
+	find ./ -name .doxygen* -type d -exec rm -rf {} +
+	find ./ -name .doxygen* -delete
+	find ./examples -name *.py -exec sed -i "1s@#!.*python.*@#!/usr/bin/python3@" {} \;
+	patch -p1 < $(_sourcedir)/G4-multi.patch
+	cat $(_sourcedir)/G4-LEND.patch >> cmake/Modules/G4DatasetDefinitions.cmake
+	sed -i "s/OFF/ON/g" cmake/Modules/G4DatasetDefinitions.cmake
+	dh_auto_configure -- \
+	$(shell cat $(_sourcedir)/geant4_build_options) \
+	-DGEANT4_INSTALL_DATADIR=$(g4DataPath) \
+	-DCMAKE_INSTALL_PREFIX=$(g4InstallPath)
+
+override_dh_auto_install:
+	dh_auto_install -a --destdir=debian/$(name)
+	#
+	install -d -m 0755 $(buildroot_examples)/$(g4ExamplesPath)
+	cp -r examples $(buildroot_examples)/$(g4ExamplesPath)
+
+override_dh_shlibdeps:
+	dh_shlibdeps -l$(buildroot)/$(g4InstallPath)/lib/$(DEB_HOST_MULTIARCH)
+
