[pkg-java] r4723 - in trunk/libhibernate-commons-annotations-java: . debian

twerner at alioth.debian.org twerner at alioth.debian.org
Sun Nov 11 20:49:11 UTC 2007


Author: twerner
Date: 2007-11-11 20:49:11 +0000 (Sun, 11 Nov 2007)
New Revision: 4723

Added:
   trunk/libhibernate-commons-annotations-java/debian/ant.properties
   trunk/libhibernate-commons-annotations-java/debian/build.xml
Removed:
   trunk/libhibernate-commons-annotations-java/svn-commit.tmp
Modified:
   trunk/libhibernate-commons-annotations-java/debian/
   trunk/libhibernate-commons-annotations-java/debian/orig-tar.sh
   trunk/libhibernate-commons-annotations-java/debian/rules
Log:
package builds now



Property changes on: trunk/libhibernate-commons-annotations-java/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/libhibernate-commons-annotations-java/debian/ant.properties
===================================================================
--- trunk/libhibernate-commons-annotations-java/debian/ant.properties	                        (rev 0)
+++ trunk/libhibernate-commons-annotations-java/debian/ant.properties	2007-11-11 20:49:11 UTC (rev 4723)
@@ -0,0 +1,5 @@
+project.name=hibernate-commons-annotations
+class.dir=class
+source.dir=src/java
+jar.name=hibernate-commons-annotations.jar
+

Added: trunk/libhibernate-commons-annotations-java/debian/build.xml
===================================================================
--- trunk/libhibernate-commons-annotations-java/debian/build.xml	                        (rev 0)
+++ trunk/libhibernate-commons-annotations-java/debian/build.xml	2007-11-11 20:49:11 UTC (rev 4723)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true"/>
+    <delete file="${jar.name}" quiet="true"/>
+  </target>
+
+  <target name="compile" description="o Compile the sources">
+    <mkdir dir="${class.dir}"/>
+    <javac srcdir="${source.dir}" destdir="${class.dir}"
+      debug="true" source="1.5"/>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}">
+      <fileset dir="${class.dir}">
+          <include name="**"/>
+      </fileset>
+    </jar>
+  </target>
+</project>

Modified: trunk/libhibernate-commons-annotations-java/debian/orig-tar.sh
===================================================================
--- trunk/libhibernate-commons-annotations-java/debian/orig-tar.sh	2007-11-11 20:48:54 UTC (rev 4722)
+++ trunk/libhibernate-commons-annotations-java/debian/orig-tar.sh	2007-11-11 20:49:11 UTC (rev 4723)
@@ -3,7 +3,7 @@
 # $1 = version
 TAR=../libhibernate-commons-annotations-java_$1.orig.tar.gz
 DIR=hibernate-commons-annotations-$1
-TAG=$(echo "v$1" | sed -e 's,\.,_,')
+TAG=$(echo "v$1" | sed -e 's,\.,_,g')
 
 # clean up the upstream tarball
 svn export http://anonsvn.jboss.org/repos/hibernate/commons-annotations/tags/$TAG $DIR

Modified: trunk/libhibernate-commons-annotations-java/debian/rules
===================================================================
--- trunk/libhibernate-commons-annotations-java/debian/rules	2007-11-11 20:48:54 UTC (rev 4722)
+++ trunk/libhibernate-commons-annotations-java/debian/rules	2007-11-11 20:49:11 UTC (rev 4723)
@@ -3,8 +3,13 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME := /usr/lib/jvm/java-gcj/
-DEB_JARS  := commons-logging
+JAVA_HOME         := /usr/lib/jvm/java-gcj/
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_JARS          := commons-logging
 
+install/libhibernate-commons-annotations-java::
+	install -m 644 -D hibernate-commons-annotations.jar $(DEB_DESTDIR)/usr/share/java/hibernate-commons-annotations-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/hibernate-commons-annotations-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/hibernate-commons-annotations.jar
+
 get-orig-source:
-	uscan --upstream-version 0 --rename
+	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)

Deleted: trunk/libhibernate-commons-annotations-java/svn-commit.tmp
===================================================================
--- trunk/libhibernate-commons-annotations-java/svn-commit.tmp	2007-11-11 20:48:54 UTC (rev 4722)
+++ trunk/libhibernate-commons-annotations-java/svn-commit.tmp	2007-11-11 20:49:11 UTC (rev 4723)
@@ -1,4 +0,0 @@
-new package
--- Diese und die folgenden Zeilen werden ignoriert --
-
-A    .




More information about the pkg-java-commits mailing list