[pkg-java] r4729 - in trunk: . libhibernate-validator-java libhibernate-validator-java/debian
twerner at alioth.debian.org
twerner at alioth.debian.org
Mon Nov 12 01:58:58 UTC 2007
Author: twerner
Date: 2007-11-12 01:58:58 +0000 (Mon, 12 Nov 2007)
New Revision: 4729
Added:
trunk/libhibernate-validator-java/
trunk/libhibernate-validator-java/debian/
trunk/libhibernate-validator-java/debian/README.Debian-source
trunk/libhibernate-validator-java/debian/ant.properties
trunk/libhibernate-validator-java/debian/build.xml
trunk/libhibernate-validator-java/debian/changelog
trunk/libhibernate-validator-java/debian/compat
trunk/libhibernate-validator-java/debian/control
trunk/libhibernate-validator-java/debian/copyright
trunk/libhibernate-validator-java/debian/orig-tar.exclude
trunk/libhibernate-validator-java/debian/orig-tar.sh
trunk/libhibernate-validator-java/debian/rules
trunk/libhibernate-validator-java/debian/watch
Log:
now package libhibernate-validator-java
Added: trunk/libhibernate-validator-java/debian/README.Debian-source
===================================================================
--- trunk/libhibernate-validator-java/debian/README.Debian-source (rev 0)
+++ trunk/libhibernate-validator-java/debian/README.Debian-source 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,10 @@
+The upstream supplied source package contains binary jar files and
+pre-built documentation. Currently no clean source distribution
+exists. Therefore, the upstream sources were modified to comply with
+the Debian Free Software Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the
+debian/orig-tar.sh file.
+
+ -- Torsten Werner <twerner at debian.org> Sun, 11 Nov 2007 21:12:33 +0100
Added: trunk/libhibernate-validator-java/debian/ant.properties
===================================================================
--- trunk/libhibernate-validator-java/debian/ant.properties (rev 0)
+++ trunk/libhibernate-validator-java/debian/ant.properties 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,5 @@
+project.name=hibernate-validator
+class.dir=class
+source.dir=src
+jar.name=hibernate-validator.jar
+
Added: trunk/libhibernate-validator-java/debian/build.xml
===================================================================
--- trunk/libhibernate-validator-java/debian/build.xml (rev 0)
+++ trunk/libhibernate-validator-java/debian/build.xml 2007-11-12 01:58:58 UTC (rev 4729)
@@ -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>
Added: trunk/libhibernate-validator-java/debian/changelog
===================================================================
--- trunk/libhibernate-validator-java/debian/changelog (rev 0)
+++ trunk/libhibernate-validator-java/debian/changelog 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,5 @@
+libhibernate-validator-java (3.0.0.GA-1) unstable; urgency=low
+
+ * Initial Release (closes: #).
+
+ -- Torsten Werner <twerner at debian.org> Sun, 11 Nov 2007 21:12:33 +0100
Added: trunk/libhibernate-validator-java/debian/compat
===================================================================
--- trunk/libhibernate-validator-java/debian/compat (rev 0)
+++ trunk/libhibernate-validator-java/debian/compat 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1 @@
+5
Added: trunk/libhibernate-validator-java/debian/control
===================================================================
--- trunk/libhibernate-validator-java/debian/control (rev 0)
+++ trunk/libhibernate-validator-java/debian/control 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,30 @@
+Source: libhibernate-validator-java
+Section: contrib/libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>,
+ Varun Hiremath <varunhiremath at gmail.com>
+Build-Depends: debhelper (>= 5), cdbs
+Build-Depends-Indep: ant, libcommons-logging-java,
+ libhibernate-commons-annotations-java, libhibernate3-java,
+ glassfish-toplink-essentials
+Standards-Version: 3.7.2
+Homepage: http://validator.hibernate.org
+Vcs-Svn: svn+ssh://svn.debian.org/svn/pkg-java/trunk/libhibernate-validator-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libhibernate-validator-java
+
+Package: libhibernate-validator-java
+Architecture: all
+Depends: java-gcj-compat | java2-runtime
+Description: FIXME Relational Persistence for Idiomatic Java
+ Hibernate is a powerful, high performance object/relational persistence
+ and query service. Hibernate lets you develop persistent classes
+ following object-oriented idiom - including association, inheritance,
+ polymorphism, composition, and collections. Hibernate allows you to
+ express queries in its own portable SQL extension (HQL), as well as in
+ native SQL, or with an object-oriented Criteria and Example API.
+ .
+ Unlike many other persistence solutions, Hibernate does not hide the
+ power of SQL from you and guarantees that your investment in relational
+ technology and knowledge is as valid as always.
+
Added: trunk/libhibernate-validator-java/debian/copyright
===================================================================
--- trunk/libhibernate-validator-java/debian/copyright (rev 0)
+++ trunk/libhibernate-validator-java/debian/copyright 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,7 @@
+This package was debianized by Torsten Werner <twerner at debian.org> on
+2007-11-11. The source code was downloaded from
+FIXME
+
+The Debian packaging is (C) 2007, Torsten Werner <twerner at debian.org>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
Added: trunk/libhibernate-validator-java/debian/orig-tar.exclude
===================================================================
--- trunk/libhibernate-validator-java/debian/orig-tar.exclude (rev 0)
+++ trunk/libhibernate-validator-java/debian/orig-tar.exclude 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,3 @@
+*/doc/api/*
+*.jar
+*.pdf
Added: trunk/libhibernate-validator-java/debian/orig-tar.sh
===================================================================
--- trunk/libhibernate-validator-java/debian/orig-tar.sh (rev 0)
+++ trunk/libhibernate-validator-java/debian/orig-tar.sh 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+VERSION=$(dpkg-parsechangelog | sed -ne 's,^Version: \(.*\)-.*,\1,p')
+SOURCE=$(dpkg-parsechangelog | sed -ne 's,Source: \(.*\),\1,p')
+TAR=../${SOURCE}_${VERSION}.orig.tar.gz
+
+# clean up the upstream tarball
+unzip $3
+tar -c -z -f $TAR -X debian/orig-tar.exclude hibernate-validator-*/
+rm -rf $3 hibernate-validator-*/
+
+# 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/libhibernate-validator-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+
Added: trunk/libhibernate-validator-java/debian/rules
===================================================================
--- trunk/libhibernate-validator-java/debian/rules (rev 0)
+++ trunk/libhibernate-validator-java/debian/rules 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/java-gcj/
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_JARS := commons-logging hibernate-commons-annotations hibernate3 \
+ glassfish-toplink-essentials
+
+install/libhibernate-validator-java::
+ install -m 644 -D hibernate-validator.jar $(DEB_DESTDIR)/usr/share/java/hibernate-validator-$(DEB_UPSTREAM_VERSION).jar
+ dh_link /usr/share/java/hibernate-validator-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/hibernate-validator.jar
+
+get-orig-source:
+ -uscan --upstream-version 0 --rename
Property changes on: trunk/libhibernate-validator-java/debian/rules
___________________________________________________________________
Name: svn:executable
+
Added: trunk/libhibernate-validator-java/debian/watch
===================================================================
--- trunk/libhibernate-validator-java/debian/watch (rev 0)
+++ trunk/libhibernate-validator-java/debian/watch 2007-11-12 01:58:58 UTC (rev 4729)
@@ -0,0 +1,6 @@
+# watch control file for uscan
+version=3
+
+http://heanet.dl.sourceforge.net/sourceforge/hibernate/ \
+ hibernate-validator-(.*).zip debian debian/orig-tar.sh
+
More information about the pkg-java-commits
mailing list