[med-svn] [libkmlframework-java] 06/09: Latest checkout of google code svn

Andreas Tille tille at debian.org
Tue Dec 1 13:05:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository libkmlframework-java.

commit 0dc324c7596638a1c5945a49fa02f31f17e27866
Author: Andreas Tille <tille at debian.org>
Date:   Tue Dec 1 13:36:41 2015 +0100

    Latest checkout of google code svn
---
 debian/changelog       |  4 +++-
 debian/get-orig-source | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index dabfc64..3224dce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
-libkmlframework-java (0.0.20090718-2) UNRELEASED; urgency=medium
+libkmlframework-java (0.0.20110822.r24-1) UNRELEASED; urgency=medium
 
+  * Latest checkout of google code svn (upstream did not created a
+    release tarball)
   * Moved to Git
   * cme fix dpkg-control
   * debhelper 9
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..b2730d9
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,39 @@
+#!/bin/sh -e
+# if you need to repack for whatever reason you can
+# use this script via uscan or directly
+#
+# FIXME: currently the code is not conform to Debian Policy
+#        http://www.debian.org/doc/debian-policy/ch-source.html
+#        "get-orig-source (optional)"
+#        This target may be invoked in any directory, ...
+# --> currently it is assumed the script is called in the
+#     source directory featuring the debian/ dir
+
+COMPRESS=xz
+
+NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+
+VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
+
+## NO tags no branches
+SVNURI="http://kmlframework.googlecode.com/svn/trunk"
+SVNSRCURI="$SVNURI/src"
+SVNDOCURI="$SVNURI/docs"
+revision=`LANG=C svn info ${SVNURI} | grep "^Last Changed Rev:" | sed 's/Last Changed Rev: *//'`
+VERSION=`echo ${VERSION}| sed "s/\.r[0-9]\+$//"`.r${revision}
+echo $VERSION
+
+TARDIR=${NAME}-${VERSION}
+
+mkdir -p ../tarballs
+cd ../tarballs
+# svn export conserves time stamps of the files, checkout does not
+rm -rf ${TARDIR}
+mkdir -p ${TARDIR}
+cd ${TARDIR}
+LC_ALL=C svn --quiet export ${SVNSRCURI}
+LC_ALL=C svn --quiet export ${SVNDOCURI}
+cd ..
+
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
+rm -rf ${TARDIR}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libkmlframework-java.git



More information about the debian-med-commit mailing list