[ngspice] 22/61: * Add overrides files * Made the extended description of tclspice a bit longer

Andreas Tille tille at debian.org
Tue Dec 12 14:08:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository ngspice.

commit 5e3248553e24dc40884eea545e0b07c8118167f8
Author: Gudjon I. Gudjonsson <gudjon at gudjon.org>
Date:   Fri Mar 18 11:41:06 2011 +0000

    * Add overrides files
    * Made the extended description of tclspice a bit longer
---
 debian/changelog                     |  6 +++--
 debian/control                       |  5 +++-
 debian/ngspice.dirs                  |  2 +-
 debian/ngspice.overrides             |  6 +++++
 debian/patches/01_fix_manpages.patch | 51 ++++++++++++++++++++++++++++++++++++
 debian/rules                         | 48 ++++++++++++++++-----------------
 debian/tclspice.overrides            |  5 ++++
 7 files changed, 95 insertions(+), 28 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c4205e2..6a31f04 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,13 @@
-ngspice (22-1) UNRELEASED; urgency=low
+ngspice (22-1) unstable; urgency=low
 
   * New upstream release
   * Source package renamed to ngspice
   * Add patches 01_fix_manpages 02_fix_spelling
   * Change/fix get-orig-source target
+  * Add overrides files
+  * Made the extended description of tclspice a bit longer
 
- -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Thu, 17 Mar 2011 08:04:31 +0100
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Fri, 18 Mar 2011 12:40:22 +0100
 
 ng-spice-rework (21-2) UNRELEASED; urgency=low
 
diff --git a/debian/control b/debian/control
index 8c90516..3a6c51b 100644
--- a/debian/control
+++ b/debian/control
@@ -41,7 +41,10 @@ Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, blt, tcl8.4, tk8.4
 Description: NGspice library for Tcl
  TclSpice brings NGspice simulation engine into your Tcl-scripts.
- It includes XSpice. GUI is handled by Tk using BLT vectors.
+ All spice directives are available as Tcl functions and it features
+ some new commands that are useful for the integration into the Tcl
+ environment. It includes XSpice. 
+ GUI is handled by Tk using BLT vectors.
 
 Package: ngspice-doc
 Section: non-free/doc
diff --git a/debian/ngspice.dirs b/debian/ngspice.dirs
index b228d57..56a8b61 100644
--- a/debian/ngspice.dirs
+++ b/debian/ngspice.dirs
@@ -1,6 +1,6 @@
 usr/bin
 usr/lib/spice
-usr/share/info
+#usr/share/info
 usr/share/man
 usr/share/ngspice
 
diff --git a/debian/ngspice.overrides b/debian/ngspice.overrides
new file mode 100644
index 0000000..4352f23
--- /dev/null
+++ b/debian/ngspice.overrides
@@ -0,0 +1,6 @@
+ngspice: binary-has-unneeded-section ./usr/lib/spice/digital.cm .comment
+ngspice: binary-has-unneeded-section ./usr/lib/spice/spice2poly.cm .comment
+ngspice: binary-has-unneeded-section ./usr/lib/spice/xtradev.cm .comment
+ngspice: binary-has-unneeded-section ./usr/lib/spice/xtraevt.cm .comment
+ngspice: binary-has-unneeded-section ./usr/lib/spice/analog.cm .comment
+
diff --git a/debian/patches/01_fix_manpages.patch b/debian/patches/01_fix_manpages.patch
index 69136e4..d01af5a 100644
--- a/debian/patches/01_fix_manpages.patch
+++ b/debian/patches/01_fix_manpages.patch
@@ -36,3 +36,54 @@ Fix minor spelling errors in manpages
          buffer-file-name
          " > /tmp/tmp.ps &&  gv /tmp/tmp.ps"))
  
