[plexus-ant-factory] 02/19: [svn-inject] Applying Debian modifications to trunk
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Aug 29 20:33:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository plexus-ant-factory.
commit f51dd2993e0be7795dab79d74301c270e2d0e4a2
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Thu Jun 11 14:37:03 2009 +0000
[svn-inject] Applying Debian modifications to trunk
---
debian/build.properties | 2 ++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 22 ++++++++++++++++++++++
debian/copyright | 16 ++++++++++++++++
debian/libplexus-ant-factory-java.poms | 2 ++
debian/orig-tar.sh | 17 +++++++++++++++++
debian/rules | 23 +++++++++++++++++++++++
debian/watch | 5 +++++
9 files changed, 93 insertions(+)
diff --git a/debian/build.properties b/debian/build.properties
new file mode 100644
index 0000000..e2ae10b
--- /dev/null
+++ b/debian/build.properties
@@ -0,0 +1,2 @@
+javadoc.dir=build/api
+maven.test.skip=true
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2a05029
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+plexus-ant-factory (1.0~alpha2.1-0ubuntu1~ppa8) jaunty; urgency=low
+
+ * Initial release. (Closes: #XXXXX)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Sat, 28 Mar 2009 22:01:14 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9e6d4ad
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: plexus-ant-factory
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 6), cdbs, default-jdk
+Build-Depends-Indep: maven-ant-helper (>> 4), maven-repo-helper, ant, ant-optional, libplexus-container-default-java
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-ant-factory
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-ant-factory/
+Homepage: http://plexus.codehaus.org/
+
+Package: libplexus-ant-factory-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-container-default-java
+Recommends: ant
+Description: Plexus Ant Factory
+ The Plexus project provides a full software stack for creating and
+ executing software projects. Based on the Plexus container, the applications
+ can utilise component-oriented programming to build modular, reusable
+ components that can easily be assembled and reused.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..130a168
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Plexus Ant Factory
+Maintainer: Codehaus Foundation
+Source: http://plexus.codehaus.org/
+
+Files: *
+Copyright: 2001-2009, Codehaus Foundation.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude at laposte.net>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian GNU/Linux system you can find the complete text of the
+ Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.
diff --git a/debian/libplexus-ant-factory-java.poms b/debian/libplexus-ant-factory-java.poms
new file mode 100644
index 0000000..e3a3ef0
--- /dev/null
+++ b/debian/libplexus-ant-factory-java.poms
@@ -0,0 +1,2 @@
+pom.xml --no-parent
+
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..6076a6e
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../plexus-ant-factory_$VERSION.orig.tar.gz
+DIR=plexus-ant-factory-$VERSION
+TAG=$(echo "plexus-ant-factory-$VERSION" | sed 's,~\(alpha\|beta\),-\1-,')
+
+svn export http://svn.codehaus.org/plexus/tags/$TAG/ $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dcf2d7b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_JARS := ant-nodeps plexus-container-default-alpha classworlds plexus-utils
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+
+get-orig-source:
+ uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+binary-post-install/lib$(PACKAGE)-java::
+ mh_installpoms -plib$(PACKAGE)-java
+ mh_installjar -plib$(PACKAGE)-java -l pom.xml build/plexus-ant-factory-$(VERSION).jar
+
+clean::
+ -rm -rf debian/tmp
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e9dc34b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+ http://svn.codehaus.org/plexus/tags/ \
+ plexus-ant-factory-([0-9].*)/ debian debian/orig-tar.sh
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-ant-factory.git
More information about the pkg-java-commits
mailing list