[Pkg-javascript-commits] [jquery-ui-touch-punch.js] 02/02: initial packaging

Alexandre Viau aviau at moszumanska.debian.org
Wed Dec 30 00:58:15 UTC 2015


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

aviau pushed a commit to branch master
in repository jquery-ui-touch-punch.js.

commit 4f3ee13c41110f91ad53afcc09e2ac94711a3449
Author: aviau <alexandre at alexandreviau.net>
Date:   Tue Dec 29 19:34:56 2015 -0500

    initial packaging
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 20 ++++++++++++++++++++
 debian/copyright     | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf      |  2 ++
 debian/install       |  2 ++
 debian/rules         | 31 +++++++++++++++++++++++++++++++
 debian/source/format |  1 +
 8 files changed, 112 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cf2550f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jquery-ui-touch-punch.js (0.0~git20141218.2.4bc0091+dfsg1-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #809377)
+
+ -- Alexandre Viau <aviau at debian.org>  Tue, 29 Dec 2015 18:19:34 -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..20ee980
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: jquery-ui-touch-punch.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-ui-touch-punch.js.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/jquery-ui-touch-punch.js.git
+Homepage: https://github.com/furf/jquery-ui-touch-punch
+
+Package: libjs-jquery-ui-touch-punch
+Architecture: all
+Depends: ${misc:Depends}, libjs-jquery-ui
+Recommends: javascript-common
+Description: duck punch for adding touch events to jQuery UI
+ jQuery UI Touch Punch is a small hack that enables the use of touch
+ events on sites using the jQuery UI user interface library. Touch
+ Punch works by using simulated events to map touch events to their
+ mouse event analogs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..268c74b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jquery-ui-touch-punch
+Source: https://github.com/furf/jquery-ui-touch-punch
+Files-Excluded: *.min.js
+
+
+Files: *
+Copyright: 2011–2014 Dave Furfero <furf at furf.com>
+License: Expat or GPL-2.0
+
+Files: debian/*
+Copyright: 2015 Alexandre Viau <aviau at debian.org>
+License: Expat or GPL-2.0
+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.
+
+License: GPL-2.0
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation, version
+ 2 of the License.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'
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..da051cc
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+jquery.ui.touch-punch.js usr/share/javascript/jquery-ui-touch-punch
+jquery.ui.touch-punch.min.js usr/share/javascript/jquery-ui-touch-punch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d4000dd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	uglifyjs -o jquery.ui.touch-punch.min.js jquery.ui.touch-punch.js
+
+override_dh_auto_clean:
+	dh_clean
+	rm -f jquery.ui.touch-punch.min.js
+
+.PHONY: get-orig-source
+PKD := $(abspath $(dir $(MAKEFILE_LIST)))
+PKG := $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
+tmpdir:= $(shell mktemp -d)
+wrkdir:= $(shell pwd)
+
+get-orig-source:
+	@echo "# Downloading..."
+	cd ${tmpdir} && \
+	wget https://github.com/furf/jquery-ui-touch-punch/archive/master.tar.gz && \
+	tar xf master.tar.gz && \
+	mv jquery-ui-touch-punch-master ${PKG} && \
+	cd ${PKG} && \
+	rm *.min.js && \
+	tar cf ${wrkdir}/${PKG}_0.0~gitVERSION.COMMIT.ID+dfsg1.orig.tar * ; \
+	gzip --best ${wrkdir}/${PKG}_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-ui-touch-punch.js.git



More information about the Pkg-javascript-commits mailing list