[pkg-java] r4994 - in trunk/groovy: . debian
varun-guest at alioth.debian.org
varun-guest at alioth.debian.org
Wed Dec 12 10:05:45 UTC 2007
Author: varun-guest
Date: 2007-12-12 10:05:45 +0000 (Wed, 12 Dec 2007)
New Revision: 4994
Added:
trunk/groovy/debian/orig-tar.sh
trunk/groovy/debian/watch
Modified:
trunk/groovy/build.xml
trunk/groovy/debian/changelog
trunk/groovy/debian/rules
Log:
* Some cleanups
* Add watch file and orig-tar.sh script.
* Needs com.thoughtworks.xstream.XStream to build.
Modified: trunk/groovy/build.xml
===================================================================
--- trunk/groovy/build.xml 2007-12-12 08:46:40 UTC (rev 4993)
+++ trunk/groovy/build.xml 2007-12-12 10:05:45 UTC (rev 4994)
@@ -57,7 +57,8 @@
<mkdir dir="${classesdir}">
</mkdir>
<!-- Compiles the Java classes -->
- <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="true" excludes="**/package.html">
+ <javac destdir="${classesdir}" deprecation="true" debug="true"
+ source="1.5" excludes="**/package.html">
<src>
<pathelement location="src/main"/>
</src>
Modified: trunk/groovy/debian/changelog
===================================================================
--- trunk/groovy/debian/changelog 2007-12-12 08:46:40 UTC (rev 4993)
+++ trunk/groovy/debian/changelog 2007-12-12 10:05:45 UTC (rev 4994)
@@ -1,4 +1,4 @@
-groovy (1.0-1) unstable; urgency=low
+groovy (1.5.0-1) unstable; urgency=low
* new upstream version
Added: trunk/groovy/debian/orig-tar.sh
===================================================================
--- trunk/groovy/debian/orig-tar.sh (rev 0)
+++ trunk/groovy/debian/orig-tar.sh 2007-12-12 10:05:45 UTC (rev 4994)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../groovy_$2.orig.tar.gz
+DIR=groovy-$2.orig
+
+# clean up the upstream tarball
+unzip $3
+mv groovy-$2 $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' $DIR
+rm -rf $3 $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/groovy/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/groovy/debian/rules
===================================================================
--- trunk/groovy/debian/rules 2007-12-12 08:46:40 UTC (rev 4993)
+++ trunk/groovy/debian/rules 2007-12-12 10:05:45 UTC (rev 4994)
@@ -5,11 +5,7 @@
JAVA_HOME := /usr/lib/jvm/java-gcj
DEB_JARS := mockobjects-core servlet-api jsp-api commons-cli junit4 antlr \
- xstream bsf xercesImpl radeox
+ xstream bsf xercesImpl radeox jline junit
-install/libpicocontainer-java::
- install -m644 -D picocontainer.jar $(DEB_DESTDIR)/usr/share/java/picocontainer-$(DEB_UPSTREAM_VERSION).jar
- dh_link -plibpicocontainer-java /usr/share/java/picocontainer-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/picocontainer.jar
-
get-orig-source:
- -uscan --upstream-version 0 --rename
+ -uscan --upstream-version 0 --rename
Added: trunk/groovy/debian/watch
===================================================================
--- trunk/groovy/debian/watch (rev 0)
+++ trunk/groovy/debian/watch 2007-12-12 10:05:45 UTC (rev 4994)
@@ -0,0 +1,2 @@
+version=3
+http://dist.groovy.codehaus.org/distributions/ groovy-src-(.*).zip debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list