[libquartz-java] 20/47: Add a *-doc package.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Oct 21 11:18:26 UTC 2015


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

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

commit 5e3130776598f65f47437a929d7825887009fdb3
Author: Torsten Werner <twerner at debian.org>
Date:   Wed Aug 17 12:00:01 2011 +0000

    Add a *-doc package.
---
 debian/README.Debian-source            | 13 -------------
 debian/README.source                   |  9 +++++++++
 debian/changelog                       |  3 ++-
 debian/control                         | 33 ++++++++++++++++++++++++++------
 debian/copyright                       | 35 ++++++++++++++++------------------
 debian/libquartz-java-doc.doc-base.api | 10 ++++++++++
 debian/libquartz-java-doc.install      |  2 ++
 debian/libquartz-java.substvars        |  8 --------
 debian/maven.properties                |  4 ++++
 debian/rules                           |  3 ++-
 10 files changed, 72 insertions(+), 48 deletions(-)

diff --git a/debian/README.Debian-source b/debian/README.Debian-source
deleted file mode 100644
index f4dde69..0000000
--- a/debian/README.Debian-source
+++ /dev/null
@@ -1,13 +0,0 @@
-libquartz-java
-==============
-
-The upstream supplied source package contains binary jar files.
-Currently no clean source distribution exists. Therefore, the upstream
-sources were modified to comply with the Debian Free Software
-Guidelines.
-
-Use the rules/get-orig-source target to create the orig.tar.gz.
-For more details on repackaging of upstream sources please see the 
-debian/orig-tar.sh file.
-
- -- Varun Hiremath <varunhiremath at gmail.com>, Thu,  8 Nov 2007 00:22:29 +0530
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..50f6162
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about libquartz-java
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
index 44e0dc6..3597152 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,9 @@ libquartz-java (1.7.3-1) unstable; urgency=low
   * Use Maven to build package because upstream has switched to Maven.
   * Switch to source format 3.0.
   * Remove Java runtime from Depends.
+  * Add a *-doc package.
 
- -- Torsten Werner <twerner at debian.org>  Wed, 17 Aug 2011 13:36:54 +0200
+ -- Torsten Werner <twerner at debian.org>  Wed, 17 Aug 2011 13:57:53 +0200
 
 libquartz-java (1.6.6-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index a47dd34..f0f1ff5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,18 +3,21 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Varun Hiremath <varun at debian.org>, Torsten Werner <twerner at debian.org>, Michael Koch <konqueror at gmx.de>
-Build-Depends: cdbs, debhelper (>= 7), default-jdk, ant
-Build-Depends-Indep: glassfish-javaee, libcommons-modeler-java,
- libservlet2.5-java, glassfish-mail, glassfish-javaee, libcommons-dbcp-java,
- glassfish-activation, junit
-Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4)
+Build-Depends-Indep: glassfish-activation, glassfish-javaee, glassfish-mail, libcommons-logging-java,  
+ libservlet2.5-java, junit, libasm3-java, default-jdk-doc, libcommons-logging-java-doc,  
+ libservlet2.5-java-doc, libcommons-beanutils-java-doc, libcommons-dbcp-java-doc,  
+ libcommons-pool-java-doc, liblog4j1.2-java-doc, libmaven-javadoc-plugin-java 
+Standards-Version: 3.9.1
 Homepage: http://quartz-scheduler.org
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libquartz-java
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libquartz-java
 
 Package: libquartz-java
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libquartz-java-doc
 Description: open source job scheduling system
  Quartz is a full-featured, open source job scheduling system that can
  be integrated with, or used along side virtually any J2EE or J2SE
@@ -24,3 +27,21 @@ Description: open source job scheduling system
  tens-of-thousands of jobs; jobs whose tasks are defined as standard
  Java components or EJBs. The Quartz Scheduler includes many
  enterprise-class features, such as JTA transactions and clustering.
+
+Package: libquartz-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
+Suggests: libquartz-java
+Description: open source job scheduling system - documentation
+ Quartz is a full-featured, open source job scheduling system that can
+ be integrated with, or used along side virtually any J2EE or J2SE
+ application - from the smallest stand-alone application to the
+ largest e-commerce system. Quartz can be used to create simple or
+ complex schedules for executing tens, hundreds, or even
+ tens-of-thousands of jobs; jobs whose tasks are defined as standard
+ Java components or EJBs. The Quartz Scheduler includes many
+ enterprise-class features, such as JTA transactions and clustering.
+ .
+ This package contains the API documentation of libquartz-java.
diff --git a/debian/copyright b/debian/copyright
index f4a93e7..b792ad4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,21 +1,18 @@
-This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
-Tue, 24 Apr 2007 17:19:10 +0530.
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Quartz Parent POM
+Maintainer:  James House <jhouse at terracotta.org> as Primary Developer 
+             Jason Voegele <jvoegele at terracotta.org> as Build Engineer, Release Engineer 
+Source: http://quartz-scheduler.org/
 
-It was downloaded from http://www.opensymphony.com/quartz/download.action
+Files: *
+Copyright: 2011, James House <jhouse at terracotta.org>
+License: Apache-2.0
+  On Debian GNU/Linux system you can find the complete text of the
+  Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0'
 
-Upstream Authors: OpenSymphony
-
-Copyright: (C) 2004-2006 OpenSymphony
-
-Previously Copyright: (C) 2001-2004 James House and (C) 2004 Third Eye Consulting, Inc. 
-
-License:
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-The full text of the Apache License can be found in
-`/usr/share/common-licenses/Apache-2.0' on Debian systems.
-
-The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath at gmail.com> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+Files: debian/*
+Copyright: 2007, Varun Hiremath <varunhiremath at gmail.com>
+           2011, Torsten Werner <twerner at debian.org>
+License: GPL
+  On Debian GNU/Linux system you can find the complete text of the
+  license in '/usr/share/common-licenses/GPL'
diff --git a/debian/libquartz-java-doc.doc-base.api b/debian/libquartz-java-doc.doc-base.api
new file mode 100644
index 0000000..44d2c94
--- /dev/null
+++ b/debian/libquartz-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: libquartz-java
+Title: API Javadoc for Quartz Parent POM
+Author: Quartz Parent POM developers
+Abstract: This is the API Javadoc provided for the
+ libquartz-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libquartz-java/api/index.html
+Files: /usr/share/doc/libquartz-java/api/*
diff --git a/debian/libquartz-java-doc.install b/debian/libquartz-java-doc.install
new file mode 100644
index 0000000..0c42fc4
--- /dev/null
+++ b/debian/libquartz-java-doc.install
@@ -0,0 +1,2 @@
+target/site/apidocs/* usr/share/doc/libquartz-java/api
+
diff --git a/debian/libquartz-java.substvars b/debian/libquartz-java.substvars
deleted file mode 100644
index 33b19b8..0000000
--- a/debian/libquartz-java.substvars
+++ /dev/null
@@ -1,8 +0,0 @@
-#List of dependencies for libquartz-java, generated for use by debian/control
-maven.CompileDepends=libmaven-compiler-plugin-java, libsurefire-java
-maven.UpstreamPackageVersion=1.7.3
-maven.Depends=glassfish-activation, glassfish-mail
-maven.OptionalDepends=
-maven.TestDepends=
-maven.DocDepends=default-jdk-doc
-maven.DocOptionalDepends=
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..7c29bd7
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,4 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
diff --git a/debian/rules b/debian/rules
index 1a409e2..5e68769 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,10 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/class/maven.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
 
 JAVA_HOME := /usr/lib/jvm/default-java
+DEB_MAVEN_DOC_TARGET := javadoc:jar javadoc:aggregate
 
 get-orig-source:
 	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download

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



More information about the pkg-java-commits mailing list