[pkg-java] r12328 - trunk/stringtemplate/debian
Torsten Werner
twerner at alioth.debian.org
Thu May 6 20:56:20 UTC 2010
Author: twerner
Date: 2010-05-06 20:56:20 +0000 (Thu, 06 May 2010)
New Revision: 12328
Added:
trunk/stringtemplate/debian/orig-tar.sh
Modified:
trunk/stringtemplate/debian/changelog
trunk/stringtemplate/debian/watch
Log:
Add debian/orig-tar.sh to clean up the orig tarball from *.class and *.jar
files.
Modified: trunk/stringtemplate/debian/changelog
===================================================================
--- trunk/stringtemplate/debian/changelog 2010-05-06 20:42:34 UTC (rev 12327)
+++ trunk/stringtemplate/debian/changelog 2010-05-06 20:56:20 UTC (rev 12328)
@@ -1,6 +1,6 @@
stringtemplate (3.2.1-1) unstable; urgency=low
- [Ludovic Claude]
+ [ Ludovic Claude ]
* New upstream version
* Add the Maven POM to the package
* Add a patch to force the version of stringtemplate in the
@@ -11,11 +11,15 @@
* Use mh_installpom and mh_installjar to install the POM and the jar to the
Maven repository
- [Thierry Carrez]
+ [ Thierry Carrez ]
* debian/control: Also depend on a JRE to follow policy
- -- Ludovic Claude <ludovic.claude at laposte.net> Sun, 10 Jan 2010 16:31:59 +0100
+ [ Torsten Werner ]
+ * Add debian/orig-tar.sh to clean up the orig tarball from *.class and *.jar
+ files.
+ -- Torsten Werner <twerner at debian.org> Thu, 06 May 2010 22:51:04 +0200
+
stringtemplate (3.1-4) unstable; urgency=low
* (Build-)Depends on libantlr-java instead of antlr (Closes: #547179).
Added: trunk/stringtemplate/debian/orig-tar.sh
===================================================================
--- trunk/stringtemplate/debian/orig-tar.sh (rev 0)
+++ trunk/stringtemplate/debian/orig-tar.sh 2010-05-06 20:56:20 UTC (rev 12328)
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../stringtemplate_$VERSION.orig.tar.gz
+DIR=stringtemplate-$VERSION
+
+tar -x -z -f $TAR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
+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
Property changes on: trunk/stringtemplate/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/stringtemplate/debian/watch
===================================================================
--- trunk/stringtemplate/debian/watch 2010-05-06 20:42:34 UTC (rev 12327)
+++ trunk/stringtemplate/debian/watch 2010-05-06 20:56:20 UTC (rev 12328)
@@ -1,2 +1,4 @@
version=3
-http://www.stringtemplate.org/download.html http://www.stringtemplate.org/download/stringtemplate-(.*).tar.gz
+http://www.stringtemplate.org/download.html \
+ http://www.stringtemplate.org/download/stringtemplate-(.*).tar.gz \
+ debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list