[ring-clojure] 01/01: Initial Debian packaging
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Sat Aug 5 00:27:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository ring-clojure.
commit 7425ae6a43c57072b4c711546d0ba8693f2f80dc
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date: Fri Aug 4 19:19:48 2017 -0400
Initial Debian packaging
---
debian/changelog | 5 ++
debian/compat | 1 +
debian/control | 76 +++++++++++++++++
debian/copyright | 63 ++++++++++++++
debian/core.pom.xml | 111 +++++++++++++++++++++++++
debian/jetty-adapter.pom.xml | 96 +++++++++++++++++++++
debian/libring-core-clojure.classpath | 1 +
debian/libring-core-clojure.docs | 1 +
debian/libring-core-clojure.jlibs | 1 +
debian/libring-core-clojure.poms | 28 +++++++
debian/libring-jetty-adapter-clojure.classpath | 1 +
debian/libring-jetty-adapter-clojure.jlibs | 1 +
debian/libring-jetty-adapter-clojure.poms | 28 +++++++
debian/libring-servlet-clojure.classpath | 1 +
debian/libring-servlet-clojure.jlibs | 1 +
debian/libring-servlet-clojure.poms | 28 +++++++
debian/maven.rules | 1 +
debian/rules | 27 ++++++
debian/servlet.pom.xml | 86 +++++++++++++++++++
debian/source/format | 1 +
debian/watch | 2 +
21 files changed, 560 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6d25395
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ring-clojure (1.6.2-1) unstable; urgency=medium
+
+ * Initial release (Closes: #855749)
+
+ -- Apollon Oikonomopoulos <apoikos at debian.org> Fri, 04 Aug 2017 19:16:23 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a979e38
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,76 @@
+Source: ring-clojure
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Apollon Oikonomopoulos <apoikos at debian.org>
+Build-Depends: clojure (>= 1.8),
+ debhelper (>= 10),
+ default-jdk,
+ javahelper (>= 0.32),
+ libring-codec-clojure,
+ libcommons-io-java,
+ libcommons-fileupload-java,
+ libclj-http-clojure,
+ libclj-time-clojure,
+ libcrypto-random-clojure,
+ libcrypto-equality-clojure,
+ libjetty9-java,
+ markdown,
+ maven-repo-helper (>= 1.5~)
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/ring-clojure.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-java/ring-clojure.git
+Homepage: https://github.com/ring-clojure/ring
+
+Package: libring-core-clojure
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: Clojure web applications library
+ Ring is a Clojure web applications library inspired by Python's WSGI
+ and Ruby's Rack. By abstracting the details of HTTP into a simple,
+ unified API, Ring allows web applications to be constructed of modular
+ components that can be shared among a variety of applications, web
+ servers, and web frameworks.
+ .
+ This package contains the core Ring library.
+
+#TODO: missing ns-tracker
+#Package: libring-devel-clojure
+#Architecture: all
+#Depends: ${java:Depends}, ${misc:Depends}
+#Recommends: ${java:Recommends}
+#Description: Clojure web applications library - development
+# Ring is a Clojure web applications library inspired by Python's WSGI
+# and Ruby's Rack. By abstracting the details of HTTP into a simple,
+# unified API, Ring allows web applications to be constructed of modular
+# components that can be shared among a variety of applications, web
+# servers, and web frameworks.
+# .
+# This package contains the Ring development and debugging libraries.
+
+Package: libring-servlet-clojure
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: Clojure web applications library - servlet utilities
+ Ring is a Clojure web applications library inspired by Python's WSGI
+ and Ruby's Rack. By abstracting the details of HTTP into a simple,
+ unified API, Ring allows web applications to be constructed of modular
+ components that can be shared among a variety of applications, web
+ servers, and web frameworks.
+ .
+ This package contains the Ring servlet utility library.
+
+Package: libring-jetty-adapter-clojure
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: Clojure web applications library - Jetty adapter
+ Ring is a Clojure web applications library inspired by Python's WSGI
+ and Ruby's Rack. By abstracting the details of HTTP into a simple,
+ unified API, Ring allows web applications to be constructed of modular
+ components that can be shared among a variety of applications, web
+ servers, and web frameworks.
+ .
+ This package contains the Ring Jetty adapter.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3d8e52a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,63 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ring
+Source: https://github.com/ring-clojure/ring
+
+Files: *
+Copyright: © 2009-2017 Mark McGranaghan, James Reeves & contributors.
+License: MIT/X11
+
+Files: ring-devel/resources/ring/css/dump.css
+ ring-devel/resources/ring/css/stacktrace.css
+Copyright: (c) 2008, Yahoo! Inc. All rights reserved.
+License: BSD-3-Clause
+ Redistribution and use of this software in source and binary forms, with or
+ without modification, are permitted provided that the following conditions are
+ met:
+ .
+ Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ Neither the name of Yahoo! Inc. nor the names of YUI's contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission of Yahoo! Inc.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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 OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: 2017 Apollon Oikonomopoulos <apoikos at debian.org>
+License: MIT/X11
+
+License: MIT/X11
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/core.pom.xml b/debian/core.pom.xml
new file mode 100644
index 0000000..b2d87a1
--- /dev/null
+++ b/debian/core.pom.xml
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>ring</groupId>
+ <artifactId>ring-core</artifactId>
+ <packaging>jar</packaging>
+ <version>1.6.2</version>
+ <name>ring-core</name>
+ <description>Ring core libraries.</description>
+ <url>https://github.com/ring-clojure/ring</url>
+ <licenses>
+ <license>
+ <name>The MIT License</name>
+ <url>http://opensource.org/licenses/MIT</url>
+ </license>
+ </licenses>
+ <scm>
+ <tag>86237baaca7b17c2aa284ced054eb3785cd943a1
+</tag>
+ <url/>
+ </scm>
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>resources</directory>
+ </testResource>
+ </testResources>
+ <directory>target</directory>
+ <outputDirectory>target/classes</outputDirectory>
+ <plugins/>
+ </build>
+ <repositories>
+ <repository>
+ <id>central</id>
+ <url>https://repo1.maven.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>clojars</id>
+ <url>https://clojars.org/repo/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ <dependencyManagement>
+ <dependencies/>
+ </dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.clojure</groupId>
+ <artifactId>clojure</artifactId>
+ <version>1.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>ring</groupId>
+ <artifactId>ring-codec</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.5</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>clj-time</groupId>
+ <artifactId>clj-time</artifactId>
+ <version>0.11.0</version>
+ </dependency>
+ <dependency>
+ <groupId>crypto-random</groupId>
+ <artifactId>crypto-random</artifactId>
+ <version>1.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>crypto-equality</groupId>
+ <artifactId>crypto-equality</artifactId>
+ <version>1.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
+
+<!-- This file was autogenerated by Leiningen.
+ Please do not edit it directly; instead edit project.clj and regenerate it.
+ It should not be considered canonical data. For more information see
+ https://github.com/technomancy/leiningen -->
diff --git a/debian/jetty-adapter.pom.xml b/debian/jetty-adapter.pom.xml
new file mode 100644
index 0000000..ab7a562
--- /dev/null
+++ b/debian/jetty-adapter.pom.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>ring</groupId>
+ <artifactId>ring-jetty-adapter</artifactId>
+ <packaging>jar</packaging>
+ <version>1.6.2</version>
+ <name>ring-jetty-adapter</name>
+ <description>Ring Jetty adapter.</description>
+ <url>https://github.com/ring-clojure/ring</url>
+ <licenses>
+ <license>
+ <name>The MIT License</name>
+ <url>http://opensource.org/licenses/MIT</url>
+ </license>
+ </licenses>
+ <scm>
+ <tag>86237baaca7b17c2aa284ced054eb3785cd943a1
+</tag>
+ <url/>
+ </scm>
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>resources</directory>
+ </testResource>
+ </testResources>
+ <directory>target</directory>
+ <outputDirectory>target/classes</outputDirectory>
+ <plugins/>
+ </build>
+ <repositories>
+ <repository>
+ <id>central</id>
+ <url>https://repo1.maven.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>clojars</id>
+ <url>https://clojars.org/repo/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ <dependencyManagement>
+ <dependencies/>
+ </dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.clojure</groupId>
+ <artifactId>clojure</artifactId>
+ <version>1.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>ring</groupId>
+ <artifactId>ring-core</artifactId>
+ <version>1.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>ring</groupId>
+ <artifactId>ring-servlet</artifactId>
+ <version>1.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-server</artifactId>
+ <version>9.2.21.v20170120</version>
+ </dependency>
+ <dependency>
+ <groupId>clj-http</groupId>
+ <artifactId>clj-http</artifactId>
+ <version>2.2.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
+
+<!-- This file was autogenerated by Leiningen.
+ Please do not edit it directly; instead edit project.clj and regenerate it.
+ It should not be considered canonical data. For more information see
+ https://github.com/technomancy/leiningen -->
diff --git a/debian/libring-core-clojure.classpath b/debian/libring-core-clojure.classpath
new file mode 100644
index 0000000..65cebc8
--- /dev/null
+++ b/debian/libring-core-clojure.classpath
@@ -0,0 +1 @@
+/usr/share/java/ring-core.jar /usr/share/java/clojure.jar /usr/share/java/tools.reader.jar /usr/share/java/ring-codec.jar /usr/share/java/commons-io.jar /usr/share/java/commons-fileupload.jar /usr/share/java/clj-time.jar /usr/share/java/crypto-random.jar /usr/share/java/crypto-equality.jar
diff --git a/debian/libring-core-clojure.docs b/debian/libring-core-clojure.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libring-core-clojure.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libring-core-clojure.jlibs b/debian/libring-core-clojure.jlibs
new file mode 100644
index 0000000..2979798
--- /dev/null
+++ b/debian/libring-core-clojure.jlibs
@@ -0,0 +1 @@
+ring-core.jar
diff --git a/debian/libring-core-clojure.poms b/debian/libring-core-clojure.poms
new file mode 100644
index 0000000..0e61947
--- /dev/null
+++ b/debian/libring-core-clojure.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]
+#
+debian/core.pom.xml --usj-name=ring-core
diff --git a/debian/libring-jetty-adapter-clojure.classpath b/debian/libring-jetty-adapter-clojure.classpath
new file mode 100644
index 0000000..1231260
--- /dev/null
+++ b/debian/libring-jetty-adapter-clojure.classpath
@@ -0,0 +1 @@
+/usr/share/java/ring-jetty-adapter.jar /usr/share/java/clojure.jar /usr/share/java/ring-core.jar /usr/share/java/ring-servlet.jar /usr/share/java/jetty9-server.jar /usr/share/java/jetty9-util.jar /usr/share/java/jetty9-http.jar /usr/share/java/jetty9-io.jar
diff --git a/debian/libring-jetty-adapter-clojure.jlibs b/debian/libring-jetty-adapter-clojure.jlibs
new file mode 100644
index 0000000..2cb7146
--- /dev/null
+++ b/debian/libring-jetty-adapter-clojure.jlibs
@@ -0,0 +1 @@
+ring-jetty-adapter.jar
diff --git a/debian/libring-jetty-adapter-clojure.poms b/debian/libring-jetty-adapter-clojure.poms
new file mode 100644
index 0000000..4ac965a
--- /dev/null
+++ b/debian/libring-jetty-adapter-clojure.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]
+#
+debian/jetty-adapter.pom.xml --usj-name=ring-jetty-adapter
diff --git a/debian/libring-servlet-clojure.classpath b/debian/libring-servlet-clojure.classpath
new file mode 100644
index 0000000..5fecedb
--- /dev/null
+++ b/debian/libring-servlet-clojure.classpath
@@ -0,0 +1 @@
+/usr/share/java/ring-servlet.jar /usr/share/java/clojure.jar
diff --git a/debian/libring-servlet-clojure.jlibs b/debian/libring-servlet-clojure.jlibs
new file mode 100644
index 0000000..a7247d4
--- /dev/null
+++ b/debian/libring-servlet-clojure.jlibs
@@ -0,0 +1 @@
+ring-servlet.jar
diff --git a/debian/libring-servlet-clojure.poms b/debian/libring-servlet-clojure.poms
new file mode 100644
index 0000000..21a0de7
--- /dev/null
+++ b/debian/libring-servlet-clojure.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]
+#
+debian/servlet.pom.xml --usj-name=ring-servlet
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..afb03ab
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+* clojure * s/([0-9]+)\.([0-9]+).*/$1.$2.x/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..04c6de4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/javahelper/java-vars.mk
+
+CORE_CLASSPATH=$(shell cat debian/libring-core-clojure.classpath | cut -d ' ' -f 2- | sed 's/ /:/g')
+JETTY_CLASSPATH=$(shell cat debian/libring-jetty-adapter-clojure.classpath | cut -d ' ' -f 2- | sed 's/ /:/g')
+SERVLET_CLASSPATH=/usr/share/java/servlet-api-3.1.jar
+
+%:
+ dh $@ --with javahelper --with maven_repo_helper
+
+override_jh_build:
+ jar cf ring-core.jar -C ring-core/src .
+ jar cf ring-servlet.jar -C ring-servlet/src .
+ jar cf ring-jetty-adapter.jar -C ring-jetty-adapter/src .
+
+override_dh_auto_test:
+ find ring-core/test -name '*.clj' | \
+ xargs --verbose clojure -cp ring-core.jar:$(CORE_CLASSPATH)
+ find ring-servlet/test -name '*.clj' | \
+ xargs --verbose clojure -cp ring-servlet.jar:ring-core.jar:$(SERVLET_CLASSPATH)
+ find ring-jetty-adapter/test -name '*.clj' | \
+ xargs --verbose clojure -cp ring-jetty-adapter.jar:ring-servlet.jar:ring-core.jar:$(SERVLET_CLASSPATH):$(JETTY_CLASSPATH):/usr/share/java/clj-http.jar:/usr/share/java/commons-logging.jar
+
+override_jh_clean:
+ jh_clean
+ rm -f $(CURDIR)/*.jar
diff --git a/debian/servlet.pom.xml b/debian/servlet.pom.xml
new file mode 100644
index 0000000..fc96ccb
--- /dev/null
+++ b/debian/servlet.pom.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>ring</groupId>
+ <artifactId>ring-servlet</artifactId>
+ <packaging>jar</packaging>
+ <version>1.6.2</version>
+ <name>ring-servlet</name>
+ <description>Ring servlet utilities.</description>
+ <url>https://github.com/ring-clojure/ring</url>
+ <licenses>
+ <license>
+ <name>The MIT License</name>
+ <url>http://opensource.org/licenses/MIT</url>
+ </license>
+ </licenses>
+ <scm>
+ <tag>86237baaca7b17c2aa284ced054eb3785cd943a1
+</tag>
+ <url/>
+ </scm>
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>resources</directory>
+ </testResource>
+ </testResources>
+ <directory>target</directory>
+ <outputDirectory>target/classes</outputDirectory>
+ <plugins/>
+ </build>
+ <repositories>
+ <repository>
+ <id>central</id>
+ <url>https://repo1.maven.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>clojars</id>
+ <url>https://clojars.org/repo/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ <dependencyManagement>
+ <dependencies/>
+ </dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.clojure</groupId>
+ <artifactId>clojure</artifactId>
+ <version>1.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>ring</groupId>
+ <artifactId>ring-core</artifactId>
+ <version>1.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>3.1.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
+
+<!-- This file was autogenerated by Leiningen.
+ Please do not edit it directly; instead edit project.clj and regenerate it.
+ It should not be considered canonical data. For more information see
+ https://github.com/technomancy/leiningen -->
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..839d0e4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/ring-clojure/ring/releases .*/archive/([\d.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ring-clojure.git
More information about the pkg-java-commits
mailing list