+@@ -20,17 +20,17 @@
+ .ds = \-\^\-
+ .ds ngspice \s-2NGSPICE\s+2
+ .SH "NAME"
+-ngspice \- circuit simulator derived from \*[spice]\&3f5
++ngspice \- circuit simulator derived from spice\&3f5
+ .SH "SYNOPSIS"
+ \fBngspice\fP [\fIoptions\fP] [\fIfile\fP ...]
+ .SH "DESCRIPTION"
+ This man page is just a small overview.
+-The primary documentation of ngspice is in the \*[ngspice] User's Manual,
++The primary documentation of ngspice is in the ngspice User's Manual,
+ which is available as a pdf file.
+ .SH "OPTIONS"
+ .TP
+ \fB\-n\fP  or  \fB\*=no\-spiceinit\fP
+-Don't try to source the file ".spiceinit" upon startup. Normally \*[ngspice]
++Don't try to source the file ".spiceinit" upon startup. Normally ngspice
+ tries to find the file in the current directory, and if it is not found then
+ in the user's home directory.
+ .TP
+@@ -41,9 +41,9 @@
+ The program is being run on a terminal with \fBmfb\fP name \fIterm\fP.
+ .TP
+ \fB\-b\fP  or  \fB\*=batch\fP
+-Run in batch mode. \*[ngspice] will read the standard input or the specified
++Run in batch mode. ngspice will read the standard input or the specified
+ input file and do the simulation. Note that if the standard input
+-is not a terminal, \*[ngspice] will default to batch mode, unless the
++is not a terminal, ngspice will default to batch mode, unless the
+ \-i flag is given.
+ .TP
+ \fB\-s\fP  or  \fB\*=server\fP
+@@ -81,7 +81,7 @@
+ ngspice through a pipe. Thus ngspice will assume that the pipe
+ is a tty and allows to run in interactive mode.
+ .PP
+-Further arguments are taken to be \*[spice] input decks, which are read
++Further arguments are taken to be spice input decks, which are read
+ and saved. (If batch mode is requested then they are run immediately.)
+ .SH "ENVIRONMENT"
+ .TP
+@@ -131,7 +131,7 @@
+ .SH "SEE ALSO"
+ sconvert(1), ngnutmeg(1), mfb(3), writedata(3), and
+ .br
+-\*[ngspice] User's Manual at \fBhttp://ngspice.sourceforge.net/docs.html\fP
++ngspice User's Manual at \fBhttp://ngspice.sourceforge.net/docs.html\fP
+ .SH "BUGS"
+ Please report bugs to the ngspice project via
+ .br
diff --git a/debian/rules b/debian/rules
index 52a2833..080ba31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -114,13 +114,13 @@ endif
 	find $(CURDIR)/debian/tclspice -type d -empty -delete
 
 	# Override file for ngspice
-	##mkdir -p $(CURDIR)/debian/ngspice/usr/share/lintian/overrides/
-	##install -p -o root -g root -m 644 $(CURDIR)/debian/ngspice.overrides \
-	##	$(CURDIR)/debian/ngspice/usr/share/lintian/overrides/ngspice
+	mkdir -p $(CURDIR)/debian/ngspice/usr/share/lintian/overrides/
+	install -p -o root -g root -m 644 $(CURDIR)/debian/ngspice.overrides \
+		$(CURDIR)/debian/ngspice/usr/share/lintian/overrides/ngspice
 	# Override file for tclspice
-	##mkdir -p $(CURDIR)/debian/tclspice/usr/share/lintian/overrides/
-	##install -p -o root -g root -m 644 $(CURDIR)/debian/tclspice.overrides \
-	##	$(CURDIR)/debian/tclspice/usr/share/lintian/overrides/tclspice
+	mkdir -p $(CURDIR)/debian/tclspice/usr/share/lintian/overrides/
+	install -p -o root -g root -m 644 $(CURDIR)/debian/tclspice.overrides \
+		$(CURDIR)/debian/tclspice/usr/share/lintian/overrides/tclspice
 	# Documentation for ngspice, the same as for tclspice
 	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/html
 	cp -a build/manual/manual.html.LyXconv/* \
@@ -139,7 +139,7 @@ binary-indep: build install
 	#dh_installinfo -i
 	dh_installman -i
 	dh_installexamples -i -pngspice-doc examples/* -Xtclspice
-	dh_installchangelogs -i
+	dh_installchangelogs ChangeLog -i
 	dh_compress -i
 	dh_fixperms -i
 	dh_installdeb -i
@@ -149,24 +149,24 @@ binary-indep: build install
 
 # Build architecture-dependent files here.
 binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs -pngspice contrib -XCOPYING
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs ChangeLog -a
+	dh_installdocs -pngspice contrib -XCOPYING -a
 	dh_installdocs
-	dh_installexamples -ptclspice examples/tclspice/*
-	dh_install --sourcedir=debian/tmp
-	dh_installinfo
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_installexamples -ptclspice examples/tclspice/* -a
+	dh_install --sourcedir=debian/tmp -a
+	#dh_installinfo -a
+	dh_installman -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
 
 binary: binary-indep binary-arch
 
diff --git a/debian/tclspice.overrides b/debian/tclspice.overrides
new file mode 100644
index 0000000..e53c489
--- /dev/null
+++ b/debian/tclspice.overrides
@@ -0,0 +1,5 @@
+tclspice: binary-has-unneeded-section ./usr/lib/tcltk/analog.cm .comment
+tclspice: binary-has-unneeded-section ./usr/lib/tcltk/digital.cm .comment
+tclspice: binary-has-unneeded-section ./usr/lib/tcltk/spice2poly.cm .comment
+tclspice: binary-has-unneeded-section ./usr/lib/tcltk/xtradev.cm .comment
+tclspice: binary-has-unneeded-section ./usr/lib/tcltk/xtraevt.cm .comment

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ngspice.git



More information about the debian-science-commits mailing list