This is an automated email from the git hooks/post-receive script. tjaalton-guest pushed a commit to branch master in repository relaxngcc.
commit 9cdd924ebc006c67b44104fc6034d67c0af75643 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Tue Dec 17 13:07:19 2013 +0200 initial packaging --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 34 +++++++++++++++++++++ debian/copyright | 57 ++++++++++++++++++++++++++++++++++++ debian/librelaxngcc-java-doc.javadoc | 1 + debian/librelaxngcc-java.jlibs | 1 + debian/relaxngcc-build.xml | 44 ++++++++++++++++++++++++++++ debian/rules | 36 +++++++++++++++++++++++ debian/source/format | 1 + 9 files changed, 180 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0fcb43a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +relaxngcc (20031218-1) unstable; urgency=low + + * Initial release. (Closes: #732374) + + -- Ade Lee <a...@redhat.com> Tue, 03 Dec 2013 22:03:45 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0f54412 --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: relaxngcc +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org> +Uploaders: Timo Aaltonen <tjaal...@ubuntu.com> +Build-Depends: debhelper (>= 9), default-jdk, javahelper (>= 0.45), + ant, + javacc, + libmsv-java, +Standards-Version: 3.9.5 +Vcs-Git: git://anonscm.debian.org/pkg-java/xsom.git +Vcs-Browser: http://anonscm.debian.org/git/pkg-java/xsom.git +Homepage: http://relaxngcc.sourceforge.net/en/index.htm + +Package: librelaxngcc-java +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Recommends: ${java:Recommends} +Description: RELAX NG Compiler Compiler + RelaxNGCC is a tool for generating Java source code from a given RELAX NG + grammar. By embedding code fragments in the grammar like yacc or JavaCC, you can + take appropriate actions while parsing valid XML documents against the grammar. + +Package: librelaxngcc-java-doc +Architecture: all +Section: doc +Depends: ${java:Depends}, ${misc:Depends} +Recommends: ${java:Recommends} +Description: RELAX NG Compiler Compiler -- documentation + RelaxNGCC is a tool for generating Java source code from a given RELAX NG + grammar. By embedding code fragments in the grammar like yacc or JavaCC, you can + take appropriate actions while parsing valid XML documents against the grammar. + . + This package contains javadoc for librelaxngcc-java. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c00f5f1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,57 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: relaxngcc +Source: http://relaxngcc.sourceforge.net/en/index.htm + +Files: * +Copyright: 2000-2003, Daisuke Okajima and Kohsuke Kawaguchi +License: ASL-1.1 + +License: ASL-1.1 + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. The end-user documentation included with the redistribution, if + any, must include the following acknowledgment: + . + "This product includes software developed by Daisuke Okajima + and Kohsuke Kawaguchi (http://relaxngcc.sf.net/)." + . + Alternately, this acknowledgment may appear in the software itself, + if and wherever such third-party acknowledgments normally appear. + . + 4. The names of the copyright holders must not be used to endorse or + promote products derived from this software without prior written + permission. For written permission, please contact the copyright + holders. + . + 5. Products derived from this software may not be called "RELAXNGCC", + nor may "RELAXNGCC" appear in their name, without prior written + permission of the copyright holders. + . + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: debian/* +Copyright: 2013, Ade Lee <a...@redhat.com> +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the full text of the Apache-2.0 license + can be found in the file '/usr/share/common-licenses/Apache-2.0' diff --git a/debian/librelaxngcc-java-doc.javadoc b/debian/librelaxngcc-java-doc.javadoc new file mode 100644 index 0000000..6506a5c --- /dev/null +++ b/debian/librelaxngcc-java-doc.javadoc @@ -0,0 +1 @@ +<javadoc build dir here> diff --git a/debian/librelaxngcc-java.jlibs b/debian/librelaxngcc-java.jlibs new file mode 100644 index 0000000..e45ffe4 --- /dev/null +++ b/debian/librelaxngcc-java.jlibs @@ -0,0 +1 @@ +relaxngcc.jar diff --git a/debian/relaxngcc-build.xml b/debian/relaxngcc-build.xml new file mode 100644 index 0000000..905bd36 --- /dev/null +++ b/debian/relaxngcc-build.xml @@ -0,0 +1,44 @@ +<?xml version="1.0"?> + +<project name="relaxngcc" default="jar"> + + <!-- Compile Java source files: --> + <target name="compile"> + <mkdir dir="bin"/> + <javacc target="src/relaxngcc/javabody/JavaBodyParser.jj" outputdirectory="src/relaxngcc/javabody" javacchome="lib" static="false"/> + <javac srcdir="src" destdir="bin" debug="on" optimize="off" classpath="lib"> + <classpath> + <fileset dir="lib" includes="**/*.jar"/> + </classpath> + </javac> + </target> + + <!-- Generate javadoc documentation: --> + <target name="javadoc" depends="compile"> + <mkdir dir="javadoc"/> + <javadoc locale="en_US" sourcepath="src" destdir="javadoc" windowtitle="RelaxNGCC" public="yes"> + <package name="relaxngcc.*"/> + <classpath> + <fileset dir="lib" includes="*.jar"/> + </classpath> + </javadoc> + </target> + + <!-- Create the jar file: --> + <target name="jar" depends="compile"> + <tstamp/> + <jar jarfile="relaxngcc.jar"> + <manifest> + <attribute name="Version" value="${DSTAMP}"/> + <attribute name="Main-Class" value="relaxngcc.RelaxNGCC"/> + </manifest> + <fileset dir="src" includes="**/*.properties"/> + <fileset dir="src" includes="**/*.xsl"/> + <fileset dir="src" includes="**/*.jelly"/> + <fileset dir="src" includes="relaxngcc/runtime/*.java"/> + <fileset dir="bin" includes="**/*.class"/> + <fileset dir="." includes="project.xml"/> + </jar> + </target> + +</project> diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5d72545 --- /dev/null +++ b/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +export JAVA_HOME=/usr/lib/jvm/default-java + +# Put depended upon jars in here +# export CLASSPATH= + +%: + dh $@ --with javahelper + +override_dh_auto_build: + mkdir lib + ln -sf /usr/share/java/msv-core.jar lib + ln -sf /usr/share/java/relaxngDatatype.jar lib + ln -sf /usr/share/java/xercesImpl.jar lib + ln -sf /usr/share/java/xsdlib.jar lib + ln -sf /usr/share/java/javacc.jar lib + ant jar javadoc + +get-orig-source: + wget http://prdownloads.sourceforge.net/relaxngcc/relaxngcc-$(DEB_UPSTREAM_VERSION).zip + unzip relaxngcc-$(DEB_UPSTREAM_VERSION).zip + cp debian/relaxngcc-build.xml relaxngcc-$(DEB_UPSTREAM_VERSION)/build.xml + find relaxngcc-$(DEB_UPSTREAM_VERSION) -name "*.jar" -delete + find relaxngcc-$(DEB_UPSTREAM_VERSION) -name '*.class' -delete + rm relaxngcc-$(DEB_UPSTREAM_VERSION)/src/relaxngcc/javabody/*.java + rm relaxngcc-$(DEB_UPSTREAM_VERSION)/src/relaxngcc/maven/ChildAntProjectTag.java + find relaxngcc-$(DEB_UPSTREAM_VERSION) -type f -exec dos2unix {} \; + native2ascii -encoding UTF8 relaxngcc-$(DEB_UPSTREAM_VERSION)/src/relaxngcc/builder/SwitchBlockInfo.java src/relaxngcc/builder/SwitchBlockInfo.java + tar -cvzf "relaxngcc_$(DEB_UPSTREAM_VERSION).orig.tar.gz" relaxngcc-$(DEB_UPSTREAM_VERSION) + +override_dh_auto_clean: + dh_clean + -rm -rf bin javadoc lib relaxngcc.jar + -rm -f src/relaxngcc/javabody/*.java + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/relaxngcc.git _______________________________________________ pkg-java-commits mailing list pkg-java-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits