[commons-jcs] 02/27: Initial Debian packaging.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Nov 16 18:51:12 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository commons-jcs.

commit 56113bfc1fecc1940bb4d56194a59e15f03d1459
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun May 3 01:06:38 2015 +0200

    Initial Debian packaging.
---
 debian/changelog                     |  5 ++++
 debian/compat                        |  1 +
 debian/control                       | 45 +++++++++++++++++++++++++++++++
 debian/copyright                     | 51 ++++++++++++++++++++++++++++++++++++
 debian/libcommons-jcs-java.poms      | 34 ++++++++++++++++++++++++
 debian/libcommons-jcs-java.substvars |  8 ++++++
 debian/maven.cleanIgnoreRules        |  1 +
 debian/maven.ignoreRules             |  7 +++++
 debian/maven.publishedRules          |  1 +
 debian/maven.rules                   | 18 +++++++++++++
 debian/rules                         | 10 +++++++
 debian/source/format                 |  1 +
 debian/watch                         |  6 +++++
 13 files changed, 188 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..89001b5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libcommons-jcs-java (2.0~beta1-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #783538)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 03 May 2015 00:47:19 +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..8e2ec32
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: libcommons-jcs-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
+Build-Depends: debhelper (>= 9),
+               cdbs,
+               default-jdk,
+               maven-debian-helper
+Build-Depends-Indep: libcommons-logging-java,
+                     default-jdk-doc
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/libcommons-jcs-java.git
+Vcs-Git: git://anonscm.debian.org/pkg-java/libcommons-jcs-java.git
+Homepage: http://commons.apache.org/jcs/
+
+Package: libcommons-jcs-java
+Architecture: all
+Depends: ${misc:Depends},
+         ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libcommons-jcs-java-doc
+Description: Apache Commons JCS - Java Caching System
+ JCS is a distributed caching system written in Java. It is intended to
+ speed up applications by providing a means to manage cached data of
+ various dynamic natures. Like any caching system, JCS is most useful for
+ high read, low put applications. Latency times drop sharply and
+ bottlenecks move away from the database in an effectively cached system.
+
+Package: libcommons-jcs-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+         ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
+Suggests: libcommons-jcs-java
+Description: Apache Commons JCS - Java Caching System Documentation
+ JCS is a distributed caching system written in Java. It is intended to
+ speed up applications by providing a means to manage cached data of
+ various dynamic natures. Like any caching system, JCS is most useful for
+ high read, low put applications. Latency times drop sharply and
+ bottlenecks move away from the database in an effectively cached system.
+ .
+ This package contains the API documentation of libcommons-jcs-java.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ce254d2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Apache Commons JCS
+Upstream-Contact: Apache Commons Developers (https://issues.apache.org/jira/browse/JCS)
+Source: http://archive.apache.org/dist/commons/jcs/source/
+
+Files: *
+Copyright: 2001-2015 The Apache Software Foundation.
+License: Apache-2.0
+
+Files: commons-jcs-jcache/src/main/java/org/apache/commons/jcs/jcache/JCSConfiguration.java
+Copyright: 2003-2010, Terracotta, Inc
+License: Apache-2.0
+
+Files: debian/*
+Copyright: Bas Couwenberg <sebastic at debian.org>
+License: Apache-2.0 or GPL-3+
+
+License: Apache-2.0
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ .
+     http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License can be found
+ in `/usr/share/common-licenses/Apache-2.0'.
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
diff --git a/debian/libcommons-jcs-java.poms b/debian/libcommons-jcs-java.poms
new file mode 100644
index 0000000..70540c0
--- /dev/null
+++ b/debian/libcommons-jcs-java.poms
@@ -0,0 +1,34 @@
+# 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
+commons-jcs-core/pom.xml
+commons-jcs-jcache/pom.xml
+commons-jcs-tck-tests/pom.xml
+commons-jcs-jcache-extras/pom.xml
+commons-jcs-jcache-openjpa/pom.xml
+commons-jcs-dist/pom.xml
diff --git a/debian/libcommons-jcs-java.substvars b/debian/libcommons-jcs-java.substvars
new file mode 100644
index 0000000..2cbfbef
--- /dev/null
+++ b/debian/libcommons-jcs-java.substvars
@@ -0,0 +1,8 @@
+#List of dependencies for libcommons-jcs-java, generated for use by debian/control
+maven.CompileDepends=ant, libmaven-jar-plugin-java
+maven.UpstreamPackageVersion=2.0~beta1
+maven.Depends=libcommons-logging-java, libcommons-parent-java (>= 22)
+maven.OptionalDepends=libcommons-dbcp-java, libcommons-pool-java
+maven.TestDepends=junit4, libhamcrest-java
+maven.DocDepends=default-jdk-doc, libcommons-logging-java-doc
+maven.DocOptionalDepends=libcommons-dbcp-java-doc, libcommons-pool-java-doc
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.cleanIgnoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..a00806a
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,7 @@
+
+org.apache.geronimo.specs geronimo-jcache_1.0_spec * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.apache.maven.plugins maven-pmd-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
+org.apache.rat apache-rat-plugin * * * *
+org.codehaus.mojo findbugs-maven-plugin * * * *
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..1ba5392
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,18 @@
+
+commons-dbcp commons-dbcp jar s/.*/debian/ * *
+commons-httpclient commons-httpclient jar s/3\..*/3.x/ * *
+junit junit jar s/4\..*/4.x/ * *
+org.apache.commons commons-jcs-core jar s/.*/debian/ * *
+org.apache.commons commons-jcs-dist pom s/.*/debian/ * *
+org.apache.commons commons-jcs-jcache-extras jar s/.*/debian/ * *
+org.apache.commons commons-jcs-jcache-openjpa jar s/.*/debian/ * *
+org.apache.commons commons-jcs-jcache-tck jar s/.*/debian/ * *
+org.apache.commons commons-jcs-jcache jar s/.*/debian/ * *
+org.apache.commons commons-jcs pom s/.*/debian/ * *
+org.apache.commons commons-parent pom s/.*/debian/ * *
+commons-logging s/commons-logging-api/commons-logging/ * s/.*/debian/ * *
+log4j log4j * s/1\.2\..*/1.2.x/ * *
+s/ant/org.apache.ant/ * * s/.*/debian/ * *
+s/org.apache.tomcat/javax.el/ el-api jar s/.*/2.1/ * *
+s/org.apache.tomcat/javax.servlet/ jsp-api jar s/.*/2.1/ * *
+s/org.apache.tomcat/javax.servlet/ servlet-api jar s/.*/2.5/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e30e8a2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download
+
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/watch b/debian/watch
new file mode 100644
index 0000000..47f04da
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)[_\.\-\+]?\d*)$/$1~$2/;s/RC/rc/;s/(RC|rc|pre|dev|beta|alpha)[_\.\-\+]/$1/ \
+http://archive.apache.org/dist/commons/jcs/source/ \
+(?:commons-)?jcs-(?:dist-)?(\d.*?)-src\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))

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



More information about the pkg-java-commits mailing list