[ngspice] 19/61: * New upstream release * Source package renamed to ngspice * Add patches 01_fix_manpages 02_fix_spelling * Change/fix get-orig-source target
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 f3472a5e48e2b6bd69c4300dd26f5c87fd2e2a34
Author: Gudjon I. Gudjonsson <gudjon at gudjon.org>
Date: Thu Mar 17 07:05:42 2011 +0000
* New upstream release
* Source package renamed to ngspice
* Add patches 01_fix_manpages 02_fix_spelling
* Change/fix get-orig-source target
---
debian/changelog | 9 +++++++++
debian/control | 2 +-
debian/rules | 50 ++++++++++++++++++++++++++------------------------
3 files changed, 36 insertions(+), 25 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0d2c9cf..c4205e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ngspice (22-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * Source package renamed to ngspice
+ * Add patches 01_fix_manpages 02_fix_spelling
+ * Change/fix get-orig-source target
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org> Thu, 17 Mar 2011 08:04:31 +0100
+
ng-spice-rework (21-2) UNRELEASED; urgency=low
* Bump standards version to 3.9.1
diff --git a/debian/control b/debian/control
index a8f0e2d..8c90516 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: ng-spice-rework
+Source: ngspice
Section: non-free/electronics
Priority: extra
Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
diff --git a/debian/rules b/debian/rules
index ab987be..d3be1d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,8 +24,9 @@ config.status-stamp:
cp -Rl `ls . |grep -v build|grep -v debian` build/ngspice
cp -f /usr/share/misc/config.sub build/ngspice/config.sub
cp -f /usr/share/misc/config.guess build/ngspice/config.guess
- cp -f /usr/share/misc/config.sub build/ngspice/doc/config.sub
- cp -f /usr/share/misc/config.guess build/ngspice/doc/config.guess
+ #cp -f /usr/share/misc/config.sub build/ngspice/doc/config.sub
+ #cp -f /usr/share/misc/config.guess build/ngspice/doc/config.guess
+ cp -a manual build/
# Make build dir for tclspice
mkdir -p build/tclspice
cp -Rl `ls . |grep -v build|grep -v debian` build/tclspice
@@ -36,7 +37,6 @@ config.status-stamp:
./configure $(CROSS) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
--enable-maintainer-mode \
--enable-capzerobypass \
--enable-intnoise \
@@ -54,7 +54,6 @@ config.status-stamp:
./configure $(CROSS) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
--libdir=/usr/lib/tcltk \
--enable-shared=yes \
--enable-maintainer-mode \
@@ -79,8 +78,8 @@ build-stamp: config.status
cd build/ngspice && $(MAKE)
cd build/tclspice && $(MAKE)
# Build documentation
- cd build/ngspice/doc && lyx --export ps manual.lyx
- cd build/ngspice/doc && lyx --export html manual.lyx
+ cd build/manual && lyx --export ps manual.lyx
+ cd build/manual && lyx --export html manual.lyx
touch $@
@@ -91,6 +90,9 @@ clean:
rm -f config.status-stamp
rm -rf build
rm -f src/frontend/parse-bison.c
+ rm -f src/frontend/parse-bison.h
+ rm -f config.guess
+ rm -f config.sub
dh_clean
install: build
@@ -121,12 +123,12 @@ endif
## $(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/ngspice/doc/manual.html.LyXconv/* \
+ cp -a build/manual/manual.html.LyXconv/* \
$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/html
- install -o root -g root -m 644 build/ngspice/doc/manual.ps \
+ install -o root -g root -m 644 build/manual/manual.ps \
$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/ngspice.ps
- # Removing /usr/share/info/dir file
- rm -f $(CURDIR)/debian/tmp/usr/share/info/dir
+ # Removing /usr/share/info directory
+ rm -rf $(CURDIR)/debian/tmp/usr/share/info
# Build architecture-independent files here.
binary-indep: build install
@@ -134,7 +136,7 @@ binary-indep: build install
dh_testroot -i
dh_installdocs -i
dh_install -i --sourcedir=debian/tmp
- dh_installinfo -i
+ #dh_installinfo -i
dh_installman -i
dh_installexamples -i -pngspice-doc examples/* -Xtclspice
dh_installchangelogs -i
@@ -171,21 +173,21 @@ binary: binary-indep binary-arch
#DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | sed -e 's/Version: \(.*\)-\(.*\)\.*/\1/')
get-orig-source:
VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+~]+).*,\1,p'); \
- BASENAME=ng-spice-rework; \
set -e;\
- wget -q http://sourceforge.net/projects/ngspice/files/$$BASENAME/$$VER/$$BASENAME-$$VER.tar.gz/download; \
- tar xz --exclude=CVS --exclude=xgraph -f $$BASENAME-$$VER.tar.gz; \
- mv -f ngspice-$$VER $$BASENAME-$$VER; \
- rm -f $$BASENAME-$$VER/config.sub ;\
- rm -f $$BASENAME-$$VER/config.guess ;\
- tar czf ng-spice-rework_$$VER.orig.tar.gz $$BASENAME-$$VER; \
- rm -f $$BASENAME-$$VER.tar.gz; \
- rm -rf $$BASENAME-$$VER; \
- wget -q http://sourceforge.net/projects/ngspice/files/$$BASENAME/$$VER/ngspice-doc-$$VER.tar.gz/download; \
- tar xz --exclude=pdf -f ngspice-doc-$$VER.tar.gz; \
- tar czf ng-spice-rework_$$VER.orig-doc.tar.gz ngspice-doc-$$VER; \
+ wget -q http://sourceforge.net/projects/ngspice/files/ng-spice-rework/$$VER/ngspice-$$VER.tar.gz; \
+ tar xzf ngspice-$$VER.tar.gz --exclude=CVS; \
+ rm -f ngspice-$$VER/config.sub ;\
+ rm -f ngspice-$$VER/config.guess ;\
+ tar czf ngspice_$$VER.orig.tar.gz ngspice-$$VER; \
+ rm -f ngspice-$$VER.tar.gz; \
+ rm -rf ngspice-$$VER; \
+ wget -q http://sourceforge.net/projects/ngspice/files/ng-spice-rework/$$VER/ngspice-doc-$$VER.tar.gz; \
+ tar xzf ngspice-doc-$$VER.tar.gz --exclude=\*.pdf; \
+ mkdir ngspice-$$VER; \
+ mv ngspice-doc-$$VER ngspice-$$VER/manual; \
+ tar czf ngspice_$$VER.orig-manual.tar.gz ngspice-$$VER/manual; \
rm -f ngspice-doc-$$VER.tar.gz; \
- rm -rf ngspice-doc-$$VER
+ rm -rf ngspice-$$VER
# find ${DIRNAME} -name .cvsignore -exec rm -f {} \; ;\
.PHONY: build clean binary-indep binary-arch binary install
--
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