Initial Debian package.
Thomas Goirand
3 years ago
0 | libsemver-clojure (0.3.0-1) unstable; urgency=medium | |
1 | ||
2 | * Initial release. (Closes: #XXXXXX) | |
3 | ||
4 | -- Thomas Goirand <zigo@debian.org> Thu, 03 Sep 2020 19:00:26 +0200 |
0 | Source: libsemver-clojure | |
1 | Section: java | |
2 | Priority: optional | |
3 | Maintainer: Debian Clojure Maintainers <pkg-clojure-maintainers@lists.alioth.debian.org> | |
4 | Uploaders: | |
5 | Thomas Goirand <zigo@debian.org>, | |
6 | Build-Depends: | |
7 | debhelper-compat (= 12), | |
8 | default-jdk, | |
9 | javahelper (>= 0.32), | |
10 | maven-repo-helper (>= 1.7), | |
11 | Standards-Version: 4.5.0 | |
12 | Vcs-Git: https://salsa.debian.org/clojure-team/semver-clojure.git | |
13 | Vcs-Browser: https://salsa.debian.org/clojure-team/semver-clojure | |
14 | Homepage: https://github.com/grimradical/clj-semver | |
15 | ||
16 | Package: libsemver-clojure | |
17 | Architecture: all | |
18 | Depends: | |
19 | libclojure-java, | |
20 | ${java:Depends}, | |
21 | ${misc:Depends}, | |
22 | Recommends: | |
23 | ${java:Recommends}, | |
24 | Description: parsing, comparison, and manipulation of semantic version strings | |
25 | This Clojure library provides functions for parsing, comparison, and | |
26 | manipulation of semantic version strings. The intent is to implement the | |
27 | actual spec, including proper comparisons on pre-release and build fields. |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: semver | |
2 | Source: https://github.com/grimradical/clj-semver | |
3 | ||
4 | Files: * | |
5 | Copyright: 2012-2015 Deepak Giridharagopal <deepak@puppetlabs.com> | |
6 | License: Apache-2.0 | |
7 | ||
8 | Files: debian/* | |
9 | Copyright: held by the contributors mentioned in debian/changelog | |
10 | License: Apache-2.0 | |
11 | Licensed under the Apache License, Version 2.0 (the "License"); | |
12 | you may not use this file except in compliance with the License. | |
13 | You may obtain a copy of the License at | |
14 | . | |
15 | http://www.apache.org/licenses/LICENSE-2.0 | |
16 | . | |
17 | Unless required by applicable law or agreed to in writing, software | |
18 | distributed under the License is distributed on an "AS IS" BASIS, | |
19 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
20 | See the License for the specific language governing permissions and | |
21 | limitations under the License. | |
22 | . | |
23 | On Debian-based systems the full text of the Apache version 2.0 license | |
24 | can be found in `/usr/share/common-licenses/Apache-2.0'. |
0 | usr/share/java/semver.jar /usr/share/java/clojure.jar |
0 | README.md |
0 | debian/pom.xml --artifact=semver.jar --usj-name=semver |
0 | <?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"> | |
1 | <modelVersion>4.0.0</modelVersion> | |
2 | <groupId>grimradical</groupId> | |
3 | <artifactId>clj-semver</artifactId> | |
4 | <packaging>jar</packaging> | |
5 | <version>0.3.0</version> | |
6 | <name>clj-semver</name> | |
7 | <description>Parsing, comparison, and manipulation of semantic version strings</description> | |
8 | <url>http://github.com/grimradical/clj-semver</url> | |
9 | <licenses> | |
10 | <license> | |
11 | <name>Apache License 2.0</name> | |
12 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
13 | <distribution>repo</distribution> | |
14 | </license> | |
15 | </licenses> | |
16 | <scm> | |
17 | <url>https://github.com/grimradical/clj-semver</url> | |
18 | <connection>scm:git:git://github.com/grimradical/clj-semver.git</connection> | |
19 | <developerConnection>scm:git:ssh://git@github.com/grimradical/clj-semver.git</developerConnection> | |
20 | <tag>b6bfd402cc23c4659931efc5ef08612f3f6451df</tag> | |
21 | </scm> | |
22 | <build> | |
23 | <sourceDirectory>src</sourceDirectory> | |
24 | <testSourceDirectory>test</testSourceDirectory> | |
25 | <resources> | |
26 | <resource> | |
27 | <directory>resources</directory> | |
28 | </resource> | |
29 | </resources> | |
30 | <testResources> | |
31 | <testResource> | |
32 | <directory>resources</directory> | |
33 | </testResource> | |
34 | </testResources> | |
35 | <directory>target</directory> | |
36 | <outputDirectory>target/classes</outputDirectory> | |
37 | <plugins/> | |
38 | </build> | |
39 | <repositories> | |
40 | <repository> | |
41 | <id>central</id> | |
42 | <url>https://repo1.maven.org/maven2/</url> | |
43 | <snapshots> | |
44 | <enabled>false</enabled> | |
45 | </snapshots> | |
46 | <releases> | |
47 | <enabled>true</enabled> | |
48 | </releases> | |
49 | </repository> | |
50 | <repository> | |
51 | <id>clojars</id> | |
52 | <url>https://repo.clojars.org/</url> | |
53 | <snapshots> | |
54 | <enabled>true</enabled> | |
55 | </snapshots> | |
56 | <releases> | |
57 | <enabled>true</enabled> | |
58 | </releases> | |
59 | </repository> | |
60 | </repositories> | |
61 | <dependencyManagement> | |
62 | <dependencies/> | |
63 | </dependencyManagement> | |
64 | <dependencies> | |
65 | <dependency> | |
66 | <groupId>org.clojure</groupId> | |
67 | <artifactId>clojure</artifactId> | |
68 | <version>[1.3.0,)</version> | |
69 | </dependency> | |
70 | <dependency> | |
71 | <groupId>org.clojure</groupId> | |
72 | <artifactId>math.combinatorics</artifactId> | |
73 | <version>0.0.2</version> | |
74 | <scope>test</scope> | |
75 | </dependency> | |
76 | </dependencies> | |
77 | </project> | |
78 | ||
79 | <!-- This file was autogenerated by Leiningen. | |
80 | Please do not edit it directly; instead edit project.clj and regenerate it. | |
81 | It should not be considered canonical data. For more information see | |
82 | https://github.com/technomancy/leiningen --> |
0 | #!/usr/bin/make -f | |
1 | ||
2 | -include /usr/share/javahelper/java-vars.mk | |
3 | ||
4 | DEB_PKGNAME := $(shell dpkg-parsechangelog -SSource) | |
5 | DEB_VERSION := $(shell dpkg-parsechangelog -SVersion) | |
6 | DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-) | |
7 | DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') | |
8 | GIT_TAG := $(shell echo '$(DEB_UPSTREAM_VERSION)' | sed -e 's/~/_/') | |
9 | ||
10 | PRODUCED_JAR=semver.jar | |
11 | UPSTREAM_GIT = https://github.com/grimradical/clj-semver | |
12 | ||
13 | %: | |
14 | dh $@ --with javahelper --with maven_repo_helper | |
15 | ||
16 | override_jh_build: | |
17 | jar cf $(PRODUCED_JAR) -C src . | |
18 | ||
19 | override_jh_installlibs: | |
20 | jh_installlibs $(PRODUCED_JAR) | |
21 | ||
22 | override_jh_clean: | |
23 | jh_clean | |
24 | rm -f $(CURDIR)/$(PRODUCED_JAR) | |
25 | ||
26 | gen-orig-xz: | |
27 | git tag -v $(GIT_TAG) || true | |
28 | if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \ | |
29 | git archive --prefix=$(DEB_PKGNAME)-$(DEB_UPSTREAM_VERSION)/ $(GIT_TAG) | xz >../$(DEB_PKGNAME)_$(DEB_UPSTREAM_VERSION).orig.tar.xz ; \ | |
30 | mkdir -p ../build-area ; \ | |
31 | cp ../$(DEB_PKGNAME)_$(DEB_UPSTREAM_VERSION).orig.tar.xz ../build-area ; \ | |
32 | fi | |
33 | ||
34 | fetch-upstream-remote: | |
35 | ifeq (,$(findstring https:,$(UPSTREAM_GIT))) | |
36 | $(error Using insecure proto in UPSTREAM_GIT: $(UPSTREAM_GIT)) | |
37 | endif | |
38 | git remote add upstream $(UPSTREAM_GIT) || true | |
39 | git remote set-url upstream $(UPSTREAM_GIT) | |
40 | git fetch upstream |
0 | 3.0 (quilt) |