[pkg-java] r3569 - in trunk: . doxia doxia/debian
trygvis-guest at alioth.debian.org
trygvis-guest at alioth.debian.org
Sat Jun 2 19:39:04 UTC 2007
Author: trygvis-guest
Date: 2007-06-02 19:39:04 +0000 (Sat, 02 Jun 2007)
New Revision: 3569
Added:
trunk/doxia/
trunk/doxia/debian/
trunk/doxia/debian/build.properties
trunk/doxia/debian/build.xml
trunk/doxia/debian/changelog
trunk/doxia/debian/compat
trunk/doxia/debian/control
trunk/doxia/debian/copyright
trunk/doxia/debian/rules
Log:
o Committing a doxia package.
Property changes on: trunk/doxia
___________________________________________________________________
Name: svn:ignore
+ build*
src
doxia-*
pom.xml
Property changes on: trunk/doxia/debian
___________________________________________________________________
Name: svn:ignore
+ files
lib*
stamp-*
Added: trunk/doxia/debian/build.properties
===================================================================
--- trunk/doxia/debian/build.properties (rev 0)
+++ trunk/doxia/debian/build.properties 2007-06-02 19:39:04 UTC (rev 3569)
@@ -0,0 +1,9 @@
+classpath.compile = \
+ ${basedir}/doxia-sink-api/build/doxia-sink-api-${version}.jar:\
+ ${basedir}/doxia-core/build/doxia-core-${version}.jar:\
+ ${basedir}/doxia-decoration-model/build/doxia-decoration-model-${version}.jar:\
+ /usr/share/java/plexus-container-default.jar:\
+ /usr/share/java/plexus-i18n.jar:\
+ /usr/share/java/plexus-utils.jar:\
+ /usr/share/java/plexus-velocity.jar:\
+ /usr/share/java/velocity.jar
Added: trunk/doxia/debian/build.xml
===================================================================
--- trunk/doxia/debian/build.xml (rev 0)
+++ trunk/doxia/debian/build.xml 2007-06-02 19:39:04 UTC (rev 3569)
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+
+<project name="pkg-java" default="package" basedir="..">
+
+ <property file="debian/build.properties"/>
+ <property name="maven.test.skip" value="true"/>
+ <property name="maven.build.xml" value="/home/trygvis/dev/org.debian.svn/pkg-java/trunk/maven-ant-helper/maven-build.xml"/>
+ <property name="maven.build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/>
+ <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+
+ <target name="clean">
+ <ant target="clean" antfile="${maven.build.xml}" dir="."/>
+ <ant target="clean" antfile="${maven.build.xml}" dir="doxia-sink-api"/>
+ <ant target="clean" antfile="${maven.build.xml}" dir="doxia-core"/>
+ <ant target="clean" antfile="${maven.build.xml}" dir="doxia-decoration-model"/>
+ <ant target="clean" antfile="${maven.build.xml}" dir="doxia-site-renderer"/>
+ </target>
+
+ <target name="generate-sources">
+ <taskdef name="modello" classname="ModelloTask" classpath="/usr/share/maven-ant-helper/maven-ant-helper.jar"/>
+ <modello model="doxia-decoration-model/src/main/mdo/decoration.mdo" plugin="java" output="doxia-decoration-model/build/generated-sources" version="1.0.0"/>
+ </target>
+
+ <target name="package" depends="generate-sources">
+ <ant target="package" antfile="${maven.build.xml}" dir="doxia-sink-api">
+ <property name="artifactId" value="doxia-sink-api"/>
+ </ant>
+ <ant target="package" antfile="${maven.build.xml}" dir="doxia-core">
+ <property name="artifactId" value="doxia-core"/>
+ </ant>
+ <ant target="package" antfile="${maven.build.xml}" dir="doxia-decoration-model">
+ <property name="artifactId" value="doxia-decoration-model"/>
+ </ant>
+ <ant target="package" antfile="${maven.build.xml}" dir="doxia-site-renderer">
+ <property name="artifactId" value="doxia-site-renderer"/>
+ </ant>
+ </target>
+
+ <target name="javadoc">
+ <javadoc destdir="${javadoc.dir}">
+ <packageset dir="doxia-sink-api/src/main/java/"/>
+ <packageset dir="doxia-core/src/main/java/"/>
+ <packageset dir="doxia-decoration-model/src/main/java/"/>
+ <packageset dir="doxia-site-renderer/src/main/java/"/>
+ </javadoc>
+ </target>
+
+</project>
Added: trunk/doxia/debian/changelog
===================================================================
--- trunk/doxia/debian/changelog (rev 0)
+++ trunk/doxia/debian/changelog 2007-06-02 19:39:04 UTC (rev 3569)
@@ -0,0 +1,7 @@
+doxia (1.0-alpha-7-1) unstable; urgency=low
+
+ * Initial release. (Closes: XXXXXXX)
+
+ PROTOTYPE ONLY - not for upload.
+
+ -- Trygve Laugstol <trygvis at inamo.no> Sat, 28 May 2007 04:06:59 +0200
Added: trunk/doxia/debian/compat
===================================================================
--- trunk/doxia/debian/compat (rev 0)
+++ trunk/doxia/debian/compat 2007-06-02 19:39:04 UTC (rev 3569)
@@ -0,0 +1 @@
+5
Added: trunk/doxia/debian/control
===================================================================
--- trunk/doxia/debian/control (rev 0)
+++ trunk/doxia/debian/control 2007-06-02 19:39:04 UTC (rev 3569)
@@ -0,0 +1,26 @@
+Source: doxia
+Section: devel
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Trygve Laugstol <trygvis at inamo.no>
+Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, libxalan2-java,
+ libbcpg-java, libbcpg-java-doc,
+ libbcprov-java, libbcprov-java-doc,
+ classpath-doc,
+ libcommons-cli-java,
+ libwagon-java
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.7.2
+
+Package: libdoxia-java
+Architecture: all
+Section: devel
+Suggests: libdoxia-java-doc
+Description:
+
+Package: libdoxia-java-doc
+Architecture: all
+Section: doc
+Depends: classpath-doc
+Suggests: maven
+Description:
Added: trunk/doxia/debian/copyright
===================================================================
Added: trunk/doxia/debian/rules
===================================================================
--- trunk/doxia/debian/rules (rev 0)
+++ trunk/doxia/debian/rules 2007-06-02 19:39:04 UTC (rev 3569)
@@ -0,0 +1,48 @@
+#!/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/')
+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 xalan2
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar \
+ /usr/share/java/junit.jar \
+ /usr/share/java/commons-cli.jar \
+ /usr/share/java/ant-launcher.jar \
+ /usr/share/java/ant.jar \
+ /usr/share/java/bsh.jar \
+
+# TODO - all of the build-depends above must be copied into control
+
+DEB_ANT_BUILD_TARGET := package javadoc
+DEB_ANT_BUILDFILE := ./debian/build.xml
+DEB_ANT_ARGS := -Dversion=$(VERSION)
+API_DOCS := build/javadoc
+SVN := http://svn.apache.org/repos/asf/maven/doxia/doxia/tags/$(PACKAGE)-$(VERSION)
+
+get-orig-source:
+ echo "Getting version $(VERSION) 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 $(PACKAGE)-decoration-model/build/$(PACKAGE)-decoration-model-$(VERSION).jar usr/share/java
+ dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-decoration-model-$(VERSION).jar usr/share/java/$(PACKAGE)-decoration-model.jar
+ dh_install -plib$(PACKAGE)-java $(PACKAGE)-core/build/$(PACKAGE)-core-$(VERSION).jar usr/share/java
+ dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-core-$(VERSION).jar usr/share/java/$(PACKAGE)-core.jar
+ dh_install -plib$(PACKAGE)-java $(PACKAGE)-site-renderer/build/$(PACKAGE)-site-renderer-$(VERSION).jar usr/share/java
+ dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-site-renderer-$(VERSION).jar usr/share/java/$(PACKAGE)-site-renderer.jar
+ dh_install -plib$(PACKAGE)-java $(PACKAGE)-sink-api/build/$(PACKAGE)-sink-api-$(VERSION).jar usr/share/java
+ dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-sink-api-$(VERSION).jar usr/share/java/$(PACKAGE)-sink-api.jar
+
+binary-post-install/lib$(PACKAGE)-java-doc::
+ dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/$(PACKAGE)
Property changes on: trunk/doxia/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the pkg-java-commits
mailing list