Codebase list libkmlframework-java / 167dd7a
Use git mode in watch file Andreas Tille 4 years ago
4 changed file(s) with 8 addition(s) and 53 deletion(s). Raw diff Collapse all Expand all
0 libkmlframework-java (0.0+git20150825.a2e0518-1) UNRELEASED; urgency=medium
1
2 * Use git mode in watch file
3
4 -- Andreas Tille <tille@debian.org> Tue, 08 Jan 2019 15:55:09 +0100
5
06 libkmlframework-java (0.0.20110822.r24-2) unstable; urgency=medium
17
28 * Upstream moved from googlecode to github - no code changes
+0
-47
debian/get-orig-source less more
0 #!/bin/sh -e
1 # if you need to repack for whatever reason you can
2 # use this script via uscan or directly
3 #
4 # FIXME: currently the code is not conform to Debian Policy
5 # http://www.debian.org/doc/debian-policy/ch-source.html
6 # "get-orig-source (optional)"
7 # This target may be invoked in any directory, ...
8 # --> currently it is assumed the script is called in the
9 # source directory featuring the debian/ dir
10
11 cat <<EOT
12 This used to work on googlecode but project was moved to
13 https://github.com/deinlandel/kmlframework
14 and thus this script needs to be redesigned. Since the
15 project is deprecated anyway this was not done for the moment
16 EOT
17 exit 1
18
19 COMPRESS=xz
20
21 NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
22
23 VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
24
25 ## NO tags no branches
26 SVNURI="http://kmlframework.googlecode.com/svn/trunk"
27 SVNSRCURI="$SVNURI/src"
28 SVNDOCURI="$SVNURI/docs"
29 revision=`LANG=C svn info ${SVNURI} | grep "^Last Changed Rev:" | sed 's/Last Changed Rev: *//'`
30 VERSION=`echo ${VERSION}| sed "s/\.r[0-9]\+$//"`.r${revision}
31 echo $VERSION
32
33 TARDIR=${NAME}-${VERSION}
34
35 mkdir -p ../tarballs
36 cd ../tarballs
37 # svn export conserves time stamps of the files, checkout does not
38 rm -rf ${TARDIR}
39 mkdir -p ${TARDIR}
40 cd ${TARDIR}
41 LC_ALL=C svn --quiet export ${SVNSRCURI}
42 LC_ALL=C svn --quiet export ${SVNDOCURI}
43 cd ..
44
45 GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
46 rm -rf ${TARDIR}
1616 ant -f src/build.xml clean
1717 rm -rf lib
1818 dh_clean
19
20 get-orig-source:
21 uscan --verbose --force-download --repack --rename
00 version=4
11
2 # no release tags (neither formerly at googlecode nor now at github)
3 opts=dversionmangle=s/.*/0.No-Release/ \
4 https://people.debian.org/~eriberto/ FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz
2 opts="mode=git,pretty=0.0+git%cd.%h" \
3 https://github.com/deinlandel/kmlframework.git HEAD