Initial Debian packaging

parent f6264e1d
dujour-version-check-clojure (0.2.2-1) unstable; urgency=medium
* Initial release (Closes: #855736)
-- Apollon Oikonomopoulos <apoikos@debian.org> Sat, 05 Aug 2017 17:13:31 -0400
Source: dujour-version-check-clojure
Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-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),
libtools-logging-clojure,
libprismatic-schema-clojure (>= 0.2.2),
libpuppetlabs-http-client-clojure (>= 0.4.4),
libring-codec-clojure (>= 1.0.0),
libcheshire-clojure (>= 5.3.1),
libversioneer-clojure (>= 0.1.0),
libslingshot-clojure (>= 0.10.3),
libtext-markdown-perl | markdown,
default-jdk-headless
Standards-Version: 4.0.0
Vcs-Git: https://anonscm.debian.org/git/pkg-java/dujour-version-check-clojure.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/dujour-version-check-clojure.git
Homepage: https://github.com/puppetlabs/dujour-version-check
Package: libdujour-version-check-clojure
Architecture: all
Depends:
${java:Depends},
${misc:Depends}
Recommends: ${java:Recommends}
Description: up-to-date version checking for Clojure
dujour-version-check provides a simple way to perform version checks against
an update server URL.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: puppetlabs-dujour-version-check
Source: https://github.com/puppetlabs/dujour-version-check
Files: *
Copyright: © 2014 Puppet Labs
License: Apache-2.0
Files: debian/*
Copyright: 2017 Apollon Oikonomopoulos <apoikos@debian.org>
License: Apache-2.0
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache License 2.0 can
be found in "/usr/share/common-licenses/Apache-2.0"
</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>
debian/pom.xml --usj-name=dujour-version-check
<?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>puppetlabs</groupId>
<artifactId>dujour-version-check</artifactId>
<packaging>jar</packaging>
<version>0.2.2</version>
<name>dujour-version-check</name>
<description>Dujour Version Check library</description>
<scm>
<tag>f6264e1dbdcda6f112f4f1f67b8d1b8cccfa58ef
</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.7.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>tools.logging</artifactId>
<version>0.3.1</version>
</dependency>
<dependency>
<groupId>prismatic</groupId>
<artifactId>schema</artifactId>
<version>0.2.2</version>
</dependency>
<dependency>
<groupId>puppetlabs</groupId>
<artifactId>http-client</artifactId>
<version>0.4.4</version>
</dependency>
<dependency>
<groupId>ring</groupId>
<artifactId>ring-codec</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>cheshire</groupId>
<artifactId>cheshire</artifactId>
<version>5.3.1</version>
</dependency>
<dependency>
<groupId>trptcolin</groupId>
<artifactId>versioneer</artifactId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>slingshot</groupId>
<artifactId>slingshot</artifactId>
<version>0.10.3</version>
</dependency>
<dependency>
<groupId>puppetlabs</groupId>
<artifactId>trapperkeeper</artifactId>
<version>1.0.0</version>
<classifier>test</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>puppetlabs</groupId>
<artifactId>kitchensink</artifactId>
<version>1.0.0</version>
<classifier>test</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>puppetlabs</groupId>
<artifactId>trapperkeeper-webserver-jetty9</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>puppetlabs</groupId>
<artifactId>trapperkeeper-webserver-jetty9</artifactId>
<version>1.0.0</version>
<classifier>test</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ring-mock</groupId>
<artifactId>ring-mock</artifactId>
<version>0.1.5</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 -->
#!/usr/bin/make -f
include /usr/share/javahelper/java-vars.mk
MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
PRODUCED_JAR=dujour-version-check.jar
export CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/tools.logging.jar:/usr/share/java/prismatic-schema.jar:/usr/share/java/puppetlabs-http-client.jar:/usr/share/java/ring-codec.jar:/usr/share/java/cheshire.jar:/usr/share/java/versioneer.jar:/usr/share/java/slingshot.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 >> $@
version=4
opts=filenamemangle=s!.*/archive/(.*)!dujour-version-check-$1! \
https://github.com/puppetlabs/dujour-version-check/releases .*/archive/([\d.]+)\.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