[ngspice] 14/61: * New upstream release * Bump standards version to 3.9.0 * Rewrite get-orig-source * Switch to dpkg-source 3.0 (quilt) format

Andreas Tille tille at debian.org
Tue Dec 12 14:08:39 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 7dd8c0facdb450a0cf4cc6a36093f39307732217
Author: Gudjon I. Gudjonsson <gudjon at gudjon.org>
Date:   Sat Jul 10 14:45:50 2010 +0000

    * New upstream release
    * Bump standards version to 3.9.0
    * Rewrite get-orig-source
    * Switch to dpkg-source 3.0 (quilt) format
---
 debian/changelog     |  9 +++++++++
 debian/control       |  2 +-
 debian/rules         | 36 +++++++++++++++++++-----------------
 debian/source/format |  1 +
 4 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9032621..5f287f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ng-spice-rework (21-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Bump standards version to 3.9.0
+  * Rewrite get-orig-source
+  * Switch to dpkg-source 3.0 (quilt) format
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sat, 10 Jul 2010 16:45:17 +0200
+
 ng-spice-rework (20-1) unstable; urgency=low
 
   [ Gudjon I. Gudjonsson ]
diff --git a/debian/control b/debian/control
index 0087979..6d51a35 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 7), automake, libtool, libxaw7-dev, flex,
  bison, gfortran, libeditline-dev, libncurses5-dev, quilt,
  texinfo, texlive-latex-base,
  tcl8.4-dev, tcl8.4, tk8.4-dev, tk8.4, blt-dev
-Standards-Version: 3.8.3
+Standards-Version: 3.9.0
 Homepage: http://ngspice.sourceforge.net
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/ng-spice-rework/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/ng-spice-rework/trunk
diff --git a/debian/rules b/debian/rules
index 3f9b63c..cbea525 100755
--- a/debian/rules
+++ b/debian/rules
@@ -167,23 +167,25 @@ binary-arch: build install
 
 binary: binary-indep binary-arch
 
-DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | sed -e 's/Version: \(.*\)-\(.*\)\.*/\1/')
-DIRNAME=ng-spice-rework-${DEB_UPSTREAM_VERSION}
-TARNAME=ng-spice-rework_${DEB_UPSTREAM_VERSION}.orig.tar.gz
-ARCHIVE=ng-spice-rework-${DEB_UPSTREAM_VERSION}.tar.gz
+#DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | sed -e 's/Version: \(.*\)-\(.*\)\.*/\1/')
 get-orig-source:
-	uscan --download-version ${DEB_UPSTREAM_VERSION} --force-download .
-	(cd .. ;\
-	rm -rf ${DIRNAME} ;\
-	tar -zxf ${ARCHIVE} ;\
-	mv ngspice-${DEB_UPSTREAM_VERSION} ${DIRNAME} ;\
-	rm -rf ${DIRNAME}/xgraph ;\
-	find ${DIRNAME} -name CVS -type d -exec rm -rf {} \; ;\
-	find ${DIRNAME} -name .cvsignore -exec rm -f {} \; ;\
-	rm -f ${DIRNAME}/doc/*.ps ;\
-	rm -f ${DIRNAME}/doc/*.pdf ;\
-	rm -f ${DIRNAME}/config.sub ;\
-	rm -f ${DIRNAME}/config.guess ;\
-	tar -zcf ${TARNAME} ${DIRNAME})
+	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; \
+	mkdir $BASENAME-$$VER; \
+	tar xz --exclude=pdf -f ngspice-doc-$$VER.tar.gz; \
+	mv ngspice-doc-$$VER $BASENAME-$$VER/doc; \
+	tar czf ng-spice-rework_$$VER.orig-doc.tar.gz $BASENAME-$$VER; \
+	rm -f ngspice-doc-$$VER.tar.gz
+# 	find ${DIRNAME} -name .cvsignore -exec rm -f {} \; ;\
 
 .PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
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