[plexus-build-api] 02/22: [svn-inject] Applying Debian modifications to trunk

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Aug 30 10:46:03 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-build-api.

commit fb5e17691e2ee09eb6481c681b539e64a133c482
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date:   Thu Jun 11 14:40:51 2009 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 debian/build.properties              |  2 ++
 debian/changelog                     |  5 +++++
 debian/compat                        |  1 +
 debian/components.xml                | 11 +++++++++++
 debian/control                       | 22 ++++++++++++++++++++++
 debian/copyright                     | 16 ++++++++++++++++
 debian/libplexus-build-api-java.poms |  1 +
 debian/orig-tar.sh                   | 17 +++++++++++++++++
 debian/rules                         | 28 ++++++++++++++++++++++++++++
 debian/watch                         |  5 +++++
 10 files changed, 108 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..afe23ea
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+plexus-build-api (0.0.4-0ubuntu1~ppa11) jaunty; urgency=low
+
+  * Initial release. (Closes: #521704)
+
+ -- 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/components.xml b/debian/components.xml
new file mode 100644
index 0000000..98270fc
--- /dev/null
+++ b/debian/components.xml
@@ -0,0 +1,11 @@
+<component-set>
+  <components>
+    <component>
+      <role>org.sonatype.plexus.build.incremental.BuildContext</role>
+      <role-hint>default</role-hint>
+      <implementation>org.sonatype.plexus.build.incremental.DefaultBuildContext</implementation>
+      <description>Filesystem based non-incremental build context implementation which behaves as if all files
+were just created.</description>
+    </component>
+  </components>
+</component-set>
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..120f8ef
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: plexus-build-api
+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-builddep
+Build-Depends-Indep: maven-ant-helper (>> 4), maven-repo-helper, ant, ant-optional, libplexus-utils-java
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-build-api
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-build-api/
+#Homepage: http://forge.sonatype.com/spice-parent/plexus-build-api
+
+Package: libplexus-build-api-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-utils-java 
+Description: Incremental build API for Plexus components.
+ 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..dc448a6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Plexus Build api
+Maintainer: Sonatype
+Source: http://forge.sonatype.com/spice-parent/plexus-build-api
+
+Files: *
+Copyright: 2008, Sonatype Inc.
+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-build-api-java.poms b/debian/libplexus-build-api-java.poms
new file mode 100644
index 0000000..43e746b
--- /dev/null
+++ b/debian/libplexus-build-api-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..82a1103
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../plexus-build-api_$VERSION.orig.tar.gz
+DIR=plexus-build-api-$VERSION
+TAG=$(echo "plexus-build-api-$VERSION" | sed 's,~\(alpha\|beta\),-\1-,')
+
+svn export http://svn.sonatype.org/spice/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..8c00ce2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/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-utils
+DEB_ANT_BUILD_TARGET := package #javadoc
+DEB_ANT_BUILDFILE    := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+API_DOCS             := build/api
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+makebuilddir/lib$(PACKAGE)-java::
+	install -d src/main/resources/META-INF/plexus
+	install -m644 debian/components.xml src/main/resources/META-INF/plexus/
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l pom.xml build/$(PACKAGE)-$(VERSION).jar
+
+clean::
+	-rm -rf debian/tmp
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4af84ac
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="uversionmangle=s{-(alpha|beta)-}{~$1}" \
+  http://svn.sonatype.org/spice/tags/ \
+  plexus-build-api-([0-9].*)/ debian debian/orig-tar.sh
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-build-api.git



More information about the pkg-java-commits mailing list