[modello] 01/32: Initial import of skeleton packaging. Not ready yet!
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jul 9 10:49:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch modello-1.1
in repository modello.
commit bb3f258a003af1b40f9bb5bc3b5349e1b2bc321e
Author: Paul Cager <paul-debian at home.paulcager.org>
Date: Tue May 1 22:01:57 2007 +0000
Initial import of skeleton packaging. Not ready yet!
---
debian/build.xml | 78 +++++++++++++++++++++++++++++++++++++
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 58 +++++++++++++++++++++++++++
debian/copyright | 44 +++++++++++++++++++++
debian/libmodello-java-doc.doc-base | 9 +++++
debian/rules | 42 ++++++++++++++++++++
7 files changed, 237 insertions(+)
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..f9cd95e
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+
+<!--
+ This build.xml file was written for the Debian project.
+ This file copyright (c) Paul Cager <paul-debian at home.paulcager.org>
+
+ This software and documentation is provided "as is," and
+ the copyright holders and contributing author(s) make no
+ representations or warranties, express or implied, including
+ but not limited to, warranties of merchantability or fitness
+ for any particular purpose or that the use of the software or
+ documentation will not infringe any third party patents,
+ copyrights, trademarks or other rights.
+
+ The copyright holders and contributing author(s) will not be
+ liable for any direct, indirect, special or consequential damages
+ arising out of any use of the software or documentation, even if
+ advised of the possibility of such damage.
+
+ Permission is hereby granted to use, copy, modify, and distribute
+ this source code, or portions hereof, documentation and executables,
+ for any purpose, without fee, subject to the following restrictions:
+
+ 1. The origin of this source code must not be misrepresented.
+ 2. Altered versions must be plainly marked as such and must
+ not be misrepresented as being the original source.
+ 3. This Copyright notice may not be removed or altered from any
+ source or altered source distribution.
+-->
+
+<project name="pkg-java" default="package" basedir="..">
+
+<target name="package" depends="jar,javadoc"/>
+
+<target name="init">
+ <property name="src.dir" value="."/>
+ <property name="build.dir" value="build"/>
+ <property name="jar.suffix" value="-${version}.jar"/>
+ <property name="jar" value="${build.dir}/${package}-${version}.jar"/>
+ <property name="javadoc.dir" value="${build.dir}/doc/api"/>
+ <echo message="Classpath: ${java.class.path}" />
+</target>
+
+<target name="compile" depends="init">
+ <mkdir dir="${build.dir}"/>
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ debug="on">
+ <include name="**/main/java/**/*.java"/>
+ </javac>
+</target>
+
+<target name="jar" depends="compile">
+ <delete file="${jar}"/>
+
+ <jar jarfile="${build.dir}/${package}${jar.suffix}"
+ basedir="${build.dir}"
+ includes="**/*.class,**/*.properties" />
+</target>
+
+<target name="javadoc" depends="init">
+ <mkdir dir="${javadoc.dir}"/>
+ <javadoc
+ packagenames="org.codehaus.*"
+ sourcepath="src/main/java"
+ destdir="${javadoc.dir}"
+ author="true"
+ version="true"
+ windowtitle="${package} API"
+ doctitle="${package} - ${version}"
+ classpath="${java.class.path}" >
+ </javadoc>
+</target>
+
+<target name="clean" depends="init">
+ <delete dir="${build.dir}"/>
+</target>
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6f582a9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+modello (1.0-alpha-15-1) unstable; urgency=low
+
+ * Initial release. (Closes: 421626)
+
+ -- Paul Cager <paul-debian at home.paulcager.org> Sun, 29 Apr 2007 20:45:10 +0100
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..ad14176
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,58 @@
+Source: modello
+Section: devel
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Paul Cager <paul-debian at home.paulcager.org>
+Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, libxalan2-java,
+ libbcpg-java, libbcpg-java-doc,
+ libbcprov-java, libbcprov-java-doc,
+ classpath-doc
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.7.2
+
+Package: libmodello-java
+Architecture: all
+Section: devel
+Suggests: libmodello-java-doc
+Description: a Data Model toolkit in use by the Maven 2 Project
+ Modello is used to build the maven system.
+ .
+ Once a DataModel is defined, the toolkit can be used to generate any of the
+ following at compile time.
+ .
+ * Java Pojos of the DataModel.
+ * Java Pojos to XML Writer. (provided via xpp3, stax, jdom or dom4j)
+ * XML to Java Pojos Reader. (provided via xpp3, stax or dom4j)
+ * XDOC documentation of the DataModel.
+ * XML Schema to validate the DataModel.
+ * Java Model to Prevayler Store (actually this plugin is in the
+ sandbox).
+ * Java Model to JPOX Store.
+ * Java Model to JPOX Mapping.
+ .
+ Homepage: http://modello.codehaus.org
+
+Package: libmodello-java-doc
+Architecture: all
+Section: doc
+Depends: classpath-doc
+Suggests: libmodello-java
+Description: a Data Model toolkit in use by the Maven 2 Project
+ Modello is used to build the maven system.
+ .
+ Once a DataModel is defined, the toolkit can be used to generate any of the
+ following at compile time.
+ .
+ * Java Pojos of the DataModel.
+ * Java Pojos to XML Writer. (provided via xpp3, stax, jdom or dom4j)
+ * XML to Java Pojos Reader. (provided via xpp3, stax or dom4j)
+ * XDOC documentation of the DataModel.
+ * XML Schema to validate the DataModel.
+ * Java Model to Prevayler Store (actually this plugin is in the
+ sandbox).
+ * Java Model to JPOX Store.
+ * Java Model to JPOX Mapping.
+ .
+ This package provides the API documentation for Modello.
+ .
+ Homepage: http://modello.codehaus.org
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8b771f9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+This package was debianized by Paul Cager <paul-debian at home.paulcager.org>
+Sun, 29 Apr 2007 18:27:29 +0100
+
+The Debian packaging is Copyright (c) 2007 Paul Cager and is licensed under
+the GNU General Public License version 2. On Debian systems, the complete text
+of the GNU General Public License version 2 can be found in
+'/usr/share/common-licenses/GPL-2'.
+
+
+modello was downloaded from
+ https://svn.codehaus.org/modello/tags/modello-1.0-alpha-15/
+
+Upstream Authors:
+ Brett Porter brett at apache.org
+ Jason van Zyl jason at maven.org
+ Dan Diephouse dan at envoisolutions.com
+ Emmanuel Evenisse emmanuel at venisse.net
+ John Casey jdcasey at commonjava.org
+ Trygve Laugstol trygvis at codehaus.org
+ Arnaud Heritier aheritier at gmail.com
+ Milos Kleint mkleint at codehaus.org
+
+
+COPYRIGHT NOTICES:
+
+ Copyright (c) 2007, Codehaus.org
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/libmodello-java-doc.doc-base b/debian/libmodello-java-doc.doc-base
new file mode 100644
index 0000000..6bf38aa
--- /dev/null
+++ b/debian/libmodello-java-doc.doc-base
@@ -0,0 +1,9 @@
+Document: libmodello-java
+Title: API Javadoc for libmodello-java
+Author: Codehaus developers
+Abstract: This is the API Javadoc provided by the libmodello-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libcommons-modello-java/api/index.html
+Files: /usr/share/doc/libcommons-modello-java/api/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f7c8d8e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/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:' | cut -f2 -d' ' | sed 's/-[0-9]*$$//')
+JAVA_HOME := /usr/lib/jvm/java-gcj
+ANT_HOME := /usr/share/ant
+#DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar xalan2
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar xalan2 \
+ /usr/share/java/junit.jar \
+ $(shell find /usr/share/java -type f -name 'wagon*' -print) \
+ $(shell find /usr/share/java -type f -name 'plexus*' -print) \
+ /usr/share/java/libplexus-utils.jar \
+ /usr/share/java/commons-lang.jar
+
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE := ./debian/build.xml
+DEB_ANT_ARGS := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+#DEB_ANT_INVOKE := ant -verbose -Dpackage=$(PACKAGE) -Dversion=$(VERSION) -f $(BUILD_FILE)
+API_DOCS := build/doc/api
+SVN := https://svn.codehaus.org/modello/tags/modello-$(VERSION)
+
+
+get-orig-source:
+ echo "Getting version $(VERSION) from $(SVN)"
+ mkdir orig_tmp
+ cd orig_tmp && \
+ svn export -q $(SVN) $(PACKAGE) && \
+ rm -rf modello-maven-plugin && \
+ tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz $(PACKAGE)
+ rm -rf orig_tmp
+
+
+binary-post-install/$(PACKAGE)::
+ 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/$(PACKAGE)-doc::
+ dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/$(PACKAGE)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/modello.git
More information about the pkg-java-commits
mailing list