[Pkg-javascript-commits] [leaflet-geometryutil] 02/06: Add debian/.
Dominik George
natureshadow-guest at moszumanska.debian.org
Sat Jan 21 18:35:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch master
in repository leaflet-geometryutil.
commit 71a0acd3a3ef3d6f3c6e932d5153cf4ec6e5938e
Author: Dominik George <nik at naturalnet.de>
Date: Sat Jan 21 13:48:21 2017 +0100
Add debian/.
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 24 +++++++++++++
debian/copyright | 60 +++++++++++++++++++++++++++++++
debian/libjs-leaflet-geometryutil.install | 2 ++
debian/rules | 13 +++++++
debian/source/format | 1 +
debian/source/lintian-overrides | 2 ++
debian/watch | 3 ++
9 files changed, 111 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8218912
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+leaflet-geometryutil (0.4.0-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #)
+
+ -- Dominik George <nik at naturalnet.de> Thu, 19 Jan 2017 22:49:32 +0100
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..5c8bb19
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: leaflet-geometryutil
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Dominik George <nik at naturalnet.de>
+Build-Depends: debhelper (>= 10),
+ node-uglify,
+Standards-Version: 3.9.8
+Homepage: https://makinacorpus.github.io/Leaflet.GeometryUtil/
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/leaflet-geometryutil.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-javascript/leaflet-geometryutil.git
+
+Package: libjs-leaflet-geometryutil
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: Leaflet utility function on geometries
+ Leaflet.GeometryUtil is a plugin for Leaflet, a JavaScript
+ mapping library.
+ .
+ It provides many additional features regarding geometric
+ calculations with geographic coordinates, using the Leaflet
+ framework and types.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bd40d94
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,60 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Leaflet.GeometryUtil
+Source: https://github.com/makinacorpus/Leaflet.GeometryUtil
+
+Files: *
+Copyright: 2013 Makina Corpus
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2017 Dominik George <nik at naturalnet.de>
+License: BSD-3-clause or Expat
+
+License: BSD-3-clause
+ Copyright (c) 2013, Makina Corpus
+ .
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ * Neither the name of ODE nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/libjs-leaflet-geometryutil.install b/debian/libjs-leaflet-geometryutil.install
new file mode 100644
index 0000000..9e52287
--- /dev/null
+++ b/debian/libjs-leaflet-geometryutil.install
@@ -0,0 +1,2 @@
+dist/leaflet.geometryutil.js usr/share/javascript/leaflet
+dist/leaflet.geometryutil.min.js usr/share/javascript/leaflet
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9686d3a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+# test is a dummy make target that spawns a GUI browser
+export DEB_BUILD_OPTIONS=nocheck
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ cd dist; uglifyjs -o leaflet.geometryutil.min.js leaflet.geometryutil.js
+
+override_dh_auto_install:
+ dh_install
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..2db949d
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# no signed tarballs, discussing with upstream
+prefixfree source: debian-watch-may-check-gpg-signature
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b7ab87f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/leaflet-geometryutil-$1\.tar\.gz/ \
+ https://github.com/makinacorpus/Leaflet.GeometryUtil/releases .*/v?(\d\S+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-geometryutil.git
More information about the Pkg-javascript-commits
mailing list