[Pkg-electronics-commits] [gnucap] 49/49: first steps towards a new package.

felix salfelder felix-guest at moszumanska.debian.org
Tue Feb 2 21:40:01 UTC 2016


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

felix-guest pushed a commit to branch wip
in repository gnucap.

commit 739cc0fac1c4259b76270275a5ef9f2eef533d2e
Author: Felix Salfelder <felix at salfelder.org>
Date:   Tue Feb 2 21:45:36 2016 +0100

    first steps towards a new package.
    
    (see changelog)
---
 debian/changelog                      | 10 ++++++++
 debian/compat                         |  2 +-
 debian/control                        | 44 ++++++++++++++++++++++++++++++-----
 debian/gnucap-default-plugins.install |  1 +
 debian/gnucap-dev.install             |  1 +
 debian/gnucap.install                 |  1 +
 debian/libgnucap0.install             |  1 +
 debian/rules                          | 14 +++++------
 8 files changed, 60 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 37860cb..716ae7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+gnucap (1:0.36~20091207-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * library package
+  * -dev package
+  * bump compat to 9
+  * WIP
+
+ -- Felix Salfelder <felix at salfelder.org>  Tue, 02 Feb 2016 22:06:23 +0100
+
 gnucap (1:0.36~20091207-2) unstable; urgency=low
 
   * debian/control: Bumped Standards-Version to 3.9.2
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 4d5aaf4..6fbc598 100644
--- a/debian/control
+++ b/debian/control
@@ -17,11 +17,43 @@ Package: gnucap
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: GNU Circuit Analysis package
- GNUCAP is a general purpose circuit simulator.  It performs nonlinear
+ GNUCAP is a general purpose circuit simulator. It performs nonlinear
  dc and transient analyses, Fourier analysis, and ac analysis
- linearized at an operating point.  It is fully interactive and
- command driven.  It can also be run in batch mode or as a server.
- The output is produced as it simulates.  Spice compatible models
- for the MOSFET (level 1,2,3) and diode are included in this
- release.
+ linearized at an operating point. It is fully interactive and
+ command driven. It can also be run in batch mode or as a server.
+ This package contains the main executable.
 
+Package: gnucap-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GNU Circuit Analysis package
+ GNUCAP is a general purpose circuit simulator. It performs nonlinear
+ dc and transient analyses, Fourier analysis, and ac analysis
+ linearized at an operating point. It is fully interactive and
+ command driven. It can also be run in batch mode or as a server.
+ This package contains the development headers required to build plugins.
+
+# maybe later.
+# Package: libgnucap-dev
+# Architecture: any
+# Depends: ${shlibs:Depends}, ${misc:Depends}, libgnucap0
+
+Package: libgnucap0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GNU Circuit Analysis package
+ GNUCAP is a general purpose circuit simulator. It performs nonlinear
+ dc and transient analyses, Fourier analysis, and ac analysis
+ linearized at an operating point. It is fully interactive and
+ command driven. It can also be run in batch mode or as a server.
+ This package contains the shared library.
+
+Package: gnucap-default-plugins
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GNU Circuit Analysis package
+ GNUCAP is a general purpose circuit simulator. It performs nonlinear
+ dc and transient analyses, Fourier analysis, and ac analysis
+ linearized at an operating point. It is fully interactive and
+ command driven. It can also be run in batch mode or as a server.
+ This package contains the default plugins.
diff --git a/debian/gnucap-default-plugins.install b/debian/gnucap-default-plugins.install
new file mode 100644
index 0000000..75cd4e1
--- /dev/null
+++ b/debian/gnucap-default-plugins.install
@@ -0,0 +1 @@
+usr/lib/gnucap/*.so
diff --git a/debian/gnucap-dev.install b/debian/gnucap-dev.install
new file mode 100644
index 0000000..5be28dd
--- /dev/null
+++ b/debian/gnucap-dev.install
@@ -0,0 +1 @@
+usr/include/gnucap/*.h
diff --git a/debian/gnucap.install b/debian/gnucap.install
new file mode 100644
index 0000000..ddbc334
--- /dev/null
+++ b/debian/gnucap.install
@@ -0,0 +1 @@
+usr/bin/gnucap
diff --git a/debian/libgnucap0.install b/debian/libgnucap0.install
new file mode 100644
index 0000000..239bcfe
--- /dev/null
+++ b/debian/libgnucap0.install
@@ -0,0 +1 @@
+usr/lib/*.so
diff --git a/debian/rules b/debian/rules
index f24b08b..ac40256 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,11 @@
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- LDFLAGS="$(LDFLAGS) -Wl,--as-needed"
+	./configure --prefix=/usr LDFLAGS="$(LDFLAGS) -Wl,--as-needed"
 
-override_dh_auto_build:
-	dh_auto_build
-	#$(MAKE) -C man html/index.html
+#override_dh_auto_build:
+#	dh_auto_build
+#	#$(MAKE) -C man html/index.html
 
 override_dh_auto_clean:
 	dh_auto_clean
@@ -21,9 +21,9 @@ override_dh_installdocs:
 	# Remove LaTeX sources from HTML documentation:
 	##rm debian/gnucap/usr/share/doc/gnucap/html/*.hi??
 	# Remove un-necessary docs installed by upstream:
-	rm debian/gnucap/usr/share/doc/gnucap/COPYING
-	rm debian/gnucap/usr/share/doc/gnucap/INSTALL
-	rm debian/gnucap/usr/share/doc/gnucap/history
+	#rm debian/gnucap/usr/share/doc/gnucap/COPYING
+	#rm debian/gnucap/usr/share/doc/gnucap/INSTALL
+	#rm debian/gnucap/usr/share/doc/gnucap/history
 
 override_dh_compress:
 	dh_compress -X.pdf -X.ckt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git



More information about the Pkg-electronics-commits mailing list