[Pkg-javascript-commits] [jquery-areyousure] 02/03: Initial packaging.
Michael Lustfield
mtecknology at debian.org
Sun Aug 27 03:13:47 UTC 2017
This is an automated email from the git hooks/post-receive script.
mtecknology pushed a commit to branch master
in repository jquery-areyousure.
commit 1feb75edb7916a8f2a9670ae7ea6d2df013f2ece
Author: Michael Lustfield <michael at lustfield.net>
Date: Sat Aug 26 22:07:25 2017 -0500
Initial packaging.
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 26 ++++++++++++++++++++++++++
debian/copyright | 32 ++++++++++++++++++++++++++++++++
debian/examples | 1 +
debian/gbp.conf | 3 +++
debian/install | 2 ++
debian/rules | 11 +++++++++++
debian/source/format | 1 +
debian/watch | 8 ++++++++
10 files changed, 90 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3e4794d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jquery-areyousure (1.9.0-1) UNRELEASED; urgency=medium
+
+ * Initial release. (Closes: #860359)
+
+ -- Michael Lustfield <michael at lustfield.net> Sat, 26 Aug 2017 21:53:52 -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..14b5bdf
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: jquery-areyousure
+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/codedance/jquery.AreYouSure
+Vcs-Git: https://anonscm.debian.org/pkg-javascript/jquery-areyousure.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/jquery-areyousure.git
+
+Package: libjs-jquery-areyousure
+Architecture: all
+Depends: libjs-jquery, ${misc:Depends}
+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..ff238a5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jQuery AreYouSure
+Source: https://github.com/claviska/jquery-areyousure
+
+Files: *
+Copyright: 2012-2014, Chris Dance
+License: Expat
+
+Files: debian/*
+Copyright: 2012-2013 Cory LaViska <cory at abeautifulsite.net>>
+ 2015-2017 David Prévot <david at tilapin.org
+ 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..1549b67
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+demo
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..e65db65
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+jquery.are-you-sure.js usr/share/javascript/jquery-areyousure
+jquery.are-you-sure.min.js usr/share/javascript/jquery-areyousure
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..82931d2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_auto_clean:
+ rm -f jquery.are-you-sure.min.js
+ dh_auto_clean
+
+override_dh_auto_build:
+ uglifyjs -o jquery.are-you-sure.min.js jquery.are-you-sure.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..4e174c9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,8 @@
+# uscan(1) configuration file.
+version=4
+
+opts="\
+pgpmode=none,\
+repack,compression=xz,\
+" https://github.com/codedance/jquery.AreYouSure/releases \
+ .*/archive/v?(\d[\d.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery-areyousure.git
More information about the Pkg-javascript-commits
mailing list