From 5a33b956e37cc1eacf8fa11a80a17b064e3226f2 Mon Sep 17 00:00:00 2001 From: Apollon Oikonomopoulos <apoikos@debian.org> Date: Fri, 4 Aug 2017 10:39:30 -0400 Subject: [PATCH] Initial Debian packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 24 +++++++++++++++++++++ debian/copyright | 30 +++++++++++++++++++++++++++ debian/footer.html | 2 ++ debian/header.html | 6 ++++++ debian/libclj-tuple-clojure.classpath | 1 + debian/libclj-tuple-clojure.doc-base | 9 ++++++++ debian/libclj-tuple-clojure.docs | 2 ++ debian/libclj-tuple-clojure.jlibs | 1 + debian/libclj-tuple-clojure.poms | 1 + debian/maven-meta/pom.properties | 5 +++++ debian/rules | 25 ++++++++++++++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 15 files changed, 115 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/footer.html create mode 100644 debian/header.html create mode 100644 debian/libclj-tuple-clojure.classpath create mode 100644 debian/libclj-tuple-clojure.doc-base create mode 100644 debian/libclj-tuple-clojure.docs create mode 100644 debian/libclj-tuple-clojure.jlibs create mode 100644 debian/libclj-tuple-clojure.poms create mode 100644 debian/maven-meta/pom.properties create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3ecc1ed --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +clj-tuple-clojure (0.2.2-1) unstable; urgency=medium + + * Initial release (Closes: #855716) + + -- Apollon Oikonomopoulos <apoikos@debian.org> Fri, 04 Aug 2017 10:36:32 -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..83bff32 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: clj-tuple-clojure +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Uploaders: Apollon Oikonomopoulos <apoikos@debian.org> +Build-Depends: clojure (>= 1.8), + debhelper (>= 10), + default-jdk, + javahelper (>= 0.43), + libtext-markdown-perl | markdown, + maven-repo-helper (>= 1.7) +Standards-Version: 4.0.0 +Vcs-Git: https://anonscm.debian.org/git/pkg-java/clj-tuple-clojure.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/clj-tuple-clojure.git +Homepage: http://github.com/ztellman/clj-tuple + +Package: libclj-tuple-clojure +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Recommends: ${java:Recommends} +Description: efficient implementations for small maps and vectors in Clojure + clj-tuple provides efficient implementations for small maps and vectors in + Clojure. The library is a drop-in replacement for Clojure's builtin vector and + hash-map types. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0ab5bf6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: clj-tuple +Source: http://github.com/ztellman/clj-tuple + +Files: * +Copyright: © 2015 Zachary Tellman +License: MIT/X11 + +Files: debian/* +Copyright: 2017, Apollon Oikonomopoulos <apoikos@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..691287b --- /dev/null +++ b/debian/footer.html @@ -0,0 +1,2 @@ +</body> +</html> \ No newline at end of file diff --git a/debian/header.html b/debian/header.html new file mode 100644 index 0000000..ee9392d --- /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> \ No newline at end of file diff --git a/debian/libclj-tuple-clojure.classpath b/debian/libclj-tuple-clojure.classpath new file mode 100644 index 0000000..303ce1a --- /dev/null +++ b/debian/libclj-tuple-clojure.classpath @@ -0,0 +1 @@ +usr/share/java/clj-tuple.jar /usr/share/java/clojure.jar diff --git a/debian/libclj-tuple-clojure.doc-base b/debian/libclj-tuple-clojure.doc-base new file mode 100644 index 0000000..740e883 --- /dev/null +++ b/debian/libclj-tuple-clojure.doc-base @@ -0,0 +1,9 @@ +Document: clj-tuple +Title: clj-tuple +Author: +Abstract: clj-tuple +Section: Programming + +Format: Text +Index: /usr/share/doc/libclj-tuple-clojure/README.md +Files: /usr/share/doc/libclj-tuple-clojure/README.md diff --git a/debian/libclj-tuple-clojure.docs b/debian/libclj-tuple-clojure.docs new file mode 100644 index 0000000..0d4e26e --- /dev/null +++ b/debian/libclj-tuple-clojure.docs @@ -0,0 +1,2 @@ +*.md +doc/* diff --git a/debian/libclj-tuple-clojure.jlibs b/debian/libclj-tuple-clojure.jlibs new file mode 100644 index 0000000..9d76e58 --- /dev/null +++ b/debian/libclj-tuple-clojure.jlibs @@ -0,0 +1 @@ +clj-tuple.jar diff --git a/debian/libclj-tuple-clojure.poms b/debian/libclj-tuple-clojure.poms new file mode 100644 index 0000000..52bafea --- /dev/null +++ b/debian/libclj-tuple-clojure.poms @@ -0,0 +1 @@ +debian/maven-meta/pom.xml --usj-name=core.cache diff --git a/debian/maven-meta/pom.properties b/debian/maven-meta/pom.properties new file mode 100644 index 0000000..ba112cb --- /dev/null +++ b/debian/maven-meta/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Wed Aug 08 06:38:33 CDT 2012 +version=0.2.395 +groupId=org.clojure +artifactId=core.async diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ce1dd12 --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +include /usr/share/javahelper/java-vars.mk +export JAVA_HOME=/usr/lib/jvm/default-java +export CLASSPATH=/usr/share/java/clojure.jar + +PRODUCED_JAR=clj-tuple.jar +NAMESPACE=clj-tuple/clj-tuple +MAVEN_META=META-INF/maven/$(NAMESPACE) + +%: + dh $@ --with javahelper,jh_maven_repo_helper + +override_jh_build: + jh_build $(PRODUCED_JAR) src/clojure + jar uf $(PRODUCED_JAR) -C src clj_tuple.clj + mkdir -p $(CURDIR)/meta/$(MAVEN_META) + cp $(CURDIR)/debian/maven-meta/* $(CURDIR)/meta/$(MAVEN_META) + jar uf $(PRODUCED_JAR) -C meta/ META-INF + +override_jh_clean: + jh_clean + rm -f $(CURDIR)/$(PRODUCED_JAR) + rm -rf $(CURDIR)/doc/html + rm -rf $(CURDIR)/meta diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..46ebe02 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) \ No newline at end of file diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..679f50c --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/ztellman/clj-tuple/tags .*/archive/([\d.]+)\.tar\.gz -- GitLab