[pkg-java] r4810 - in trunk: . libjcip-annotations-java libjcip-annotations-java/debian

twerner at alioth.debian.org twerner at alioth.debian.org
Thu Nov 22 21:30:41 UTC 2007


Author: twerner
Date: 2007-11-22 21:30:41 +0000 (Thu, 22 Nov 2007)
New Revision: 4810

Added:
   trunk/libjcip-annotations-java/
   trunk/libjcip-annotations-java/debian/
   trunk/libjcip-annotations-java/debian/build.xml
   trunk/libjcip-annotations-java/debian/changelog
   trunk/libjcip-annotations-java/debian/compat
   trunk/libjcip-annotations-java/debian/control
   trunk/libjcip-annotations-java/debian/copyright
   trunk/libjcip-annotations-java/debian/doc-base
   trunk/libjcip-annotations-java/debian/libjcip-annotations-java-doc.docs
   trunk/libjcip-annotations-java/debian/rules
Log:
new package jcip-annotations


Added: trunk/libjcip-annotations-java/debian/build.xml
===================================================================
--- trunk/libjcip-annotations-java/debian/build.xml	                        (rev 0)
+++ trunk/libjcip-annotations-java/debian/build.xml	2007-11-22 21:30:41 UTC (rev 4810)
@@ -0,0 +1,80 @@
+<project name="jcip-annotations" default="dist" basedir=".">
+
+    <property name="root.dir" value="${basedir}"/>
+    <property name="src.dir" value="${root.dir}/src"/>
+    <property name="compile.dir" value="${root.dir}/classes"/>
+    <property name="dist.dir" value="${root.dir}/dist"/>
+    <property name="doc.dir" value="${root.dir}/doc"/>
+    <property name="javadoc.dir" value="${dist.dir}/javadoc"/>
+    <property name="javadoc.packages" value="net.jcip.*"/>
+    <property name="version" value="0.1"/>
+
+    <path id="jcip.classpath">
+        <pathelement location="${compile.dir}"/>
+    </path>
+
+    <target name="prepare">
+        <property environment="env"/>
+        <mkdir dir="${compile.dir}"/>
+        <mkdir dir="${dist.dir}"/>
+        <mkdir dir="${javadoc.dir}"/>
+    </target>
+
+
+    <target name="compile"
+            depends="prepare"
+            description="Compiles are Java files">
+        <javac destdir="${compile.dir}"
+               source="1.5"
+               classpathref="jcip.classpath"
+               debug="on"
+               deprecation="off"
+               optimize="off"
+               listfiles="false"
+               includes="net/jcip/annotations/**">
+            <src path="${src.dir}"/>
+        </javac>
+    </target>
+
+    <target name="jar"
+	    depends="compile"
+            description="Creates the jcip.jar.">
+        <jar destfile="${dist.dir}/jcip.jar"
+             basedir="${compile.dir}"
+             manifest="${src.dir}/META-INF/MANIFEST.MF"
+             includes="net/jcip/annotations/**">
+        </jar>
+    </target>
+
+    <target name="javadoc"
+            depends="prepare"
+            description="Create Javadoc documentation in the ./dist/javadoc directory">
+        <javadoc packagenames="${javadoc.packages}"
+                 sourcepath="${src.dir}"
+                 destdir="${javadoc.dir}"
+                 classpathref="jcip.classpath"
+                 author="true"
+                 version="true"
+                 use="true"
+                 bottom="Copyright (c) 2005 Brian Goetz and Tim Peierls"
+                 useexternalfile="yes"
+                 doctitle="Java Concurrency In Practice"
+                 overview="${src.dir}/net/jcip/annotations/package.html">
+        </javadoc>
+    </target>
+
+
+    <target name="clean"
+            description="Removes all class files and the ./dist directory">
+        <delete dir="${compile.dir}" failonerror="false"/>
+        <delete dir="${dist.dir}" failonerror="false"/>
+        <delete>
+            <fileset dir="${root.dir}" defaultexcludes="no">
+                <include name="**/*~"/>
+            </fileset>
+        </delete>
+    </target>
+    
+    <target name="dist" description="Build binary distribution" depends="prepare,jar,javadoc"/>
+    
+</project>
\ No newline at end of file

