--- clojure-contrib-1.2.0.orig/debian/copyright +++ clojure-contrib-1.2.0/debian/copyright @@ -0,0 +1,42 @@ +This work was packaged for Debian by Ramakrishnan Muthukrishnan +on Wed, 03 Feb 2010 12:44:25 +0530 + +It was downloaded from + +Upstream Authors: + + Alex Taggart + Chas Emerick + Chris Houser + Christophe Grand + Craig Andera + Craig McDaniel + Jason Wolfe + Jeffrey Straszheim + Konrad Hinsen + Laurent Petit + Matt Clark + Rich Hickey + Stephen C. Gilardi + Stuart Halloway + Stuart Sierra + Tom Faulhaber + +Copyright: + + Copyright (C) 2008-2009 Rich Hickey and other contributors listed above. + +License: + + Clojure-contrib is licensed under Eclipse Public License 1.0 which can + be found at: + A copy of EPL-1.0 is also found at the base directory of the source + code as a file epl-v10.html + + The clojure.contrib.math namespace is public domain. Everything else is + under the EPL v1.0. + +The Debian packaging is packaged by + Copyright (C) 2010 Ramakrishnan Muthukrishnan + Copyright (C) 2011 Daigo Moriwaki +and is licensed under the GPL version 3, see "/usr/share/common-licenses/GPL-3". --- clojure-contrib-1.2.0.orig/debian/rules +++ clojure-contrib-1.2.0/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f + +include /usr/share/javahelper/java-vars.mk + +SOURCE = $(shell dpkg-parsechangelog | grep ^Source | sed "s/Source: //") +VER = $(shell echo $(SOURCE) | sed s/^clojure//) + +VERSION = $(shell dpkg-parsechangelog | grep ^Version | sed "s/Version: //") +ORIG_VERSION = $(shell echo $(VERSION) | sed s/-.*//) +PRISTINE_VERSION = $(ORIG_VERSION) +UPSTREAM_VERSION = $(shell echo $(PRISTINE_VERSION) | sed s/^0\.0\.//) +SRCDIR_NAME = $(SOURCE)-$(ORIG_VERSION).orig + +export CLASSPATH=/usr/share/java/clojure-1.2.jar + +PRODUCED_JAR=clojure-contrib.jar + +%: + dh $@ --with javahelper --with maven_repo_helper + +override_jh_build: + jar cf $(PRODUCED_JAR) -C src/main/clojure . + (cd src/test/clojure && \ + find . -name "test_*.clj" | xargs clojure -cp $(CURDIR)/clojure-contrib.jar) + +override_jh_classpath: + jh_classpath $(PRODUCED_JAR) + +override_jh_installlibs: + jh_installlibs $(PRODUCED_JAR) + +override_dh_installdocs: + dh_installdocs README.txt + +override_dh_installchangelogs: + dh_installchangelogs Revisions + +override_jh_clean: + jh_clean + rm -f $(CURDIR)/$(PRODUCED_JAR) + +get-orig-source: + -uscan --verbose --force-download --no-symlink --upstream-version $(PRISTINE_VERSION) + mkdir debian/$(SRCDIR_NAME) + unzip -d debian/$(SRCDIR_NAME) ../clojure-contrib?$(UPSTREAM_VERSION).zip + if test "`ls -1 debian/$(SRCDIR_NAME) | wc -l`" -eq "1" ; then \ + subdir=`echo debian/$(SRCDIR_NAME)/*` && \ + mv $$subdir/* debian/$(SRCDIR_NAME) && \ + rmdir $$subdir ; \ + fi + rm -rf debian/$(SRCDIR_NAME)/target + tar czf ../$(SOURCE)_$(ORIG_VERSION).orig.tar.gz -C debian $(SRCDIR_NAME) + rm -rf debian/$(SRCDIR_NAME) + --- clojure-contrib-1.2.0.orig/debian/changelog +++ clojure-contrib-1.2.0/debian/changelog @@ -0,0 +1,35 @@ +clojure-contrib (1.2.0-2) unstable; urgency=low + + * Install a POM for clojure-contrib.jar + - debian/clojure-contrib.poms + - debian/maven.rules + + -- Daigo Moriwaki Sun, 18 Sep 2011 15:06:56 +0900 + +clojure-contrib (1.2.0-1) unstable; urgency=low + + * New upstream release. + * debian/watch: Corrected. + * debian/rules: + - Added get-orig-source target. + - Changed the build format to dh. + * debian/control: + - Talking with Ramakrishnan Muthukrishnan, I have took over this package. + - Bumped up Standards-Version to 3.9.2. + - Changed Section and Priority to match Java things. + - Corrected the short description to eliminate a lintian warning. + * debian/copyright: Updated + + -- Daigo Moriwaki Mon, 18 Jul 2011 19:57:46 +0900 + +clojure-contrib (1.1.0-2) unstable; urgency=low + + * debian/watch: upstream releases zip and not tar.gz. + + -- Ramakrishnan Muthukrishnan Mon, 22 Feb 2010 11:35:15 +0530 + +clojure-contrib (1.1.0-1) unstable; urgency=low + + * Initial release (Closes: #566962) + + -- Ramakrishnan Muthukrishnan Wed, 03 Feb 2010 12:44:25 +0530 --- clojure-contrib-1.2.0.orig/debian/clojure-contrib.poms +++ clojure-contrib-1.2.0/debian/clojure-contrib.poms @@ -0,0 +1 @@ +pom.xml --java-lib --has-package-version --artifact=*.jar --- clojure-contrib-1.2.0.orig/debian/compat +++ clojure-contrib-1.2.0/debian/compat @@ -0,0 +1 @@ +8 --- clojure-contrib-1.2.0.orig/debian/maven.rules +++ clojure-contrib-1.2.0/debian/maven.rules @@ -0,0 +1 @@ +* clojure * s/([0-9]+)\.([0-9]+).*/$1.$2.x/ * * --- clojure-contrib-1.2.0.orig/debian/watch +++ clojure-contrib-1.2.0/debian/watch @@ -0,0 +1,9 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://clojure.org/downloads/ .*clojure-contrib/clojure-contrib-([\d\.]*).zip --- clojure-contrib-1.2.0.orig/debian/control +++ clojure-contrib-1.2.0/debian/control @@ -0,0 +1,20 @@ +Source: clojure-contrib +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Daigo Moriwaki +Build-Depends: debhelper (>> 8), javahelper (>= 0.32), maven-repo-helper, clojure1.2, default-jdk +Standards-Version: 3.9.2 +Vcs-Browser: http://git.debian.org/?p=pkg-java/clojure-contrib.git +Vcs-Git: git://git.debian.org/git/pkg-java/clojure-contrib.git +Homepage: http://clojure.org + +Package: clojure-contrib +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Recommends: ${java:Recommends} +Description: user contributed set of libraries for clojure + clojure-contrib is a collection of namespaces which implement useful + features for clojure users. The package includes namespaces for math + utilities, string manipulation, sequence manipulation, json read and + write and many more.