--- ngspice-44.2.orig/debian/changelog
+++ ngspice-44.2/debian/changelog
@@ -0,0 +1,11 @@
+ngspice (44.2-1+10.3) unstable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Sat, 11 Jul 2026 11:55:28 +0000
+
+ngspice (44.2) unstable; urgency=low
+
+  * Initial release. Closes: #00001
+  
+  -- Mazher Iqbal <mazher.iqbal@lip6.fr> Tue, 28 Jan 2025 11:46:00 +0100
--- ngspice-44.2.orig/debian/control
+++ ngspice-44.2/debian/control
@@ -0,0 +1,40 @@
+Source: ngspice
+Section: Productivity/Scientific/Electronics
+Priority: optional
+Maintainer: mazher iqbal <mazher.iqbal@lip6.fr>
+Build-Depends: debhelper-compat (= 13),
+               dh-python,
+               bison,
+               pkg-config,
+               libstdc++6,
+               libc6,
+               libedit2,
+               libx11-6,
+               libfftw3-dev,
+               libreadline-dev,
+               libxaw7-dev,
+               libxext-dev,
+               libxft-dev,
+               libxmu-dev,
+Standards-Version: 44.2
+X-Python3-Version: >= 3.5
+Homepage: https://ngspice.sourceforge.io
+Rules-Requires-Root: no
+
+Package: ngspice
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: NGSspice is a mixed-level/mixed-signal circuit simulator. Its code is based on three open source software packages: Spice3f5, Cider1b1 and Xspice. NGSpice is a part of gEDA project, a full GPL'd suite of Electronic Design Autiomation tools. 
+
+Package: libngspice0
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: NGSpice is a mixed-level/mixed-signal circuit simulator. Its code is based on three open source software packages: Spice3f5, Cider1b1 and Xspice. This package contains the NGSpice library.
+
+Package: libngspice0-dev
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends} libngspice0
+Description: Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is based on three open source software packages: Spice3f5, Cider1b1 and Xspice. This package contains the NGSpice library.
--- ngspice-44.2.orig/debian/libngspice0-dev.install
+++ ngspice-44.2/debian/libngspice0-dev.install
@@ -0,0 +1,3 @@
+/usr/lib/libngspice.so
+/usr/include/ngspice/sharedspice.h
+/usr/lib/pkgconfig/ngspice.pc
--- ngspice-44.2.orig/debian/libngspice0.install
+++ ngspice-44.2/debian/libngspice0.install
@@ -0,0 +1 @@
+/usr/lib/libngspice.so.*
--- ngspice-44.2.orig/debian/ngspice.install
+++ ngspice-44.2/debian/ngspice.install
@@ -0,0 +1,6 @@
+/usr/bin/ngspice
+/usr/lib/ngspice/*.so
+/usr/lib/ngspice/*.cm
+/usr/lib/ngspice/*.vpi
+/usr/share/man/man1/*
+/usr/share/ngspice/scripts/*
--- ngspice-44.2.orig/debian/rules
+++ ngspice-44.2/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+
+
+NAME	= ngspice
+VERSION = 44.2
+DESTDIR = $(CURDIR)/debian/tmp
+
+
+%:
+	dh $@ 
+
+binary:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_prep
+	dh_installdirs
+	export CFLAGS="%{optflags} -fPIE"
+	export LDFLAGS="-pie"
+	
+	mkdir exe lib   
+	
+	cd exe;	 \
+	  ../configure \
+	  --prefix="/usr" \
+	  --libdir="/usr/lib" \
+	  --disable-debug \
+	  --with-x \
+	  --with-readline=yes \
+	--enable-xspice \
+	--enable-cider \
+	--enable-openmp \
+	--enable-osdi \
+	--enable-predictor \
+	
+	cd lib;  \
+	../configure \
+	--prefix="/usr" \
+	--libdir="/usr/lib" \
+	--disable-debug \
+	--with-ngshared \
+	--with-readline=yes \
+	--enable-xspice \
+	--enable-cider \
+	--enable-openmp \
+	--enable-osdi \
+	--enable-predictor \
+	
+	cd exe; make  
+	cd lib; make 
+	cd exe; make install DESTDIR=$(DESTDIR) 
+	cd lib; make install DESTDIR=$(DESTDIR) 
+	chmod -x ANALYSES AUTHORS BUGS DEVICES FAQ NEWS README
+	find $(DESTDIR) -type f -name "*.la" -delete -print
+#	mkdir $(DESTDIR)/usr/x86_64-linux-gnu
+#	mv $(DESTDIR)/usr/lib/* $(DESTDIR)/usr/x86_64-linux-gnu/
+#	mv $(DESTDIR)/usr/x86_64-linux-gnu $(DESTDIR)/usr/lib
+	echo "==================================================="
+	find $(DESTDIR)
+	echo "==================================================="
+	dh_installdeb
+	dh_install
+	dh_missing --list-missing
+	dh_shlibdeps
+	dh_compress
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb  # only for binary packages ?
+
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean
+	rm -fr exe lib
+
