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

apoikos pushed a commit to branch master
in repository ring-defaults-clojure.

commit 375b478a310739f19aad71ba547cbd3338931ea1
Author: Apollon Oikonomopoulos <apoi...@debian.org>
Date:   Sat Aug 5 09:02:18 2017 -0400

    Initial Debian packaging
---
 debian/.gitignore                     |   1 +
 debian/changelog                      |   5 ++
 debian/compat                         |   1 +
 debian/control                        |  36 ++++++++++++
 debian/copyright                      |  30 ++++++++++
 debian/footer.html                    |   2 +
 debian/header.html                    |   6 ++
 debian/libring-defaults-clojure.docs  |   1 +
 debian/libring-defaults-clojure.jlibs |   1 +
 debian/libring-defaults-clojure.poms  |   1 +
 debian/pom.xml                        | 106 ++++++++++++++++++++++++++++++++++
 debian/rules                          |  35 +++++++++++
 debian/source/format                  |   1 +
 debian/watch                          |   3 +
 14 files changed, 229 insertions(+)

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..87ed251
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1 @@
+!pom.xml
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b1a3dcd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ring-defaults-clojure (0.3.1-1) unstable; urgency=medium
+
+  * Initial release (Closes: #855768)
+
+ -- Apollon Oikonomopoulos <apoi...@debian.org>  Sat, 05 Aug 2017 09:00:31 
-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..29a45fa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: ring-defaults-clojure
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
+Uploaders: Apollon Oikonomopoulos <apoi...@debian.org>
+Build-Depends:
+ debhelper (>= 10),
+ javahelper (>= 0.32),
+ maven-repo-helper (>= 1.7),
+ clojure (>= 1.8),
+ libtext-markdown-perl | markdown,
+ libring-core-clojure (>= 1.6.0),
+ libring-ssl-clojure (>= 0.3.0),
+ libring-headers-clojure (>= 0.3.0),
+ libring-anti-forgery-clojure (>= 1.1.0),
+ libring-mock-clojure (>= 0.3.0),
+ libservlet3.1-java,
+ default-jdk-headless
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/ring-defaults-clojure.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/ring-defaults-clojure.git
+Homepage: https://github.com/ring-clojure/ring-defaults
+
+Package: libring-defaults-clojure
+Architecture: all
+Depends:
+ ${java:Depends},
+ ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: Ring middleware that provides sensible defaults
+ Knowing what middleware to add to a Ring application, and in what
+ order, can be difficult and prone to error.
+ .
+ This library attempts to automate the process, by providing sensible
+ and secure default configurations of Ring middleware for both websites
+ and HTTP APIs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f63981c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ring-defaults
+Source: https://github.com/ring-clojure/ring-defaults
+
+Files: *
+Copyright: © 2017 James Reeves
+License: MIT/X11
+
+Files: debian/*
+Copyright: 2017 Apollon Oikonomopoulos <apoi...@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/footer.html b/debian/footer.html
new file mode 100644
index 0000000..308b1d0
--- /dev/null
+++ b/debian/footer.html
@@ -0,0 +1,2 @@
+</body>
+</html>
diff --git a/debian/header.html b/debian/header.html
new file mode 100644
index 0000000..c95191c
--- /dev/null
+++ b/debian/header.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html>
+<head>
+<title>@TITLE@</title>
+</head>
+<body>
diff --git a/debian/libring-defaults-clojure.docs 
b/debian/libring-defaults-clojure.docs
new file mode 100644
index 0000000..dd44972
--- /dev/null
+++ b/debian/libring-defaults-clojure.docs
@@ -0,0 +1 @@
+*.md
diff --git a/debian/libring-defaults-clojure.jlibs 
b/debian/libring-defaults-clojure.jlibs
new file mode 100644
index 0000000..aa2eb6c
--- /dev/null
+++ b/debian/libring-defaults-clojure.jlibs
@@ -0,0 +1 @@
+ring-defaults.jar
diff --git a/debian/libring-defaults-clojure.poms 
b/debian/libring-defaults-clojure.poms
new file mode 100644
index 0000000..c32502d
--- /dev/null
+++ b/debian/libring-defaults-clojure.poms
@@ -0,0 +1 @@
+debian/pom.xml --usj-name=ring-defaults
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..99575aa
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,106 @@
+<?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-defaults</artifactId>
+  <packaging>jar</packaging>
+  <version>0.3.1</version>
+  <name>ring-defaults</name>
+  <description>Ring middleware that provides sensible defaults</description>
+  <url>https://github.com/ring-clojure/ring-defaults</url>
+  <licenses>
+    <license>
+      <name>The MIT License</name>
+      <url>http://opensource.org/licenses/MIT</url>
+    </license>
+  </licenses>
+  <scm>
+    <tag>c46089bcd61de42258f018d2b4d714529e41a1ef
+</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.0</version>
+    </dependency>
+    <dependency>
+      <groupId>ring</groupId>
+      <artifactId>ring-ssl</artifactId>
+      <version>0.3.0</version>
+    </dependency>
+    <dependency>
+      <groupId>ring</groupId>
+      <artifactId>ring-headers</artifactId>
+      <version>0.3.0</version>
+    </dependency>
+    <dependency>
+      <groupId>ring</groupId>
+      <artifactId>ring-anti-forgery</artifactId>
+      <version>1.1.0</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>javax.servlet-api</artifactId>
+      <version>3.1.0</version>
+    </dependency>
+    <dependency>
+      <groupId>ring</groupId>
+      <artifactId>ring-mock</artifactId>
+      <version>0.3.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/rules b/debian/rules
new file mode 100755
index 0000000..c0b04ee
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+
+include /usr/share/javahelper/java-vars.mk
+
+MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
+
+PRODUCED_JAR=ring-defaults.jar
+export 
CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/ring-core.jar:/usr/share/java/ring-ssl.jar:/usr/share/java/ring-headers.jar:/usr/share/java/ring-anti-forgery.jar:/usr/share/java/servlet-api-3.1.jar
+TEST_CLASSPATH=/usr/share/java/ring-mock.jar
+
+%:
+       dh $@ --with javahelper --with jh_maven_repo_helper
+
+override_jh_build: $(MDWN_DOCS)
+       jar cf $(PRODUCED_JAR) -C src .
+       mkdir -p $(CURDIR)/doc/html && mv $(CURDIR)/*.html $(CURDIR)/doc/html
+
+override_jh_classpath:
+       jh_classpath $(PRODUCED_JAR)
+
+override_jh_clean:
+       jh_clean
+       rm -f $(CURDIR)/$(PRODUCED_JAR)
+       rm -rf $(CURDIR)/doc/html
+
+%.html:%.md
+       cat debian/header.html > $@
+       sed -i'' -e 's#@TITLE@#$(shell head -n 1 $< | sed 's/^#*\s*//')#g' $@
+       markdown $< >> $@
+       cat debian/footer.html >> $@
+
+override_dh_auto_test:
+       dh_auto_test
+       (cd test && find . -name "*.clj" | \
+               xargs --verbose clojure -cp 
$(CURDIR)/$(PRODUCED_JAR):$(CLASSPATH):$(TEST_CLASSPATH))
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..01fbdee
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s!.*/archive/([\d.]+)\.tar\.gz!ring-defaults-$1.tar.gz! \
+ https://github.com/ring-clojure/ring-defaults/releases 
.*/archive/([\d.]+)\.tar\.gz

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

_______________________________________________
pkg-java-commits mailing list
pkg-java-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to