Added: trunk/libjcip-annotations-java/debian/changelog
===================================================================
--- trunk/libjcip-annotations-java/debian/changelog	                        (rev 0)
+++ trunk/libjcip-annotations-java/debian/changelog	2007-11-22 21:30:41 UTC (rev 4810)
@@ -0,0 +1,6 @@
+libjcip-annotations-java (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Rafal Lewczuk <rafal.lewczuk at gmail.com>  Wed, 21 Nov 2007 19:15:37 +0000
+

Added: trunk/libjcip-annotations-java/debian/compat
===================================================================
--- trunk/libjcip-annotations-java/debian/compat	                        (rev 0)
+++ trunk/libjcip-annotations-java/debian/compat	2007-11-22 21:30:41 UTC (rev 4810)
@@ -0,0 +1 @@
+5

Added: trunk/libjcip-annotations-java/debian/control
===================================================================
--- trunk/libjcip-annotations-java/debian/control	                        (rev 0)
+++ trunk/libjcip-annotations-java/debian/control	2007-11-22 21:30:41 UTC (rev 4810)
@@ -0,0 +1,25 @@
+Source: libjcip-annotations-java
+Section: contrib/libs
+Priority: extra
+Maintainer: Rafal Lewczuk <rafal.lewczuk at gmail.com>
+Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends-Indep: ant, java-gcj-compat-dev
+Standards-Version: 3.7.2
+
+Package: libjcip-annotations-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java2-runtime
+Description: Java Concurrency In Practice annotations library
+ This is a package with classes from Java Concurrency In Practice
+ book (blah blah, fixme)
+
+Package: libjcip-annotations-java-doc
+Architecture: all
+Section: docs
+Suggests: libjcip-annotations-java
+Description: Java Concurrency In Practice annotations library documentation
+ This is a package with classes from Java Concurrency In Practice
+ book (blah blah, fixme)
+ .
+ This package contains documentation.
+

Added: trunk/libjcip-annotations-java/debian/copyright
===================================================================
--- trunk/libjcip-annotations-java/debian/copyright	                        (rev 0)
+++ trunk/libjcip-annotations-java/debian/copyright	2007-11-22 21:30:41 UTC (rev 4810)
@@ -0,0 +1,26 @@
+This package was debianized by Rafal Lewczuk <rafal.lewczuk at gmail.com> on
+Wed, 21 Nov 2007 19:15:37 +0000.
+
+It was downloaded from http://www.jcip.net/jcip-annotations-src.jar
+
+Upstream Author(s): 
+
+    Brian Goetz
+    Tim Peierls
+
+Copyright: 
+
+    Copyright (c) 2005 Brian Goetz and Tim Peierls
+
+License:
+
+    Released under the Creative Commons Attribution License
+      (http://creativecommons.org/licenses/by/2.5)
+    Official home: http://www.jcip.net
+
+    Any republication or derived work distributed in source code form
+    must include this copyright and license notice.
+
+The Debian packaging is (C) 2007, Rafal Lewczuk <rafal.lewczuk at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+

Added: trunk/libjcip-annotations-java/debian/doc-base
===================================================================
--- trunk/libjcip-annotations-java/debian/doc-base	                        (rev 0)
+++ trunk/libjcip-annotations-java/debian/doc-base	2007-11-22 21:30:41 UTC (rev 4810)
@@ -0,0 +1,8 @@
+Document: libjcip-annitations-java-doc
+Title: JCIP Annotations
+Authors: xxx
+Abstract: Java Concurrency In Practice
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjcip-annotations-java-doc/api/index.html

Added: trunk/libjcip-annotations-java/debian/libjcip-annotations-java-doc.docs
===================================================================
--- trunk/libjcip-annotations-java/debian/libjcip-annotations-java-doc.docs	                        (rev 0)
+++ trunk/libjcip-annotations-java/debian/libjcip-annotations-java-doc.docs	2007-11-22 21:30:41 UTC (rev 4810)
@@ -0,0 +1 @@
+dist/javadoc

Added: trunk/libjcip-annotations-java/debian/rules
===================================================================
--- trunk/libjcip-annotations-java/debian/rules	                        (rev 0)
+++ trunk/libjcip-annotations-java/debian/rules	2007-11-22 21:30:41 UTC (rev 4810)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+  
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+# Add here any variable or target overrides you need.
+
+JAVA_HOME 		:= /usr/lib/jvm/java-6-sun
+DEB_ANT_BUILD_TARGET	:= dist
+
+install/jcip::
+	install -m 644 -D dist/jcip.jar $(DEB_DESTDIR)/usr/share/java/jcip-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/jcip-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jcip.jar


Property changes on: trunk/libjcip-annotations-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + 




More information about the pkg-java-commits mailing list