[libimgscalr-java] 01/01: Import Debian changes 4.2-1

Markus Koschany apo at moszumanska.debian.org
Mon Jul 3 13:50:34 UTC 2017


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

apo pushed a commit to branch master
in repository libimgscalr-java.

commit f3fe5c1f314b2545478030e751b0606cc56acc87
Author: Markus Koschany <apo at debian.org>
Date:   Mon Jul 3 15:38:13 2017 +0200

    Import Debian changes 4.2-1
    
    libimgscalr-java (4.2-1) unstable; urgency=medium
    
      * Initial release. (Closes: #866891)
---
 debian/README.source         |  9 +++++++++
 debian/changelog             |  5 +++++
 debian/compat                |  1 +
 debian/control               | 29 +++++++++++++++++++++++++++++
 debian/copyright             | 17 +++++++++++++++++
 debian/libimgscalr-java.poms | 28 ++++++++++++++++++++++++++++
 debian/maven.ignoreRules     |  5 +++++
 debian/maven.properties      |  5 +++++
 debian/maven.rules           |  2 ++
 debian/rules                 |  7 +++++++
 debian/source/format         |  1 +
 debian/watch                 |  4 ++++
 12 files changed, 113 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..c41fec6
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about libimgscalr-java
+----------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..483eafd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libimgscalr-java (4.2-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #866891)
+
+ -- Markus Koschany <apo at debian.org>  Mon, 03 Jul 2017 15:38:13 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..924aeb1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: libimgscalr-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Markus Koschany <apo at debian.org>
+Build-Depends:
+ debhelper (>= 10),
+ default-jdk,
+ maven-debian-helper (>= 2.1)
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/libimgscalr-java.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-java/libimgscalr-java.git
+Homepage: https://github.com/rkalla/imgscalr
+
+Package: libimgscalr-java
+Architecture: all
+Depends:
+ ${maven:Depends},
+ ${misc:Depends}
+Suggests:
+ ${maven:OptionalDepends}
+Description: Java Image Scaling Library
+ imgscalr is a simple and efficient image-scaling and manipulation library
+ implemented in pure Java. It provides performant (hardware accelerated),
+ good-looking and intelligent image-scaling algorithms. This class implements
+ the Java2D "best practices" when it comes to scaling images as well as Chris
+ Campbell's incremental scaling algorithm proposed as the best method to
+ downsize images for use as thumbnails.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0aa51f7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: imgscalr - A Java Image Scaling Library
+Source: https://github.com/rkalla/imgscalr
+Files-Excluded:
+ */test
+
+Files: *
+Copyright: 2017, The Buzz Media, LLC
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017, Markus Koschany <apo at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
diff --git a/debian/libimgscalr-java.poms b/debian/libimgscalr-java.poms
new file mode 100644
index 0000000..5ad70f2
--- /dev/null
+++ b/debian/libimgscalr-java.poms
@@ -0,0 +1,28 @@
+# 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
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..93d8445
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,5 @@
+
+junit junit * * * *
+org.apache.maven.plugins maven-assembly-plugin * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..e593715
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.skip=true
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..82848fc
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+
+org.imgscalr imgscalr-lib jar s/.*/debian/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..42303d8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem=maven
+
+get-orig-source:
+	uscan --download-current-version --force-download --repack --compression xz
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6dbfe55
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/imgscalr-$1\.tar\.gz/,\
+uversionmangle=s/_/./g;s/-release// \
+https://github.com/rkalla/imgscalr/tags .*/v?(\d\S+)\.tar\.gz

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



More information about the pkg-java-commits mailing list