r36731 - in /packages/ng-spice-rework/trunk/debian: changelog control rules source/ source/format

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Sat Jul 10 14:45:51 UTC 2010


Author: gudjon-guest
Date: Sat Jul 10 14:45:50 2010
New Revision: 36731

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36731
Log:
* New upstream release
* Bump standards version to 3.9.0
* Rewrite get-orig-source
* Switch to dpkg-source 3.0 (quilt) format

Added:
    packages/ng-spice-rework/trunk/debian/source/
    packages/ng-spice-rework/trunk/debian/source/format
Modified:
    packages/ng-spice-rework/trunk/debian/changelog
    packages/ng-spice-rework/trunk/debian/control
    packages/ng-spice-rework/trunk/debian/rules

Modified: packages/ng-spice-rework/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/changelog?rev=36731&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/changelog (original)
+++ packages/ng-spice-rework/trunk/debian/changelog Sat Jul 10 14:45:50 2010
@@ -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 ]

Modified: packages/ng-spice-rework/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/control?rev=36731&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/control (original)
+++ packages/ng-spice-rework/trunk/debian/control Sat Jul 10 14:45:50 2010
@@ -8,7 +8,7 @@
  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

Modified: packages/ng-spice-rework/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/rules?rev=36731&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/rules (original)
+++ packages/ng-spice-rework/trunk/debian/rules Sat Jul 10 14:45:50 2010
@@ -167,23 +167,25 @@
 
 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 

Added: packages/ng-spice-rework/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/source/format?rev=36731&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/source/format (added)
+++ packages/ng-spice-rework/trunk/debian/source/format Sat Jul 10 14:45:50 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)




More information about the debian-science-commits mailing list