[plexus-velocity] 01/25: o Comitting my plexus-velocity package.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Oct 30 22:28:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository plexus-velocity.

commit 889f787633e57b9a8600948ef6e03cdccf0fb90a
Author: Trygve Laugstøl <trygvis at inamo.no>
Date:   Sun Jun 3 15:24:31 2007 +0000

    o Comitting my plexus-velocity package.
---
 debian/build.properties |  6 ++++++
 debian/build.xml        | 22 ++++++++++++++++++++++
 debian/changelog        |  5 +++++
 debian/compat           |  1 +
 debian/control          | 23 +++++++++++++++++++++++
 debian/copyright        |  0
 debian/rules            | 34 ++++++++++++++++++++++++++++++++++
 7 files changed, 91 insertions(+)

diff --git a/debian/build.properties b/debian/build.properties
new file mode 100644
index 0000000..033d24a
--- /dev/null
+++ b/debian/build.properties
@@ -0,0 +1,6 @@
+classpath.compile=\
+                  /usr/share/java/commons-collections.jar:\
+                  /usr/share/java/plexus-container-default.jar:\
+                  /usr/share/java/plexus-classworlds.jar:\
+                  /usr/share/java/plexus-utils.jar:\
+                  /usr/share/java/velocity.jar
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..e932d97
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,22 @@
+<?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.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>
+    </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..dacfc7e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+plexus-velocity (1.1.2-1) unstable; urgency=low
+
+  *	 Initial release. (Closes: #???)
+
+ -- Trygve Laugstol <trygvis at inamo.no>  Mon, 28 May 2007 13:08:30 +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..b9c0f6e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: plexus-velocity
+Section: libs
+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,
+                     libplexus-container-default-java, velocity, junit, junit-doc
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.7.2
+
+Package: libplexus-velocity-java
+Architecture: all
+Section: libs
+Depends: libplexus-container-default-java, velocity
+Suggests: libplexus-container-default-java-doc
+Description: 
+
+Package: libplexus-velocity-java-doc
+Architecture: all
+Section: doc
+Depends:
+Recommends: classpath-doc, libplexus-container-default-java-doc, velocity-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..7cda1de
--- /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/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-velocity.git



More information about the pkg-java-commits mailing list