[DebianGIS-dev] [SCM] saga branch, master, updated. 21c099fa1bcf2170639508901b4218e75ebab9d0

Johan Van de Wauw johan.vandewauw at gmail.com
Thu Mar 18 12:34:50 UTC 2010


The following commit has been merged in the master branch:
commit 21c099fa1bcf2170639508901b4218e75ebab9d0
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Thu Mar 18 13:30:43 2010 +0100

    Add a get-orig-source build target (DFSG)
    
    Also updated changelog to reflect this change

diff --git a/debian/changelog b/debian/changelog
index 0f78b62..8b5f4ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-saga (2.0.4-1) unstable; urgency=low
+saga (2.0.4+dfsg1) unstable; urgency=low
 
   * Initial release (closes: #570014).
 
diff --git a/debian/rules b/debian/rules
index 5301c57..fb9ae56 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,8 @@ DEB_CONFIGURE_EXTRA_FLAGS = --enable-unicode
 DEB_INSTALL_MANPAGES_saga = saga_cmd.1
 VERSION := $(shell grep '^AC_INIT' configure.in | \
 	sed 's/AC_INIT(saga, \([0-9|\.]*\)\,.*)/\1/g')
+UPSTREAM_URL ?=$(shell uscan --dehs | sed -n 's/.*<upstream-url>\(.*\)<\/upstream-url>.*/\1/p')
+UPSTREAM_VERSION ?=$(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
 # remove libtool helpers
 install/saga::
 	find debian/tmp/usr/lib ! -type d -a -name "*.la" -delete
@@ -21,3 +23,10 @@ cleanbuilddir/saga::
 debian/% :: debian/%.in
 	sed -e 's/@VERSION@/$(VERSION)/' $< >$@
 
+get-orig-source:
+	wget $(UPSTREAM_URL)
+	gunzip *.tar.gz
+	tar --delete -f *.tar saga-2.0/src/modules/grid/grid_gridding/nn
+	tar --delete -f *.tar saga-2.0/src/modules_simulation/fire
+	gzip *.tar
+	mv saga_$(UPSTREAM_VERSION)_src_linux.tar.gz ../saga_$(UPSTREAM_VERSION)+dfsg.orig.tar.gz 

-- 
Saga GIS



More information about the Pkg-grass-devel mailing list