[med-svn] [giira] 03/04: Inject new upstream source
Andreas Tille
tille at debian.org
Mon Feb 10 12:50:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository giira.
commit c9154d367ee6a6138d200dce358d0992268b427b
Author: Andreas Tille <tille at debian.org>
Date: Mon Feb 10 13:45:45 2014 +0100
Inject new upstream source
---
debian/changelog | 2 +-
debian/get-orig-source | 19 ++++++++++++-------
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7368607..217bf28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-giira (0.0.20131015-1) UNRELEASED; urgency=low
+giira (0.0.20140210-1) UNRELEASED; urgency=low
* Initial release (Closes: #<bug>)
TODO: Wiki page http://sourceforge.net/p/giira/wiki/Home/ says that
diff --git a/debian/get-orig-source b/debian/get-orig-source
index 13cc183..7c904b6 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -10,21 +10,26 @@ VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]
mkdir -p ../tarballs
cd ../tarballs
TARDIR=${NAME}-${VERSION}
-EXAMPLEDIR=${NAME}-example-${VERSION}
rm -rf $TARDIR $EXAMPLEDIR
-wget http://sourceforge.net/projects/${NAME}/files/GIIRA.zip
-unzip GIIRA.zip
+wget -q http://sourceforge.net/projects/${NAME}/files/GIIRA.zip
+unzip -q GIIRA.zip
mv GIIRA $TARDIR
-mkdir -p $EXAMPLEDIR
-#mv $TARDIR/example $EXAMPLEDIR
cd $TARDIR
rm -f *.jar
-# fetch source from SVN
-svn export svn://svn.code.sf.net/p/${NAME}/code/trunk/src
+# fetch source from JAR from SVN
+svn --quiet export svn://svn.code.sf.net/p/${NAME}/code/trunk/src
cd ..
GZIP="--best --no-name" XZ_OPT="-6v" tar --owner=root --group=root --mode=a+rX -a -cf ${NAME}_${VERSION}.orig.tar.${COMPRESSION} ${TARDIR}
rm -rf ${TARDIR}
+
+exit
+
+# if you also want to work with the provided example
+EXAMPLEDIR=${NAME}-example-${VERSION}
+wget -q http://sourceforge.net/projects/giira/files/Example/example.zip
+unzip example.zip
+mv example $EXAMPLEDIR
GZIP="--best --no-name" XZ_OPT="-6v" tar --owner=root --group=root --mode=a+rX -a -cf ${NAME}-example_${VERSION}.orig.tar.${COMPRESSION} ${EXAMPLEDIR}
rm -rf ${EXAMPLEDIR}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/giira.git
More information about the debian-med-commit
mailing list