[fest-reflect] 02/02: Add initial Java packaging
Andreas Tille
tille at debian.org
Sun Apr 26 05:45:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository fest-reflect.
commit 99d69107e41268719efedafa48f1c2b6083f27ff
Author: Andreas Tille <tille at debian.org>
Date: Sun Apr 26 07:35:53 2015 +0200
Add initial Java packaging
---
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 45 +++++++++++++++++++++++++++++++++
debian/copyright | 34 +++++++++++++++++++++++++
debian/libfest-reflect-java-doc.javadoc | 1 +
debian/libfest-reflect-java.poms | 28 ++++++++++++++++++++
debian/maven.properties | 7 +++++
debian/maven.rules | 6 +++++
debian/rules | 7 +++++
debian/source/format | 1 +
debian/source/lintian-overrides | 2 ++
debian/watch | 3 +++
12 files changed, 140 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..dcc614e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+fest-reflect (1.4.1-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org> Sat, 18 Apr 2015 09:10:11 +0200
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..38a0410
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: fest-reflect
+Section: java
+Priority: optional
+Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 9),
+ default-jdk,
+ default-jdk-doc,
+ javahelper,
+ junit4,
+ libfest-test-java,
+ libfest-util-java,
+ libfest-assert-java,
+ libmaven-javadoc-plugin-java,
+ libmockito-java,
+ maven-debian-helper
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/fest-reflect.git
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/fest-reflect.git
+Homepage: https://github.com/alexruiz/fest-reflect/
+
+Package: libfest-reflect-java
+Architecture: all
+Depends: ${maven:Depends}, ${misc:Depends}
+Suggests: libfest-reflect-java-doc, ${maven:OptionalDepends}
+Description: Java library for fluent reflection
+ FEST-Reflect provides an intuitive, compact and type-safe fluent API
+ that makes Java reflection tremendously easy to use: no more casting,
+ checked exceptions, PriviledgedActions or calls to setAccessible. FEST’s
+ reflection module can even overcome the limitations of generics and type
+ erasure.
+
+Package: libfest-swing-java-doc
+Architecture: all
+Section: doc
+Depends: ${maven:DocDepends}, ${misc:Depends}
+Suggests: libfest-swing-java, ${maven:DocOptionalDepends}
+Description: Documentation for libfest-reflect-java
+ FEST-Reflect provides an intuitive, compact and type-safe fluent API
+ that makes Java reflection tremendously easy to use: no more casting,
+ checked exceptions, PriviledgedActions or calls to setAccessible. FEST’s
+ reflection module can even overcome the limitations of generics and type
+ erasure.
+ .
+ This package contains the API documentation of libfest-reflect.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f0b48fc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fest-reflect
+Source: https://github.com/alexruiz/fest-reflect
+
+Files: *
+Copyright: 2010-2013, Alex Ruiz
+ 2010-2013, Ansgar Konermann
+ 2010-2013, Bo Gotthardt
+ 2010-2013, David DIDIER
+ 2010-2013, Florent Biville
+ 2010-2013, Guillaume Girou
+ 2010-2013, Joel Costigliola
+ 2010-2013, Maciej Jaskowski
+ 2010-2013, Mathieu Baechler
+ 2010-2013, Matthieu Baechler
+ 2010-2013, Mikhail Mazursky
+ 2010-2013, Nicolas François
+ 2010-2013, Olivier Demeijer
+ 2010-2013, Olivier Michallat
+ 2010-2013, Pauline Iogna
+ 2010-2013, Ted M. Young
+ 2010-2013, Ted Young
+ 2010-2013, Tomasz Nurkiewicz
+ 2010-2013, Yvonne Wang
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015, Andreas Tille <tille at debian.org>
+License: Apache-2.0
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+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/libfest-reflect-java-doc.javadoc b/debian/libfest-reflect-java-doc.javadoc
new file mode 100644
index 0000000..faea839
--- /dev/null
+++ b/debian/libfest-reflect-java-doc.javadoc
@@ -0,0 +1 @@
+target/site/apidocs usr/share/doc/libfest-swing-java/api
diff --git a/debian/libfest-reflect-java.poms b/debian/libfest-reflect-java.poms
new file mode 100644
index 0000000..64b1188
--- /dev/null
+++ b/debian/libfest-reflect-java.poms
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+# --ignore: ignore this POM and its artifact if any
+# --ignore-pom: don't install the POM. To use on POM files that are created
+# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+# --no-parent: remove the <parent> tag from the POM
+# --package=<package>: an alternative package to use when installing this POM
+# and its artifact
+# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+# of the version for the package.
+# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+# during a clean operation with mh_cleanpom or mh_installpom
+# --artifact=<path>: path to the build artifact associated with this POM,
+# it will be installed when using the command mh_install. [mh_install]
+# --java-lib: install the jar into /usr/share/java to comply with Debian
+# packaging guidelines
+# --usj-name=<name>: name to use when installing the library in /usr/share/java
+# --usj-version=<version>: version to use when installing the library in /usr/share/java
+# --no-usj-versionless: don't install the versionless link in /usr/share/java
+# --dest-jar=<path>: the destination for the real jar.
+# It will be installed with mh_install. [mh_install]
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+# Empty by default. [mh_install]
+#
+pom.xml --no-parent --has-package-version --java-lib
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..e088603
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,7 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+# Tests disabled due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707298
+# which causes a bunch of bogus test failures.
+maven.test.skip=true
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..fb9b667
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,6 @@
+
+junit junit jar s/.*/4.x/ * *
+junit junit jar s/4\..*/4.x/ * *
+org.easytesting fest-test jar * * *
+org.easytesting fest-util jar * * *
+org.mockito s/mockito-all/mockito-core/ * s/.*/debian/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..027d7eb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+export JAVA_HOME=/usr/lib/jvm/default-java
+export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
+
+%:
+ dh $@ --buildsystem=maven --with javahelper
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)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..624731e
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# This jar contains only IDE settings and no compiled classes
+fest-assert source: source-contains-prebuilt-java-object src/formatters/intellij-codestyle.jar
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..420fb0e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+https://github.com/alexruiz/fest-reflect/releases .*/archive/fest-reflect-(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/fest-reflect.git
More information about the pkg-java-commits
mailing list