This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository libitext-java.
commit acd344536d98b56c7fa77036f304749bca5c31f5 Author: Emmanuel Bourg <[email protected]> Date: Fri Mar 29 22:49:16 2013 +0000 * debian/watch: Changed to match only the 2.x releases --- debian/changelog | 4 +++- debian/orig-tar.sh | 24 ++++++++++++++++++++++++ debian/rules | 3 +++ debian/watch | 3 ++- 4 files changed, 32 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f195c66..71adabc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,10 @@ libitext-java (2.1.7-5) experimental; urgency=low * Team upload. * Update to Standards-Version to 3.9.4 (no change required) * Added a patch to compile against Bouncy Castle 1.47 or later. + * debian/watch: Changed to match only the 2.x releases + * debian/rules: Added a get-orig-source target - -- Emmanuel Bourg <[email protected]> Fri, 29 Mar 2013 16:14:26 +0100 + -- Emmanuel Bourg <[email protected]> Fri, 29 Mar 2013 22:47:29 +0100 libitext-java (2.1.7-4) unstable; urgency=low diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100755 index 0000000..42f4d34 --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +VERSION=$(dpkg-parsechangelog | sed -ne 's,^Version: \(.*\)-.*,\1,p') +SOURCE=$(dpkg-parsechangelog | sed -ne 's,Source: \(.*\),\1,p') + +SVNROOT=http://svn.code.sf.net/p/itext/code/tags/iText_$(echo $VERSION | sed -e s/\\./_/g)/src + +echo $SVNROOT + +DIR=$SOURCE +TAR=../${SOURCE}_${VERSION}.orig.tar.gz + +svn export $SVNROOT $DIR +find $DIR -name \*.java -o -name \*.ps -o -name \*.txt -o -name \*.gif -o -name \*.png -o -name \*.afm -o -name \*.html -o -name \*.xml -o -name \.ant*.properties | xargs tar -zcf $TAR +rm -rf $DIR + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi diff --git a/debian/rules b/debian/rules index 1a0b344..c412e7f 100755 --- a/debian/rules +++ b/debian/rules @@ -60,3 +60,6 @@ clean:: dh_testdir dh_testroot -rm -rf build src lib debian/stamp-* + +get-orig-source: + uscan --force-download --download-version $(DEB_UPSTREAM_VERSION) --rename diff --git a/debian/watch b/debian/watch index 26a066d..87b2bd5 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,3 @@ version=3 -http://sf.net/itext/iText-src-([0-9\.]*)\.tar\.gz +opts=uversionmangle=s/_/./g \ + http://svn.code.sf.net/p/itext/code/tags iText_(2)_([\d_]+)/ debian debian/orig-tar.sh -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libitext-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

