[clojure] 04/11: Moved the library to its own libclojure1.8-java package

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Dec 22 16:28:27 UTC 2016


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

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

commit 50a8569ac645e7c72c701eeba77930933490ccf0
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Dec 22 15:54:20 2016 +0100

    Moved the library to its own libclojure1.8-java package
---
 debian/changelog |  1 +
 debian/control   | 31 ++++++++++++++++++++++++++++---
 debian/dirs      |  1 -
 debian/rules     |  4 ++--
 4 files changed, 31 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5b42d45..2faa6e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ clojure1.8 (1.8.0-1) UNRELEASED; urgency=medium
   * New upstream release
     - Rename the package to clojure1.8
     - Refreshed the patch
+  * Moved the library to its own libclojure1.8-java package
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 22 Dec 2016 15:38:43 +0100
 
diff --git a/debian/control b/debian/control
index 80a00bd..22d1f7a 100644
--- a/debian/control
+++ b/debian/control
@@ -21,11 +21,9 @@ Package: clojure1.8
 Architecture: all
 Depends:
  default-jre-headless | java6-runtime-headless,
- libasm-java (>= 5.0),
- libjsr166y-java,
+ libclojure1.8-java,
  ${misc:Depends}
 Recommends: rlwrap
-Conflicts: clojure (<= 1.1)
 Description: Lisp dialect for the JVM
  Clojure is a dynamic programming language that targets the Java Virtual
  Machine. It is designed to be a general-purpose language, combining the
@@ -43,3 +41,30 @@ Description: Lisp dialect for the JVM
  persistent data structures. When mutable state is needed, Clojure offers
  a software transactional memory system and reactive Agent system that
  ensure clean, correct, multithreaded designs.
+
+Package: libclojure1.8-java
+Architecture: all
+Depends:
+ libasm-java (>= 5.0),
+ libjsr166y-java,
+ ${misc:Depends}
+Section: java
+Description: Lisp dialect for the JVM (library)
+ Clojure is a dynamic programming language that targets the Java Virtual
+ Machine. It is designed to be a general-purpose language, combining the
+ approachability and interactive development of a scripting language with
+ an efficient and robust infrastructure for multithreaded programming.
+ Clojure is a compiled language - it compiles directly to JVM bytecode,
+ yet remains completely dynamic. Every feature supported by Clojure is
+ supported at runtime. Clojure provides easy access to the Java
+ frameworks, with optional type hints and type inference, to ensure that
+ calls to Java can avoid reflection.
+ .
+ Clojure is a dialect of Lisp, and shares with Lisp the code-as-data
+ philosophy and a powerful macro system. Clojure is predominantly a
+ functional programming language, and features a rich set of immutable,
+ persistent data structures. When mutable state is needed, Clojure offers
+ a software transactional memory system and reactive Agent system that
+ ensure clean, correct, multithreaded designs.
+ .
+ This package contains the library.
diff --git a/debian/dirs b/debian/dirs
index 83665fe..6fb741f 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1,2 +1 @@
-usr/share/java
 etc/rlwrap
diff --git a/debian/rules b/debian/rules
index 4eca118..6da9cae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,8 +24,8 @@ override_dh_install:
 
 	sed -i 's/@VER@/$(VER)/g' debian/$(SOURCE)/usr/bin/*
 	file-rename 's/$$/$(VER)/' debian/$(SOURCE)/usr/bin/*
-	mh_installpom -p$(SOURCE) --no-parent pom.xml
-	mh_installjar -p$(SOURCE) -l -s pom.xml clojure.jar /usr/share/java/clojure-$(VER).jar
+	mh_installpom -plib$(SOURCE)-java --no-parent pom.xml
+	mh_installjar -plib$(SOURCE)-java -l -s pom.xml clojure.jar /usr/share/java/clojure-$(VER).jar
 
 override_dh_installman:
 	dh_installman

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



More information about the pkg-java-commits mailing list