[pkg-java] r10798 - in trunk: . simple-xml simple-xml/debian

Fabian Köster maestro_alubia-guest at alioth.debian.org
Sun Oct 11 15:30:08 UTC 2009


Author: maestro_alubia-guest
Date: 2009-10-11 15:30:07 +0000 (Sun, 11 Oct 2009)
New Revision: 10798

Added:
   trunk/simple-xml/
   trunk/simple-xml/debian/
   trunk/simple-xml/debian/README.source
   trunk/simple-xml/debian/ant.properties
   trunk/simple-xml/debian/changelog
   trunk/simple-xml/debian/compat
   trunk/simple-xml/debian/control
   trunk/simple-xml/debian/copyright
   trunk/simple-xml/debian/libsimple-xml-java-doc.doc-base
   trunk/simple-xml/debian/libsimple-xml-java-doc.docs
   trunk/simple-xml/debian/libsimple-xml-java.dirs
   trunk/simple-xml/debian/repack.sh
   trunk/simple-xml/debian/rules
   trunk/simple-xml/debian/watch
Log:
Initial upload of simple-xml debian/ folder



Added: trunk/simple-xml/debian/README.source
===================================================================
--- trunk/simple-xml/debian/README.source	                        (rev 0)
+++ trunk/simple-xml/debian/README.source	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,18 @@
+The original upstream source package has been modified in the way
+that it does not include any binary files (e.g. *.jar), neither 
+dependencies of this library nor the library itself.
+
+The dependencies of this software will be provided by the corresponding
+Debian packages and the binary of this software will be created
+if you build this source package.
+
+Files which were removed from the orignal source tarball:
+
+lib/*.jar
+jar/*.jar
+test/lib/*.jar
+
+
+If you want to repack the original upstream source to not include this files,
+you can use the repack script which is included in this source package.
+

Added: trunk/simple-xml/debian/ant.properties
===================================================================
--- trunk/simple-xml/debian/ant.properties	                        (rev 0)
+++ trunk/simple-xml/debian/ant.properties	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,2 @@
+build.sysclasspath=only
+javadoc.path=api

Added: trunk/simple-xml/debian/changelog
===================================================================
--- trunk/simple-xml/debian/changelog	                        (rev 0)
+++ trunk/simple-xml/debian/changelog	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,16 @@
+simple-xml (2.1.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Added initial watch-file
+  * Added repack script to remove binary jar-files from upstream source tarball
+  * Set Debian Java Team as Maintainer, me as uploader
+  * Change build-depends openjdk-6-jdk to default-jdk
+  * Change runtime dependency java5-runtime-headless to java2-runtime-headless
+
+ -- Fabian Köster <koesterreich at gmx.net>  Sun, 11 Oct 2009 17:23:22 +0200
+
+simple-xml (2.1.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #549566)
+
+ -- Fabian Köster <koesterreich at gmx.net>  Sun, 04 Oct 2009 17:43:51 +0200

Added: trunk/simple-xml/debian/compat
===================================================================
--- trunk/simple-xml/debian/compat	                        (rev 0)
+++ trunk/simple-xml/debian/compat	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1 @@
+7

Added: trunk/simple-xml/debian/control
===================================================================
--- trunk/simple-xml/debian/control	                        (rev 0)
+++ trunk/simple-xml/debian/control	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,33 @@
+Source: simple-xml
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Fabian Köster <koesterreich at gmx.net>
+Build-Depends: ant, debhelper (>= 7), cdbs, default-jdk
+Standards-Version: 3.8.3
+Homepage: http://simple.sourceforge.net/
+
+Package: libsimple-xml-java
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Suggests: java-virtual-machine, libsimple-xml-java-doc
+Description: A XML serialization and configuration framework for Java
+ Simple is a high performance XML serialization and configuration framework for Java.
+ Its goal is to provide an XML framework that enables rapid development of XML configuration and communication systems.
+ This framework aids the development of XML systems with minimal effort and reduced errors.
+ It offers full object serialization and deserialization, maintaining each reference encountered.
+ In essence it is similar to C# XML serialization for the Java platform, but offers additional features for interception and manipulation. 
+
+Package: libsimple-xml-java-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: libsimple-xml-java
+Description: API Documentation for libsimple-xml-java
+ Simple is a high performance XML serialization and configuration framework for Java.
+ Its goal is to provide an XML framework that enables rapid development of XML configuration and communication systems.
+ This framework aids the development of XML systems with minimal effort and reduced errors.
+ It offers full object serialization and deserialization, maintaining each reference encountered.
+ In essence it is similar to C# XML serialization for the Java platform, but offers additional features for interception and manipulation.
+ .
+ This package provides the Javadoc API for Simple.

Added: trunk/simple-xml/debian/copyright
===================================================================
--- trunk/simple-xml/debian/copyright	                        (rev 0)
+++ trunk/simple-xml/debian/copyright	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,37 @@
+This package was debianized by Fabian Köster <koesterreich at gmx.net> on
+Sun, 04 Oct 2009 17:43:51 +0200.
+
+It was downloaded from <http://simple.sourceforge.net/>.
+
+Upstream Author:
+
+    Niall Gallagher <niallg at users.sf.net>
+
+Copyright:
+
+    Copyright (C) 2007, Niall Gallagher <niallg at users.sf.net>
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is:
+
+    Copyright (C) 2009 Fabian Köster <koesterreich at gmx.net>
+
+and is licensed under the GPL version 3, 
+see `/usr/share/common-licenses/GPL-3'.

Added: trunk/simple-xml/debian/libsimple-xml-java-doc.doc-base
===================================================================
--- trunk/simple-xml/debian/libsimple-xml-java-doc.doc-base	                        (rev 0)
+++ trunk/simple-xml/debian/libsimple-xml-java-doc.doc-base	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,9 @@
+Document: libsimple-xml-java-doc
+Title: Javadoc API for Simple
+Author: Niall Gallagher <niallg at users.sf.net>
+Abstract: The javadoc API of the Simple XML Serialization and Configuration Framework
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libsimple-xml-java-doc/api/index.html
+Files: /usr/share/doc/libsimple-xml-java-doc/api/*

Added: trunk/simple-xml/debian/libsimple-xml-java-doc.docs
===================================================================
--- trunk/simple-xml/debian/libsimple-xml-java-doc.docs	                        (rev 0)
+++ trunk/simple-xml/debian/libsimple-xml-java-doc.docs	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1 @@
+api

Added: trunk/simple-xml/debian/libsimple-xml-java.dirs
===================================================================
--- trunk/simple-xml/debian/libsimple-xml-java.dirs	                        (rev 0)
+++ trunk/simple-xml/debian/libsimple-xml-java.dirs	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1 @@
+usr/share/java

Added: trunk/simple-xml/debian/repack.sh
===================================================================
--- trunk/simple-xml/debian/repack.sh	                        (rev 0)
+++ trunk/simple-xml/debian/repack.sh	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,36 @@
+#! /bin/sh
+
+## This script takes the simple-xml upstream tarball and repacks it without
+## including any binary jar files.
+
+TEMP_DIR=simple-xml-repack-tmp
+SOURCE_FILE=$1
+
+# Create a temporary directory for repacking
+mkdir ${TEMP_DIR}
+
+# Unpack the source into the temporary directory
+tar xzf ${SOURCE_FILE} -C ${TEMP_DIR}
+
+# Change into temporary directory
+cd ${TEMP_DIR}
+
+# Remove binary files
+rm */lib/*.jar
+rm */jar/*.jar
+rm */test/lib/*.jar
+
+# Repack the source
+tar czf ${SOURCE_FILE} *
+
+# Change back to working directory
+cd ..
+
+# Remove old source file
+rm ${SOURCE_FILE}
+
+# Move new source file up
+mv ${TEMP_DIR}/${SOURCE_FILE} .
+
+# Remove temporary directory
+rm -r ${TEMP_DIR}

Added: trunk/simple-xml/debian/rules
===================================================================
--- trunk/simple-xml/debian/rules	                        (rev 0)
+++ trunk/simple-xml/debian/rules	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME               := /usr/lib/jvm/default-java
+DEB_ANT_BUILDFILE       := build.xml
+DEB_ANT_BUILD_TARGET    := build javadoc
+DEB_JARS 		:= stax stax-api
+
+install/libsimple-xml-java::
+	dh_install jar/simple-xml-$(DEB_UPSTREAM_VERSION).jar usr/share/java
+	dh_link /usr/share/java/simple-xml-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/simple-xml.jar     


Property changes on: trunk/simple-xml/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/simple-xml/debian/watch
===================================================================
--- trunk/simple-xml/debian/watch	                        (rev 0)
+++ trunk/simple-xml/debian/watch	2009-10-11 15:30:07 UTC (rev 10798)
@@ -0,0 +1,4 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+http://sf.net/simple/simple-xml-(.*)\.tar\.gz




More information about the pkg-java-commits mailing list