[Pkg-javascript-commits] [libjs-vue] 04/11: Initial packaging.

Michael Lustfield mtecknology at debian.org
Wed Oct 4 01:16:53 UTC 2017


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

mtecknology pushed a commit to branch master
in repository libjs-vue.

commit 0b8525ec4b7a054fa08b50adc5ce2b02cc74fc3f
Author: Michael Lustfield <michael at lustfield.net>
Date:   Sun Aug 27 21:26:29 2017 -0500

    Initial packaging.
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 27 +++++++++++++++++++++++++++
 debian/copyright     | 31 +++++++++++++++++++++++++++++++
 debian/examples      |  1 +
 debian/gbp.conf      |  3 +++
 debian/install       |  1 +
 debian/rules         | 12 ++++++++++++
 debian/source/format |  1 +
 debian/watch         |  9 +++++++++
 10 files changed, 91 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b41edd1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libjs-vue (2.4.2+dfsg-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #871459)
+
+ -- Michael Lustfield <michael at lustfield.net>  Sat, 26 Aug 2017 22:09:49 -0500
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..e9f9bf6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: libjs-vue
+Section: javascript
+Priority: optional
+Maintainer: Debian JavaScript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Michael Lustfield <michael at lustfield.net>
+Build-Depends: debhelper (>= 10), uglifyjs
+Standards-Version: 4.0.0
+Homepage: https://github.com/vuejs/vue
+Vcs-Git: https://anonscm.debian.org/pkg-javascript/libjs-vue.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/libjs-vue.git
+
+Package: libjs-vue
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: jQuery plugin to alert users of unsaved changes
+ Are-you-sure (jquery.are-you-sure.js) is simple light-weight "dirty form"
+ JQuery Plugin for modern browsers. It helps prevent users from losing unsaved
+ changes by promoting the user to save/submit.
+ .
+ Features:
+   - Simple usage
+   - Pure javascript implementation
+   - Leverages onBeforeUnload to detect all page/browser exit events
+   - Works on forms of any size
+   - State management--mark forms clean if original values are restored
+   - Graceful degradation on legacy browsers
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..968e030
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: vue
+Source: https://github.com/vuejs/vue
+Files-Excluded: dist/*.min.js
+
+Files: *
+Copyright: 2013-2017 Yuxi (Evan) You
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Michael Lustfield <michael at lustfield.net>
+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/examples b/debian/examples
new file mode 100644
index 0000000..1e107f5
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..4eb8a51
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+pristine-tar = True
+#sign-tags = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..65907f7
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+src/* usr/share/javascript/libjs-vue
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e91ec00
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+override_dh_auto_clean:
+	rm -f dist/vue.min.js dist/vue.runtime.min.js
+	dh_auto_clean
+
+override_dh_auto_build:
+	uglifyjs -o dist/vue.min.js dist/vue.js
+	uglifyjs -o dist/vue.runtime.min.js dist/vue.runtime.js
+	dh_auto_build
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..f42d435
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,9 @@
+# uscan(1) configuration file.
+version=4
+
+opts="\
+pgpmode=none,\
+repacksuffix=+dfsg,\
+repack,compression=xz,\
+"  https://github.com/vuejs/vue/releases \
+   .*/archive/v?(\d[\d.]+)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list