This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository plexus-i18n.
commit 8c605bb65b596e1b108ef73567a730d44db01055 Author: Trygve Laugstøl <[email protected]> Date: Sat Jun 2 19:26:44 2007 +0000 o Adding plexus-i18n. --- debian/build.properties | 2 ++ debian/build.xml | 24 ++++++++++++++++++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 23 +++++++++++++++++++++++ debian/copyright | 0 debian/rules | 34 ++++++++++++++++++++++++++++++++++ 7 files changed, 89 insertions(+) diff --git a/debian/build.properties b/debian/build.properties new file mode 100644 index 0000000..5ee44f8 --- /dev/null +++ b/debian/build.properties @@ -0,0 +1,2 @@ +classpath.compile=/usr/share/java/plexus-container-default.jar:\ + /usr/share/java/plexus-utils.jar diff --git a/debian/build.xml b/debian/build.xml new file mode 100644 index 0000000..4310952 --- /dev/null +++ b/debian/build.xml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> + +<project name="pkg-java" default="package" basedir=".."> + + <property file="debian/build.properties"/> + <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/> + <property name="maven.test.exclude" value=""/> + <property name="maven.build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/> + + <target name="clean"> + <ant target="clean" antfile="${maven.build.xml}" dir="."/> + </target> + + <target name="package"> + <ant target="package" antfile="${maven.build.xml}" dir="."> + <property name="artifactId" value="${artfiactId}"/> + </ant> + <!--<copy file="build/plexus-container-default-${version}.jar" tofile="build/plexus-container-default-1.0.jar"/> --> + </target> + + <target name="javadoc"> + <ant target="javadoc" antfile="${maven.build.xml}" dir="."/> + </target> +</project> diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1ae488b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +plexus-i18n (1.0-beta-7-1) unstable; urgency=low + + * Initial release. (Closes: #???) + + -- Trygve Laugstol <[email protected]> Mon, 28 May 2007 12:29:00 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3f84e51 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: plexus-i18n +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Trygve Laugstol <[email protected]> +Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, libxalan2-java, + libplexus-container-default-java, junit, junit-doc +Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3) +Standards-Version: 3.7.2 + +Package: libplexus-i18n-java +Architecture: all +Section: libs +Depends: libplexus-container-default-java +Suggests: libplexus-container-default-java-doc +Description: + +Package: libplexus-container-default-java-doc +Architecture: all +Section: doc +Depends: classpath-doc, libplexus-container-default-java-doc +Suggests: libplexus-container-default-java-doc +Description: diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e69de29 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2fcc723 --- /dev/null +++ b/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +PACKAGE := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ') +VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed "s,Version: \(.*\)-.*,\1,g") +JAVA_HOME := /usr/lib/jvm/java-gcj +JAVA_HOME := /usr/local/java +ANT_HOME := /usr/share/ant +DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar $(ANT_HOME)/lib/ant-junit.jar /usr/share/java/junit.jar +DEB_ANT_BUILD_TARGET := package javadoc +DEB_ANT_BUILDFILE := ./debian/build.xml +DEB_ANT_ARGS := -DartifactId=$(PACKAGE) -Dversion=$(VERSION) +#DEB_ANT_INVOKE := ant -verbose -Dpackage=$(PACKAGE) -Dversion=$(VERSION) -f $(BUILD_FILE) +API_DOCS := build/javadoc +SVN := http://svn.codehaus.org/plexus/plexus-components/tags/$(PACKAGE)-$(VERSION) +REVISION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d- | sed 's/.*svn//' | sed 's/[^0-9].*//') + +get-orig-source: + echo "Getting revision $(REVISION) from $(SVN)" + mkdir orig_tmp + cd orig_tmp && \ + svn export -q $(SVN) $(PACKAGE) && \ + tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz $(PACKAGE) + rm -rf orig_tmp + +binary-post-install/lib$(PACKAGE)-java:: + dh_install -plib$(PACKAGE)-java build/$(PACKAGE)-$(VERSION).jar usr/share/java + dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-$(VERSION).jar usr/share/java/$(PACKAGE).jar; + +binary-post-install/lib$(PACKAGE)-java-doc:: + dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-i18n.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

