[Pkg-javascript-commits] [leaflet-contextmenu] 02/05: Add debia/.

Dominik George natureshadow-guest at moszumanska.debian.org
Tue Mar 14 22:51:44 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-contextmenu.

commit 933085db21b8f9215a9f7559afee86381220fb8b
Author: Dominik George <nik at naturalnet.de>
Date:   Tue Mar 14 23:45:38 2017 +0100

    Add debia/.
---
 debian/changelog                                   |  5 ++++
 debian/compat                                      |  1 +
 debian/control                                     | 22 ++++++++++++++
 debian/copyright                                   | 35 ++++++++++++++++++++++
 debian/libjs-leaflet-contextmenu.install           |  4 +++
 debian/libjs-leaflet-contextmenu.lintian-overrides |  2 ++
 debian/rules                                       |  9 ++++++
 debian/source/format                               |  1 +
 debian/source/lintian-overrides                    |  2 ++
 debian/watch                                       |  4 +++
 10 files changed, 85 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..66cd8be
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+leaflet-contextmenu (1.4.0+dfsg-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #nnnnnn)
+
+ -- Dominik George <nik at naturalnet.de>  Sat, 21 Jan 2017 19:34:08 +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..2f60b7c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: leaflet-contextmenu
+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),
+               yui-compressor,
+Standards-Version: 3.9.8
+Homepage: https://github.com/aratcliffe/Leaflet.contextmenu
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/leaflet-contextmenu.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-javascript/leaflet-contextmenu.git
+
+Package: libjs-leaflet-contextmenu
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: context menu for Leaflet
+ Leaflet.contextmenu is a plugin for Leaflet, a JavaScript
+ mapping library.
+ .
+ It provides a simple context menu for the map view.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2186b57
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Leaflet.contextmenu
+Source: https://github.com/aratcliffe/Leaflet.contextmenu
+Files-Excluded: dist/leaflet.contextmenu.js
+ dist/leaflet.contextmenu.min.css
+ dist/leaflet.contextmenu.min.js
+ examples
+
+Files: *
+Copyright: 2017 adam.ratcliffe at gmail.com
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Dominik George <nik at naturalnet.de>
+License: Expat
+
+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-contextmenu.install b/debian/libjs-leaflet-contextmenu.install
new file mode 100644
index 0000000..86e09c4
--- /dev/null
+++ b/debian/libjs-leaflet-contextmenu.install
@@ -0,0 +1,4 @@
+dist/leaflet.contextmenu.css usr/share/javascript/leaflet
+dist/leaflet.contextmenu.js usr/share/javascript/leaflet
+dist/leaflet.contextmenu.min.css usr/share/javascript/leaflet
+dist/leaflet.contextmenu.min.js usr/share/javascript/leaflet
diff --git a/debian/libjs-leaflet-contextmenu.lintian-overrides b/debian/libjs-leaflet-contextmenu.lintian-overrides
new file mode 100644
index 0000000..040ee93
--- /dev/null
+++ b/debian/libjs-leaflet-contextmenu.lintian-overrides
@@ -0,0 +1,2 @@
+# discussing with upstream
+libjs-leaflet-contextmenu binary: no-upstream-changelog
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..65d2073
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	cat src/{copyright.js,Map.ContextMenu.js,Mixin.ContextMenu.js,end.js} >dist/leaflet.contextmenu.js
+	cd dist; yui-compressor -o leaflet.contextmenu.min.js leaflet.contextmenu.js
+	cd dist; yui-compressor -o leaflet.contextmenu.min.css leaflet.contextmenu.css
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..d575d5b
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# no signed tarballs, discussing with upstream
+leaflet-contextmenu source: debian-watch-may-check-gpg-signature
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8f9cb3b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="dversionmangle=s/(.*)\+dfsg(.?\d+)?$/$1.$2/,\
+repacksuffix=+dfsg,filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/leaflet-contextmenu-$1\.tar\.gz/" \
+  https://github.com/aratcliffe/Leaflet.contextmenu/releases .*/v?(\d\S+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-contextmenu.git



More information about the Pkg-javascript-commits mailing list