...
 
Commits (7)
gnucap (1:0.36~20171003-1) unstable; urgency=medium
* libgnucap0 + libgnucap-dev (Close #224467)
* libgnucap0 + libgnucap-dev (Closes: #224467)
* gnucap-default-plugins0 package
+ binary plugins
+ soname dependent pkglibdir
* gnucap-dev package (Close #693267)
* gnucap-common package (Closes: #693267)
* d/*.1 for all three executables
* get-orig-source, snapshotting upstream git
* set sysconfdir to /etc
......@@ -12,11 +12,14 @@ gnucap (1:0.36~20171003-1) unstable; urgency=medium
* move package to salsa (from alioth/pkg-electronics)
* debian/control: Bump Standards-Version to 4.1.3
* bump compat to 11
* remove Wesley from Uploaders (Close #759987)
* remove Wesley from Uploaders (Closes: #759987)
thanks for your work on this package!
* remove Hamish from Uploaders (Closes: #831480)
thanks for your work on this package!
* lintian override http in watch file
[ Helmut Grohne ]
* Fix FTCBFS: Add gnucap:native to Build-Depends. (Closes: #-1)
* Fix FTCBFS: Add gnucap:native to Build-Depends. (Closes: #878364)
-- Felix Salfelder <felix@salfelder.org> Sun, 04 Mar 2018 04:14:08 +0000
......
......@@ -2,8 +2,7 @@ Source: gnucap
Section: electronics
Priority: optional
Maintainer: Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>
Uploaders: Hamish Moffatt <hamish@debian.org>,
أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>,
Uploaders: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>,
Felix Salfelder <felix@salfelder.org>
Standards-Version: 4.1.3
Build-Depends: debhelper (>= 11),
......@@ -19,55 +18,63 @@ Architecture: any
Multi-Arch: same
Section: libs
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: GNU Circuit Analysis package, shared library
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
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends: c++-compiler, gnucap-dev
Depends: ${misc:Depends}
Recommends: gnucap-common
Description: GNU Circuit Analysis package, main executable
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 a main executable and gnucap-modelgen.
Package: gnucap-dev
Architecture: any
Package: gnucap-common
Architecture: all
Depends: ${misc:Depends}
Recommends: gnucap
Suggests: gnucap
Recommends: c++-compiler
Description: GNU Circuit Analysis package, development headers
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 headers required to build plugins.
Package: libgnucap-dev
Architecture: any
Section: libdevel
Depends: libgnucap0 (= ${binary:Version}), ${misc:Depends}
Depends: gnucap-common (= ${source:Version}),
libgnucap0 (= ${binary:Version}),
${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 symlink to the shared library.
Package: gnucap-default-plugins0
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: GNU Circuit Analysis package, default plugins
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.
# Package: gnucap-src
......
etc/*
usr/bin/*
usr/bin/gnucap*
usr/lib/*/*/gnucap.conf
......@@ -23,7 +23,7 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
LN_S = ln -sf
pkglibdir=/usr/lib/$(DEB_HOST_MULTIARCH)/gnucap${SOVERSION}
pkglibdir = /usr/lib/$(DEB_HOST_MULTIARCH)/gnucap${SOVERSION}
%:
dh $@
......@@ -33,7 +33,7 @@ override_dh_auto_configure:
sed -e '/GNUCAP_PLUGPATH/s#/lib/gnucap#'/lib/${DEB_HOST_MULTIARCH}/gnucap0'#' -i main/config.h
sed -e '/^pkglibdir/s#=.*#='${pkglibdir}'#' -i main/gnucap.conf
sed -e '/^sysconfdir/s#=.*#=/etc#' -i main/gnucap-conf
sed -e '/^sysconfdir/s#=.*#=${pkglibdir}/#' -i main/gnucap-conf
sed -e '/^sysconfdir/s#=.*#=/etc#' -i main/gnucap.conf
sed -e 's#-ltermcap##' -i lib/Make2
......@@ -84,7 +84,7 @@ override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) install -C apps \
INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/gnucap${SOVERSION} install \
INSTALL_DIR=${pkglibdir} install \
DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) install -C include \
......@@ -94,7 +94,10 @@ override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/tmp
mkdir -p $(CURDIR)/debian/tmp/etc
mv $(CURDIR)/debian/tmp/usr/etc/gnucap.conf $(CURDIR)/debian/tmp/etc/gnucap.conf
mv $(CURDIR)/debian/tmp/usr/etc/gnucap.conf \
$(CURDIR)/debian/tmp/${pkglibdir}/gnucap.conf
# mv $(CURDIR)/debian/tmp/usr/bin/gnucap-conf $(CURDIR)/debian/tmp/${pkglibdir}/
override_dh_auto_clean:
dh_auto_clean
......