This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libjna-posix-java.

commit 005f85d6a425d46398cde9633d5bf94085e13523
Author: Nicolas Duboc <[email protected]>
Date:   Sun Jan 10 15:24:40 2010 +0100

    Imported Debian patch 1.0.1-1
---
 .topdeps                                   |   1 +
 .topmsg                                    |   6 ++
 debian/changelog                           |   5 ++
 debian/compat                              |   1 +
 debian/control                             |  29 ++++++++
 debian/copyright                           | 111 +++++++++++++++++++++++++++++
 debian/libjna-posix-java-doc.README.Debian |  15 ++++
 debian/libjna-posix-java.README.Debian     |  16 +++++
 debian/rules                               |  64 +++++++++++++++++
 9 files changed, 248 insertions(+)

diff --git a/.topdeps b/.topdeps
new file mode 100644
index 0000000..0459513
--- /dev/null
+++ b/.topdeps
@@ -0,0 +1 @@
+upstream
diff --git a/.topmsg b/.topmsg
new file mode 100644
index 0000000..d279656
--- /dev/null
+++ b/.topmsg
@@ -0,0 +1,6 @@
+From: Nicolas Duboc <[email protected]>
+Subject: [PATCH] master
+
+Debian directory.
+
+Signed-off-by: Nicolas Duboc <[email protected]>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..20a138b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libjna-posix-java (1.0.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #556367)
+
+ -- Nicolas Duboc <[email protected]>  Sun, 10 Jan 2010 15:24:40 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d1493b4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: libjna-posix-java
+Section: java
+Priority: optional
+Maintainer: Nicolas Duboc <[email protected]>
+Build-Depends: debhelper (>> 7.0.0), ant
+Build-Depends-Indep: default-jdk, libjna-java, junit4
+Standards-Version: 3.8.3
+Homepage: http://kenai.com/projects/jna-posix
+
+Package: libjna-posix-java
+Architecture: all
+Section: java
+Depends: ${misc:Depends}, default-jre | java5-runtime, libjna-java
+Description: basic POSIX-like functions for Java
+ This package is a Java library providing access to various
+ POSIX functions like chmod(2), link(2) or getuid(2) through
+ dynamic loading of native libraries with JNA.
+
+Package: libjna-posix-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Recommends: w3m | www-browser
+Suggests: libjna-posix-java
+Description: Java JNA-POSIX library API documentation
+ This package includes the development documentation for the
+ JNA-POSIX library which provides access to various POSIX
+ functions like chmod(2), link(2) or getuid(2) through
+ dynamic loading of native libraries with JNA.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..46da1b6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,111 @@
+This package was debianized by Nicolas Duboc <[email protected]> on
+Sun, Nov 22nd 2009.
+
+It was downloaded from the Mercurial repository at
+http://kenai.com/projects/jna-posix .
+
+Debian packaging (files in debian/ directory):
+Copyright @ 2009 Nicolas Duboc
+Licensed under the 3-clause BSD license (see /usr/share/common-licenses/BSD)
+
+Original package:
+Copyright (C) 2008 JRuby Community
+Copyright (C) 2007 Thomas E Enebo <[email protected]>
+Copyright (C) 2007 Charles O Nutter <[email protected]>
+Copyright (C) 2008 Google Inc. All Rights Reserved.
+
+jna-posix is released under a tri CPL/GPL/LGPL license. You can use it,
+redistribute it and/or modify it under the terms of the license of your choice.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License 2.0 can be found in `/usr/share/common-licenses/GPL-2'.
+The text of the GNU Lesser General Public License 2.1 can be found
+in `/usr/share/common-licenses/LGPL-2.1'.
+
+
+=== Common Public License - v 1.0
+
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC 
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM 
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+1. DEFINITIONS
+
+"Contribution" means:
+
+      a) in the case of the initial Contributor, the initial code and 
documentation distributed under this Agreement, and
+      b) in the case of each subsequent Contributor:
+
+      i) changes to the Program, and
+
+      ii) additions to the Program;
+
+      where such changes and/or additions to the Program originate from and 
are distributed by that particular Contributor. A Contribution 'originates' 
from a Contributor if it was added to the Program by such Contributor itself or 
anyone acting on such Contributor's behalf. Contributions do not include 
additions to the Program which: (i) are separate modules of software 
distributed in conjunction with the Program under their own license agreement, 
and (ii) are not derivative works of th [...]
+
+"Contributor" means any person or entity that distributes the Program.
+
+"Licensed Patents " mean patent claims licensable by a Contributor which are 
necessarily infringed by the use or sale of its Contribution alone or when 
combined with the Program.
+
+"Program" means the Contributions distributed in accordance with this 
Agreement.
+
+"Recipient" means anyone who receives the Program under this Agreement, 
including all Contributors.
+
+2. GRANT OF RIGHTS
+
+      a) Subject to the terms of this Agreement, each Contributor hereby 
grants Recipient a non-exclusive, worldwide, royalty-free copyright license to 
reproduce, prepare derivative works of, publicly display, publicly perform, 
distribute and sublicense the Contribution of such Contributor, if any, and 
such derivative works, in source code and object code form.
+
+      b) Subject to the terms of this Agreement, each Contributor hereby 
grants Recipient a non-exclusive, worldwide, royalty-free patent license under 
Licensed Patents to make, use, sell, offer to sell, import and otherwise 
transfer the Contribution of such Contributor, if any, in source code and 
object code form. This patent license shall apply to the combination of the 
Contribution and the Program if, at the time the Contribution is added by the 
Contributor, such addition of the Contr [...]
+
+      c) Recipient understands that although each Contributor grants the 
licenses to its Contributions set forth herein, no assurances are provided by 
any Contributor that the Program does not infringe the patent or other 
intellectual property rights of any other entity. Each Contributor disclaims 
any liability to Recipient for claims brought by any other entity based on 
infringement of intellectual property rights or otherwise. As a condition to 
exercising the rights and licenses grante [...]
+
+      d) Each Contributor represents that to its knowledge it has sufficient 
copyright rights in its Contribution, if any, to grant the copyright license 
set forth in this Agreement. 
+
+3. REQUIREMENTS
+
+A Contributor may choose to distribute the Program in object code form under 
its own license agreement, provided that:
+
+      a) it complies with the terms and conditions of this Agreement; and
+
+      b) its license agreement:
+
+      i) effectively disclaims on behalf of all Contributors all warranties 
and conditions, express and implied, including warranties or conditions of 
title and non-infringement, and implied warranties or conditions of 
merchantability and fitness for a particular purpose; 
+
+      ii) effectively excludes on behalf of all Contributors all liability for 
damages, including direct, indirect, special, incidental and consequential 
damages, such as lost profits; 
+
+      iii) states that any provisions which differ from this Agreement are 
offered by that Contributor alone and not by any other party; and
+
+      iv) states that source code for the Program is available from such 
Contributor, and informs licensees how to obtain it in a reasonable manner on 
or through a medium customarily used for software exchange. 
+
+When the Program is made available in source code form:
+
+      a) it must be made available under this Agreement; and 
+
+      b) a copy of this Agreement must be included with each copy of the 
Program. 
+
+Contributors may not remove or alter any copyright notices contained within 
the Program.
+
+Each Contributor must identify itself as the originator of its Contribution, 
if any, in a manner that reasonably allows subsequent Recipients to identify 
the originator of the Contribution.
+
+4. COMMERCIAL DISTRIBUTION
+
+Commercial distributors of software may accept certain responsibilities with 
respect to end users, business partners and the like. While this license is 
intended to facilitate the commercial use of the Program, the Contributor who 
includes the Program in a commercial product offering should do so in a manner 
which does not create potential liability for other Contributors. Therefore, if 
a Contributor includes the Program in a commercial product offering, such 
Contributor ("Commercial Con [...]
+
+For example, a Contributor might include the Program in a commercial product 
offering, Product X. That Contributor is then a Commercial Contributor. If that 
Commercial Contributor then makes performance claims, or offers warranties 
related to Product X, those performance claims and warranties are such 
Commercial Contributor's responsibility alone. Under this section, the 
Commercial Contributor would have to defend claims against the other 
Contributors related to those performance claims  [...]
+
+5. NO WARRANTY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN 
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR 
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, 
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each 
Recipient is solely responsible for determining the appropriateness of using 
and distributing the Program and assumes all risks associated with its exercise 
of rights under this Ag [...]
+
+6. DISCLAIMER OF LIABILITY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY 
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST 
PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS 
GRANTED HEREUNDER, EVEN IF [...]
+
+7. GENERAL
+
+If any provision of this Agreement is invalid or unenforceable under 
applicable law, it shall not affect the validity or enforceability of the 
remainder of the terms of this Agreement, and without further action by the 
parties hereto, such provision shall be reformed to the minimum extent 
necessary to make such provision valid and enforceable.
+
+If Recipient institutes patent litigation against a Contributor with respect 
to a patent applicable to software (including a cross-claim or counterclaim in 
a lawsuit), then any patent licenses granted by that Contributor to such 
Recipient under this Agreement shall terminate as of the date such litigation 
is filed. In addition, if Recipient institutes patent litigation against any 
entity (including a cross-claim or counterclaim in a lawsuit) alleging that the 
Program itself (excluding co [...]
+
+All Recipient's rights under this Agreement shall terminate if it fails to 
comply with any of the material terms or conditions of this Agreement and does 
not cure such failure in a reasonable period of time after becoming aware of 
such noncompliance. If all Recipient's rights under this Agreement terminate, 
Recipient agrees to cease use and distribution of the Program as soon as 
reasonably practicable. However, Recipient's obligations under this Agreement 
and any licenses granted by Reci [...]
+
+Everyone is permitted to copy and distribute copies of this Agreement, but in 
order to avoid inconsistency the Agreement is copyrighted and may only be 
modified in the following manner. The Agreement Steward reserves the right to 
publish new versions (including revisions) of this Agreement from time to time. 
No one other than the Agreement Steward has the right to modify this Agreement. 
IBM is the initial Agreement Steward. IBM may assign the responsibility to 
serve as the Agreement Stew [...]
+
+This Agreement is governed by the laws of the State of New York and the 
intellectual property laws of the United States of America. No party to this 
Agreement will bring a legal action under this Agreement more than one year 
after the cause of action arose. Each party waives its rights to a jury trial 
in any resulting litigation. 
diff --git a/debian/libjna-posix-java-doc.README.Debian 
b/debian/libjna-posix-java-doc.README.Debian
new file mode 100644
index 0000000..4334bc2
--- /dev/null
+++ b/debian/libjna-posix-java-doc.README.Debian
@@ -0,0 +1,15 @@
+Debian package of the JNA-POSIX library documentation
+-----------------------------------------------------
+
+ This package contains the documentation for the JNA-POSIX Java
+library which provides access to various POSIX functions like
+chmod(2), link(2) or getuid(2) through dynamic loading of native
+libraries with JNA.
+
+ API documentation (javadoc) is available in directory
+/usr/share/doc/libjna-posix-java-doc/javadoc .
+
+ The library itself is provided by the libjna-posix-java package.
+
+-- 
+Nicolas Duboc <[email protected]>
diff --git a/debian/libjna-posix-java.README.Debian 
b/debian/libjna-posix-java.README.Debian
new file mode 100644
index 0000000..c8e0a1e
--- /dev/null
+++ b/debian/libjna-posix-java.README.Debian
@@ -0,0 +1,16 @@
+Debian package of the JNA-POSIX library
+---------------------------------------
+
+ This package contains the JNA-POSIX Java library which provides
+access to various POSIX functions like chmod(2), link(2) or getuid(2)
+through dynamic loading of native libraries with JNA.
+
+ The library is composed of only one jar file. Developers should include the
+following path in the CLASSPATH:
+    /usr/share/java/jna-posix.jar
+
+ API documentation (javadoc) is provided by package libjna-posix-java-doc in
+directory /usr/share/doc/libjna-posix-java-doc/javadoc .
+
+-- 
+Nicolas Duboc <[email protected]>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8f06b51
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+
+# FIXME: support of DEB_BUILD_OPTIONS nocheck and nostrip
+
+JAVA_DIR = usr/share/java
+DOC_DIR = usr/share/doc/libjna-posix-java-doc
+PKG_BUILDDIR = debian/libjna-posix-java
+PKG_DOC_BUILDDIR = debian/libjna-posix-java-doc
+
+jarname = jna-posix
+jarversion = 1.0.1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       mkdir -p lib
+       ln -f -s /usr/share/java/junit4.jar lib/junit-4.4.jar
+       ln -f -s /usr/share/java/jna.jar lib/jna.jar
+       ant jar javadoc # skip tests as some fail
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+
+       rm -f build-stamp
+       ant clean
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_prep
+
+       dh_installdirs -p libjna-posix-java $(JAVA_DIR)
+
+       dh_install -p libjna-posix-java dist/jna-posix.jar $(JAVA_DIR)
+       mv $(PKG_BUILDDIR)/$(JAVA_DIR)/jna-posix.jar 
$(PKG_BUILDDIR)/$(JAVA_DIR)/$(jarname)-$(jarversion).jar
+       dh_link -p libjna-posix-java $(JAVA_DIR)/$(jarname)-$(jarversion).jar 
$(JAVA_DIR)/$(jarname).jar
+
+       dh_installdirs -p libjna-posix-java-doc $(DOC_DIR)
+       mv dist/javadoc $(PKG_DOC_BUILDDIR)/$(DOC_DIR)
+
+
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs --indep
+       dh_installdocs --indep
+       dh_compress --indep
+       dh_fixperms --indep
+       dh_installdeb --indep
+       dh_gencontrol --indep
+       dh_md5sums --indep
+       dh_builddeb --indep
+
+binary-arch:
+
+binary: binary-indep binary-arch
+
+
+.PHONY: build install clean binary-indep binary

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/libjna-posix-java.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to