[pkg-java] r7547 - in trunk: . maven-shared-io maven-shared-io/debian

twerner at alioth.debian.org twerner at alioth.debian.org
Sat Dec 6 22:35:44 UTC 2008


Author: twerner
Date: 2008-12-06 22:35:44 +0000 (Sat, 06 Dec 2008)
New Revision: 7547

Added:
   trunk/maven-shared-io/
   trunk/maven-shared-io/debian/
   trunk/maven-shared-io/debian/build.properties
   trunk/maven-shared-io/debian/build.xml
   trunk/maven-shared-io/debian/changelog
   trunk/maven-shared-io/debian/compat
   trunk/maven-shared-io/debian/control
   trunk/maven-shared-io/debian/copyright
   trunk/maven-shared-io/debian/orig-tar.sh
   trunk/maven-shared-io/debian/rules
   trunk/maven-shared-io/debian/watch
Log:
new package maven-shared-io


Added: trunk/maven-shared-io/debian/build.properties
===================================================================
--- trunk/maven-shared-io/debian/build.properties	                        (rev 0)
+++ trunk/maven-shared-io/debian/build.properties	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1,3 @@
+javadoc.dir=build/api
+build.directory=target
+build.outputDirectory=target/classes

Added: trunk/maven-shared-io/debian/build.xml
===================================================================
--- trunk/maven-shared-io/debian/build.xml	                        (rev 0)
+++ trunk/maven-shared-io/debian/build.xml	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1,26 @@
+<?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="/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="."/>
+    </target>
+
+    <target name="package">
+        <ant target="package" antfile="${maven.build.xml}" dir=".">
+            <property name="artifactId" value="maven-shared-io"/>
+        </ant>
+    </target>
+
+    <target name="javadoc">
+        <javadoc destdir="${javadoc.dir}">
+            <packageset dir="src/main/java/"/>
+        </javadoc>
+    </target>
+
+</project>

Added: trunk/maven-shared-io/debian/changelog
===================================================================
--- trunk/maven-shared-io/debian/changelog	                        (rev 0)
+++ trunk/maven-shared-io/debian/changelog	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1,5 @@
+maven-shared-io (1.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #xxxxxx)
+
+ -- Torsten Werner <twerner at debian.org>  Thu, 04 Dec 2008 19:29:26 +0100

Added: trunk/maven-shared-io/debian/compat
===================================================================
--- trunk/maven-shared-io/debian/compat	                        (rev 0)
+++ trunk/maven-shared-io/debian/compat	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1 @@
+5

Added: trunk/maven-shared-io/debian/control
===================================================================
--- trunk/maven-shared-io/debian/control	                        (rev 0)
+++ trunk/maven-shared-io/debian/control	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1,33 @@
+Source: maven-shared-io
+Section: devel
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>
+Build-Depends: ant, debhelper (>= 5), cdbs
+Standards-Version: 3.8.0
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-shared-io
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-shared-io/
+Homepage: http://maven.apache.org
+
+Package: maven-shared-io
+Architecture: all
+Section: devel
+Depends: ${misc:Depends}
+Description: Maven API for I/O support
+ Maven is a software project management and comprehension tool. Based on the
+ concept of a project object model (POM), Maven can manage a project's build,
+ reporting and documentation from a central piece of information.
+ .
+ Maven's primary goal is to allow a developer to comprehend the complete
+ state of a development effort in the shortest period of time. In order to
+ attain this goal there are several areas of concern that Maven attempts
+ to deal with:
+ .
+    * Making the build process easy
+    * Providing a uniform build system
+    * Providing quality project information
+    * Providing guidelines for best practices development
+    * Allowing transparent migration to new features
+ .
+ This package ships the I/O support API like logging, download or file
+ scanning.

Added: trunk/maven-shared-io/debian/copyright
===================================================================
--- trunk/maven-shared-io/debian/copyright	                        (rev 0)
+++ trunk/maven-shared-io/debian/copyright	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1,32 @@
+This package was debianized by Torsten Werner <twerner at debian.org>.
+
+The Debian packaging is Copyright (c) 2008 Torsten Werner and is
+licensed under the GNU General Public License version 3. On Debian
+systems, the complete text of the GNU General Public License can be
+found in '/usr/share/common-licenses/GPL'.
+
+The package was downloaded from <http://maven.apache.org>.
+
+Copyright: 2008 The Apache Software Foundation.
+
+License:
+
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+ 
+    http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+
+The full text of the license can be found in
+`/usr/share/common-licenes/Apache-2.0'.

Added: trunk/maven-shared-io/debian/orig-tar.sh
===================================================================
--- trunk/maven-shared-io/debian/orig-tar.sh	                        (rev 0)
+++ trunk/maven-shared-io/debian/orig-tar.sh	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+TAR=../maven-shared-io_$2.orig.tar.gz
+DIR=maven-shared-io-$2
+TAG=maven-shared-io-$2
+
+svn export http://svn.apache.org/repos/asf/maven/shared/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


Property changes on: trunk/maven-shared-io/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/maven-shared-io/debian/rules
===================================================================
--- trunk/maven-shared-io/debian/rules	                        (rev 0)
+++ trunk/maven-shared-io/debian/rules	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.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/default-java
+DEB_JARS             := maven2 wagon-provider-api plexus-utils plexus-component-api
+DEB_ANT_BUILD_TARGET := package #javadoc
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dversion=$(VERSION)
+API_DOCS             := build/api
+
+get-orig-source:
+	uscan --force-download
+
+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


Property changes on: trunk/maven-shared-io/debian/rules
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/maven-shared-io/debian/watch
===================================================================
--- trunk/maven-shared-io/debian/watch	                        (rev 0)
+++ trunk/maven-shared-io/debian/watch	2008-12-06 22:35:44 UTC (rev 7547)
@@ -0,0 +1,3 @@
+version=3
+http://svn.apache.org/repos/asf/maven/shared/tags/ \
+  maven-shared-io-(.*)/ debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list