[pkg-java] r3911 - in trunk/libgettext-commons-java: . debian debian/patches
nd-guest at alioth.debian.org
nd-guest at alioth.debian.org
Tue Jul 24 20:18:53 UTC 2007
Author: nd-guest
Date: 2007-07-24 20:18:53 +0000 (Tue, 24 Jul 2007)
New Revision: 3911
Added:
trunk/libgettext-commons-java/debian/
trunk/libgettext-commons-java/debian/changelog
trunk/libgettext-commons-java/debian/compat
trunk/libgettext-commons-java/debian/control
trunk/libgettext-commons-java/debian/copyright
trunk/libgettext-commons-java/debian/dirs
trunk/libgettext-commons-java/debian/docs
trunk/libgettext-commons-java/debian/patches/
trunk/libgettext-commons-java/debian/patches/10buildxml.patch
trunk/libgettext-commons-java/debian/rules
trunk/libgettext-commons-java/debian/watch
Log:
Java classes for internationalization (i18n) - initial import (2nd try)
Added: trunk/libgettext-commons-java/debian/changelog
===================================================================
--- trunk/libgettext-commons-java/debian/changelog (rev 0)
+++ trunk/libgettext-commons-java/debian/changelog 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1,5 @@
+libgettext-commons-java (0.9-1) unstable; urgency=low
+
+ * Initial release (Closes: #434091)
+
+ -- Andreas Putzo <andreas at putzo.net> Sat, 21 Jul 2007 10:33:53 +0000
Added: trunk/libgettext-commons-java/debian/compat
===================================================================
--- trunk/libgettext-commons-java/debian/compat (rev 0)
+++ trunk/libgettext-commons-java/debian/compat 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1 @@
+5
Added: trunk/libgettext-commons-java/debian/control
===================================================================
--- trunk/libgettext-commons-java/debian/control (rev 0)
+++ trunk/libgettext-commons-java/debian/control 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1,18 @@
+Source: libgettext-commons-java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Putzo <andreas at putzo.net>
+Build-Depends: cdbs, debhelper (>= 5), java-gcj-compat-dev, ant
+Standards-Version: 3.7.2
+Section: libs
+
+Package: libgettext-commons-java
+Section: libs
+Architecture: all
+Depends: java-gcj-compat | java2-runtime
+Suggests:
+Description: Java classes for internationalization (i18n)
+ Lightweight library combining the power of the unix-style gettext tools
+ with the widely used Java ResourceBundles.
+ This makes it possible to use the original text instead of arbitrary property
+ keys, which is less cumbersome and makes programs easier to read.
Added: trunk/libgettext-commons-java/debian/copyright
===================================================================
--- trunk/libgettext-commons-java/debian/copyright (rev 0)
+++ trunk/libgettext-commons-java/debian/copyright 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1,37 @@
+This package was debianized by Andreas Putzo <andreas at putzo.net> on
+Sat, 21 Jul 2007 10:33:53 +0000.
+
+It was downloaded from http://xnap-commons.sourceforge.net/gettext-commons/index.html
+The downloaded zip file has been repackaged as GNU zip'ed tarball without any further
+modifications.
+
+Upstream Authors: Gettext Commons project (xnap-commons-devel at lists.sourceforge.net)
+ Felix Berger
+ Tammo van Lessen
+ Steffen Pingel
+
+Copyright: 2005-2007 Felix Berger, Tammo van Lessen, Steffen Pingel
+
+
+License:
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+
+The Debian packaging is (C) 2007, Andreas Putzo <andreas at putzo.net> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: trunk/libgettext-commons-java/debian/dirs
===================================================================
--- trunk/libgettext-commons-java/debian/dirs (rev 0)
+++ trunk/libgettext-commons-java/debian/dirs 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1 @@
+/usr/share/java
Added: trunk/libgettext-commons-java/debian/docs
===================================================================
--- trunk/libgettext-commons-java/debian/docs (rev 0)
+++ trunk/libgettext-commons-java/debian/docs 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1 @@
+api
Added: trunk/libgettext-commons-java/debian/patches/10buildxml.patch
===================================================================
--- trunk/libgettext-commons-java/debian/patches/10buildxml.patch (rev 0)
+++ trunk/libgettext-commons-java/debian/patches/10buildxml.patch 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1,69 @@
+diff -Nur libgettext-commons-java-0.9/build.xml libgettext-commons-java-0.9.new/build.xml
+--- libgettext-commons-java-0.9/build.xml 1970-01-01 00:00:00.000000000 +0000
++++ libgettext-commons-java-0.9.new/build.xml 2007-07-24 16:14:16.000000000 +0000
+@@ -0,0 +1,65 @@
++<?xml version="1.0"?>
++
++<project name="gettext-commons" default="dist-binaries" basedir=".">
++
++ <description>gettext-commons for java build file</description>
++
++ <property name="dist" location="Releases"/>
++ <property name="build" value="Build"/>
++ <property name="src" value="src/java"/>
++ <property name="javadoc" value="api"/>
++ <property name="verbose" value="true"/>
++ <property name="debug" value="off"/>
++ <property name="version" value="0.9"/>
++
++ <target name="clean" description="deletes and recreates the destination directory">
++ <delete verbose="${verbose}" dir="${build}"/>
++ <delete verbose="${verbose}" dir="${dist}"/>
++ <delete verbose="${verbose}" dir="${javadoc}"/>
++ <mkdir dir="${build}"/>
++ <mkdir dir="${dist}"/>
++ </target>
++
++ <target name="compile" description="compile the source">
++ <javac classpath="${classpath}"
++ srcdir="${src}"
++ destdir="${build}"
++ debug="${debug}"
++ verbose="${verbose}"/>
++ </target>
++
++ <target name="dist-binaries" depends="clean, compile, javadoc" description="generate binary distribution">
++ <jar destfile="${dist}/gettext-commons-${version}.jar" update="false">
++ <manifest>
++ <attribute name="Main-Class" value="org.xnap.commons.i18n.I18n"/>
++ </manifest>
++ <fileset dir="${build}" excludes="**/test/*.class" />
++ </jar>
++ </target>
++
++ <target name="dist-source" depends="clean, compile" description="generate source distribution">
++ <jar destfile="${dist}/gettext-commons-${version}-src.jar" update="false">
++ <fileset dir="."
++ includes="${src}/**/*.java, ${src}/**/*.metadata, build.xml"/>
++ </jar>
++ </target>
++
++ <target name="javadoc" description="generate javadoc documentation">
++ <javadoc
++ destdir="${javadoc}"
++ defaultexcludes="yes"
++ author="true"
++ version="true"
++ use="true"
++ access="protected"
++ windowtitle="gettext-commons javadoc"
++ failonerror="true">
++ <packageset dir="${src}" defaultexcludes="yes">
++ <include name="org/xnap/commons/i18n/**"/>
++ </packageset>
++ </javadoc>
++ </target>
++
++ <target name="all" depends="dist-source, dist-binaries, javadoc" description="prepare source and binary distributions, and javadoc"/>
++
++</project>
Added: trunk/libgettext-commons-java/debian/rules
===================================================================
--- trunk/libgettext-commons-java/debian/rules (rev 0)
+++ trunk/libgettext-commons-java/debian/rules 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1,20 @@
+#! /usr/bin/make -f
+# debian/rules file for libgettext-commons-java (uses cdbs)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+ANT_HOME := /usr/share/ant
+DEB_ANT_BUILD_TARGET := dist-binaries
+
+LIBRARY=gettext-commons
+VERSION=0.9
+
+clean::
+ rm -rf Build Releases api
+
+install/libgettext-commons-java::
+ install -m 644 Releases/${LIBRARY}-${VERSION}.jar ${CURDIR}/debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
+ dh_link usr/share/java/${LIBRARY}-${VERSION}.jar usr/share/java/${LIBRARY}.jar
Property changes on: trunk/libgettext-commons-java/debian/rules
___________________________________________________________________
Name: svn:executable
+
Added: trunk/libgettext-commons-java/debian/watch
===================================================================
--- trunk/libgettext-commons-java/debian/watch (rev 0)
+++ trunk/libgettext-commons-java/debian/watch 2007-07-24 20:18:53 UTC (rev 3911)
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/xnap-commons/gettext-commons-(.*)\.zip
More information about the pkg-java-commits
mailing list