[pkg-java] r11974 - in trunk/portlet-api-2.0-spec: . debian debian/patches debian/source
Damien Raude-Morvan
drazzib at alioth.debian.org
Tue Mar 30 22:21:48 UTC 2010
Author: drazzib
Date: 2010-03-30 22:21:46 +0000 (Tue, 30 Mar 2010)
New Revision: 11974
Added:
trunk/portlet-api-2.0-spec/debian/
trunk/portlet-api-2.0-spec/debian/README.source
trunk/portlet-api-2.0-spec/debian/changelog
trunk/portlet-api-2.0-spec/debian/compat
trunk/portlet-api-2.0-spec/debian/control
trunk/portlet-api-2.0-spec/debian/copyright
trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java-doc.doc-base.api
trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java-doc.install
trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java.poms
trunk/portlet-api-2.0-spec/debian/maven.cleanIgnoreRules
trunk/portlet-api-2.0-spec/debian/maven.ignoreRules
trunk/portlet-api-2.0-spec/debian/maven.properties
trunk/portlet-api-2.0-spec/debian/maven.publishedRules
trunk/portlet-api-2.0-spec/debian/orig-tar.sh
trunk/portlet-api-2.0-spec/debian/patches/
trunk/portlet-api-2.0-spec/debian/patches/disable_maven_bundle_plugin.diff
trunk/portlet-api-2.0-spec/debian/patches/series
trunk/portlet-api-2.0-spec/debian/rules
trunk/portlet-api-2.0-spec/debian/source/
trunk/portlet-api-2.0-spec/debian/source/format
trunk/portlet-api-2.0-spec/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: trunk/portlet-api-2.0-spec/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: trunk/portlet-api-2.0-spec/debian/README.source
===================================================================
--- trunk/portlet-api-2.0-spec/debian/README.source (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/README.source 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,9 @@
+Information about portlet-api-2.0-spec
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
Added: trunk/portlet-api-2.0-spec/debian/changelog
===================================================================
--- trunk/portlet-api-2.0-spec/debian/changelog (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/changelog 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,5 @@
+portlet-api-2.0-spec (1.0-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #nnnn)
+
+ -- Damien Raude-Morvan <drazzib at debian.org> Sun, 28 Mar 2010 18:36:50 +0200
Added: trunk/portlet-api-2.0-spec/debian/compat
===================================================================
--- trunk/portlet-api-2.0-spec/debian/compat (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/compat 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1 @@
+7
Added: trunk/portlet-api-2.0-spec/debian/control
===================================================================
--- trunk/portlet-api-2.0-spec/debian/control (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/control 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,43 @@
+Source: portlet-api-2.0-spec
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Damien Raude-Morvan <drazzib at debian.org>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper
+Build-Depends-Indep: libservlet2.4-java, default-jdk-doc, libservlet2.4-java-doc, libmaven-javadoc-plugin-java
+Standards-Version: 3.8.4
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/portlet-api-2.0-spec/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/portlet-api-2.0-spec/
+Homepage: http://portals.apache.org/pluto/portlet-2.0-apidocs/
+
+Package: libportlet-api-2.0-spec-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Description: Java Portlet Specification V2.0
+ The Java Portlet API version 2.0 developed by the Java Community Process
+ JSR-286 Expert Group.
+ .
+ Portlets are pluggable user interface components that are managed
+ and displayed in a web portal like Liferay or JBoss Gatein.
+ .
+ Package current source code is taken from Apache Portals project
+ <http://portals.apache.org/>.
+
+Package: libportlet-api-2.0-spec-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
+Suggests: libportlet-api-2.0-spec-java
+Description: Java Portlet Specification V2.0 - documentation
+ The Java Portlet API version 2.0 developed by the Java Community Process
+ JSR-286 Expert Group.
+ .
+ Portlets are pluggable user interface components that are managed
+ and displayed in a web portal like Liferay or JBoss Gatein.
+ .
+ Package current source code is taken from Apache Portals project
+ <http://portals.apache.org/>.
+ .
+ This package provides the API documentation for libportlet-api-2.0-spec-java.
Added: trunk/portlet-api-2.0-spec/debian/copyright
===================================================================
--- trunk/portlet-api-2.0-spec/debian/copyright (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/copyright 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,17 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Java Portlet Specification V2.0
+Maintainer: Apache Software Foundation
+Source: http://svn.apache.org/repos/asf/portals/portlet-spec/tags/
+
+Files: *
+Copyright: 2004-2009 Apache Software Foundation
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2010, Damien Raude-Morvan <drazzib at debian.org>
+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'
+
Added: trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java-doc.doc-base.api
===================================================================
--- trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java-doc.doc-base.api (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java-doc.doc-base.api 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,10 @@
+Document: libportlet-api-2.0-spec-java
+Title: API Javadoc for Java Portlet Specification V2.0
+Author: Apache Software Foundation developers
+Abstract: This is the API Javadoc provided for the
+ libportlet-api-2.0-spec-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libportlet-api-2.0-spec-java/api/index.html
+Files: /usr/share/doc/libportlet-api-2.0-spec-java/api/*
Added: trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java-doc.install
===================================================================
--- trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java-doc.install (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java-doc.install 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/libportlet-api-2.0-spec-java/api
+
Added: trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java.poms
===================================================================
--- trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java.poms (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/libportlet-api-2.0-spec-java.poms 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1 @@
+pom.xml --no-parent
Added: trunk/portlet-api-2.0-spec/debian/maven.cleanIgnoreRules
===================================================================
--- trunk/portlet-api-2.0-spec/debian/maven.cleanIgnoreRules (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/maven.cleanIgnoreRules 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,15 @@
+# Maven clean ignore rules - ignore some Maven dependencies and plugins during the clean phase
+# Format of this file is:
+# [group] [artifact] [type] [version]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+# for the version. In this case, the element is simply matched
+# and left as it is
+# - * (the star character, alone). In this case, anything will
+# match and be left as it is. For example, using * on the
+# position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+# junit junit jar s/3\..*/3.x/
Added: trunk/portlet-api-2.0-spec/debian/maven.ignoreRules
===================================================================
--- trunk/portlet-api-2.0-spec/debian/maven.ignoreRules (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/maven.ignoreRules 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,16 @@
+# Maven ignore rules - ignore some Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+# for the version. In this case, the element is simply matched
+# and left as it is
+# - * (the star character, alone). In this case, anything will
+# match and be left as it is. For example, using * on the
+# position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+# junit junit jar s/3\..*/3.x/
+org.apache.maven.plugins maven-assembly-plugin maven-plugin *
Added: trunk/portlet-api-2.0-spec/debian/maven.properties
===================================================================
--- trunk/portlet-api-2.0-spec/debian/maven.properties (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/maven.properties 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,2 @@
+maven.test.skip=true
+
Added: trunk/portlet-api-2.0-spec/debian/maven.publishedRules
===================================================================
--- trunk/portlet-api-2.0-spec/debian/maven.publishedRules (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/maven.publishedRules 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,18 @@
+# Maven published rules - additional rules to publish, to help
+# the packaging work of Debian maintainers using mh_make
+# Format of this file is:
+# [group] [artifact] [type] [version]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+# for the version. In this case, the element is simply matched
+# and left as it is
+# - * (the star character, alone). In this case, anything will
+# match and be left as it is. For example, using * on the
+# position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+# in this case, elements that match are transformed using
+# the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match any dependency whose group is ant,
+# replacing it with org.apache.ant
+# s/ant/org.apache.ant/ * * s/.*/debian/
Added: trunk/portlet-api-2.0-spec/debian/orig-tar.sh
===================================================================
--- trunk/portlet-api-2.0-spec/debian/orig-tar.sh (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/orig-tar.sh 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../portlet-api-2.0-spec_$VERSION.orig.tar.gz
+DIR=portlet-api-2.0-spec-$VERSION
+TAG=$(echo "portlet-api_2.0_spec-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
+
+svn export http://svn.apache.org/repos/asf/portals/portlet-spec/tags/${TAG}/ $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $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
Added: trunk/portlet-api-2.0-spec/debian/patches/disable_maven_bundle_plugin.diff
===================================================================
--- trunk/portlet-api-2.0-spec/debian/patches/disable_maven_bundle_plugin.diff (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/patches/disable_maven_bundle_plugin.diff 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,24 @@
+--- a/pom.xml
++++ b/pom.xml
+@@ -31,7 +31,7 @@
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>portlet-api_2.0_spec</artifactId>
+ <version>1.0</version>
+- <packaging>bundle</packaging>
++ <packaging>jar</packaging>
+ <name>Java Portlet Specification V2.0</name>
+ <description>The Java Portlet API version 2.0 developed by the Java Community Process JSR-286 Expert Group.</description>
+
+@@ -86,10 +86,12 @@
+ </pluginManagement>
+
+ <plugins>
++<!--
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ </plugin>
++-->
+ </plugins>
+ </build>
+
Added: trunk/portlet-api-2.0-spec/debian/patches/series
===================================================================
--- trunk/portlet-api-2.0-spec/debian/patches/series (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/patches/series 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1 @@
+disable_maven_bundle_plugin.diff
Added: trunk/portlet-api-2.0-spec/debian/rules
===================================================================
--- trunk/portlet-api-2.0-spec/debian/rules (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/rules 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+get-orig-source:
+ uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
Property changes on: trunk/portlet-api-2.0-spec/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/portlet-api-2.0-spec/debian/source/format
===================================================================
--- trunk/portlet-api-2.0-spec/debian/source/format (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/source/format 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1 @@
+1.0
Added: trunk/portlet-api-2.0-spec/debian/watch
===================================================================
--- trunk/portlet-api-2.0-spec/debian/watch (rev 0)
+++ trunk/portlet-api-2.0-spec/debian/watch 2010-03-30 22:21:46 UTC (rev 11974)
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+ http://svn.apache.org/repos/asf/portals/portlet-spec/tags/ \
+ portlet-api_2.0_spec-(\d.*)/ debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list