[Pkg-javascript-commits] [jquery-timer.js] 02/04: initial packaging
Alexandre Viau
aviau at moszumanska.debian.org
Tue Dec 29 19:50:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
aviau pushed a commit to branch master
in repository jquery-timer.js.
commit 8adcefc47c55c66a1653e2f8d56c2946fa639dec
Author: aviau <alexandre at alexandreviau.net>
Date: Mon Dec 28 17:22:05 2015 -0500
initial packaging
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 24 ++++++++++++++++++++++++
debian/copyright | 35 +++++++++++++++++++++++++++++++++++
debian/gbp.conf | 2 ++
debian/install | 2 ++
debian/rules | 27 +++++++++++++++++++++++++++
debian/source/format | 1 +
8 files changed, 97 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3d8217c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jquery-timer.js (0.0~git20150215.0.233601d-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #809045)
+
+ -- Alexandre Viau <aviau at debian.org> Mon, 28 Dec 2015 17:20:18 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2cbab97
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: jquery-timer.js
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Alexandre Viau <aviau at debian.org>
+Build-Depends: debhelper (>= 9), uglifyjs
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/jquery-timer.js.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/jquery-timer.js.git
+Homepage: https://github.com/jchavannes/jquery-timer
+
+Package: libjs-jquery-timer
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: setTimeout equivalent with more options for jquery
+ jquery-timer adds the class $.timer(). The following
+ functions are available:
+ - timer.play()
+ - timer.pause()
+ - timer.toggle(boolean)
+ - timer.once(time)
+ - timer.isActive
+ - timer.remaining
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0b5f01e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jquery-timer
+Source: https://github.com/jchavannes/jquery-timer
+Files-Excluded: res/*
+
+
+Files: *
+Copyright: 2011 Jason Chavannes <jason.chavannes at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Alexandre Viau <aviau at debian.org>
+License: Expat
+Comment: Debian packaging is licensed under the same terms as upstream
+
+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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..5b5ed35
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+jquery.timer.js /usr/share/javascript/jquery-timer
+jquery.timer.min.js /usr/share/javascript/jquery-timer
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bc7019d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_auto_build:
+ uglifyjs -o jquery.timer.min.js jquery.timer.js
+
+override_dh_auto_clean:
+ dh_clean
+ rm -f jquery.timer.min.js
+
+.PHONY: get-orig-source
+tmpdir:=$(shell mktemp -d)
+wrkdir:=$(shell pwd)
+
+get-orig-source:
+ @echo "# Downloading..."
+ cd ${tmpdir} && \
+ wget https://github.com/jchavannes/jquery-timer/archive/master.tar.gz && \
+ tar xf master.tar.gz && \
+ mv jquery-timer-master jquery-timer && \
+ cd jquery-timer && \
+ rm -rf res && \
+ tar cf ${wrkdir}/jquery-timer.js_0.0~gitVERSION.COMMIT.ID~dfsg1.orig.tar * ; \
+ gzip --best ${wrkdir}/jquery-timer.js_0.0~gitVERSION.COMMIT.ID~dfsg1.orig.tar
+ rm -rf ${tmpdir}
+ @echo "Please rename the tarball depending on the version and commit it with pristine-tar"
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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery-timer.js.git
More information about the Pkg-javascript-commits
mailing list