Initial Debian packaging

parent 8c3ca2c2
tools-trace-clojure (0.7.9-1) unstable; urgency=medium
* Initial release (Closes: #855756)
-- Apollon Oikonomopoulos <apoikos@debian.org> Mon, 20 Mar 2017 15:14:16 +0200
Source: tools-trace-clojure
Section: java
Priority: optional
Maintainer: Debian Clojure Maintainers <pkg-clojure-maintainers@lists.alioth.debian.org>
Uploaders: Apollon Oikonomopoulos <apoikos@debian.org>
Build-Depends:
debhelper (>= 10),
javahelper (>= 0.32),
maven-repo-helper (>= 1.7),
clojure (>= 1.8),
libtext-markdown-perl | markdown,
default-jdk
Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-java/tools-trace-clojure.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/tools-trace-clojure.git
Homepage: https://github.com/clojure/tools.trace
Package: libtools-trace-clojure
Architecture: all
Depends:
${java:Depends},
${misc:Depends}
Recommends: ${java:Recommends}
Description: Clojure tracing facility in Clojure
A Clojure trace tool. Defines tracing macros/fns to help you see what your
code is doing. Formerly known as clojure.contrib.trace.
This diff is collapsed.
</body>
</html>
<!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>
# 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]
#
pom.xml --no-parent --has-package-version --usj-name=tools.trace
#!/usr/bin/make -f
include /usr/share/javahelper/java-vars.mk
MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
PRODUCED_JAR=tools.trace.jar
export CLASSPATH=/usr/share/java/clojure.jar
%:
dh $@ --with javahelper --with jh_maven_repo_helper
override_jh_build: $(MDWN_DOCS)
jar cf $(PRODUCED_JAR) -C src/main/clojure .
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
override_dh_auto_test:
dh_auto_test
(cd src/test && find . -name '*.clj' | xargs clojure -cp)
%.html:%.md
cat debian/header.html > $@
sed -i'' -e 's#@TITLE@#$(shell head -n 1 $< | sed 's/^#*\s*//')#g' $@
markdown $< >> $@
cat debian/footer.html >> $@
version=3
https://github.com/clojure/tools.trace/releases .*-(.*).tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment