[pkg-java] r5757 - trunk/stringtemplate/debian

mkoch at alioth.debian.org mkoch at alioth.debian.org
Tue Feb 19 21:01:27 UTC 2008


Author: mkoch
Date: 2008-02-19 21:01:26 +0000 (Tue, 19 Feb 2008)
New Revision: 5757

Added:
   trunk/stringtemplate/debian/changelog
   trunk/stringtemplate/debian/compat
   trunk/stringtemplate/debian/control
   trunk/stringtemplate/debian/copyright
   trunk/stringtemplate/debian/libstringtemplate-java.links
   trunk/stringtemplate/debian/rules
Modified:
   trunk/stringtemplate/debian/
Log:
initial import


Property changes on: trunk/stringtemplate/debian
___________________________________________________________________
Name: svn:ignore
   + files
libstringtemplate-java


Added: trunk/stringtemplate/debian/changelog
===================================================================
--- trunk/stringtemplate/debian/changelog	                        (rev 0)
+++ trunk/stringtemplate/debian/changelog	2008-02-19 21:01:26 UTC (rev 5757)
@@ -0,0 +1,6 @@
+stringtemplate (3.0-1) unstable; urgency=low
+
+  * Initial version
+
+ -- Florian Weimer <fw at deneb.enyo.de>  Sun, 22 Apr 2007 14:46:17 +0200
+

Added: trunk/stringtemplate/debian/compat
===================================================================
--- trunk/stringtemplate/debian/compat	                        (rev 0)
+++ trunk/stringtemplate/debian/compat	2008-02-19 21:01:26 UTC (rev 5757)
@@ -0,0 +1 @@
+5

Added: trunk/stringtemplate/debian/control
===================================================================
--- trunk/stringtemplate/debian/control	                        (rev 0)
+++ trunk/stringtemplate/debian/control	2008-02-19 21:01:26 UTC (rev 5757)
@@ -0,0 +1,21 @@
+Source: stringtemplate
+Section: devel
+Standards-Version: 3.7.2.2
+Maintainer: Florian Weimer <fw at deneb.enyo.de>
+Priority: optional
+Build-Depends: cdbs (>= 0.4.8), debhelper (>> 5)
+Build-Depends-Indep: antlr, ant-optional, java-gcj-compat-dev
+
+Package: libstringtemplate-java
+Architecture: all
+Depends: antlr
+Description: StringTemplate templating engine for Java
+ StringTemplate is a java template engine for generating source code,
+ web pages, emails, or any other formatted text output. StringTemplate
+ is particularly good at multi-targeted code generators, multiple site
+ skins, and internationalization/localization.
+ .
+ Its distinguishing characteristic is that it strictly enforces
+ model-view separation unlike other engines.
+ .
+ Homepage: http://www.stringtemplate.org/

Added: trunk/stringtemplate/debian/copyright
===================================================================
--- trunk/stringtemplate/debian/copyright	                        (rev 0)
+++ trunk/stringtemplate/debian/copyright	2008-02-19 21:01:26 UTC (rev 5757)
@@ -0,0 +1,35 @@
+This is the Java StringTemplate package for Debian.  It was initially
+packaged by Florian Weimer on 2007-04-22.
+
+The source code was downloaded from <http://www.stringtemplate.org/>.
+In accordance with Debian's Java packaging best practices, all JARs
+were removed from the pristine sources.
+
+The full license text follows.
+
+[The "BSD licence"]
+Copyright (c) 2003-2006 Terence Parr
+All rights reserved.
+
+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 name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 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 AUTHOR 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.

Added: trunk/stringtemplate/debian/libstringtemplate-java.links
===================================================================
--- trunk/stringtemplate/debian/libstringtemplate-java.links	                        (rev 0)
+++ trunk/stringtemplate/debian/libstringtemplate-java.links	2008-02-19 21:01:26 UTC (rev 5757)
@@ -0,0 +1 @@
+/usr/share/java/stringtemplate-3.0.jar /usr/share/java/stringtemplate.jar

Added: trunk/stringtemplate/debian/rules
===================================================================
--- trunk/stringtemplate/debian/rules	                        (rev 0)
+++ trunk/stringtemplate/debian/rules	2008-02-19 21:01:26 UTC (rev 5757)
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+export JAVA_HOME := /usr/lib/jvm/java-gcj
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+    export ANT_OPTS=-Dcompile.debug=true -Dcompile.optimize=false
+else
+    export ANT_OPTS=-Dcompile.debug=true -Dcompile.optimize=true
+endif
+
+build:
+	ant -Dantlr2.jar=/usr/share/java/antlrall.jar jar
+	fmt README.txt > README
+
+install/libstringtemplate-java::
+	install -D -m 644 build/stringtemplate.jar \
+	  debian/libstringtemplate-java/usr/share/java/stringtemplate-3.0.jar
+
+clean::
+	rm -rf build README


Property changes on: trunk/stringtemplate/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-java-commits mailing list