[Pkg-javascript-commits] [plupload.js] 02/02: initial packaging

Alexandre Viau aviau at moszumanska.debian.org
Tue Jan 5 02:24:00 UTC 2016


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

aviau pushed a commit to branch master
in repository plupload.js.

commit 2dbc8109206f85a4ce45af51c735d22909e6fb49
Author: aviau <alexandre at alexandreviau.net>
Date:   Mon Jan 4 21:19:58 2016 -0500

    initial packaging
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 19 +++++++++++++++++++
 debian/copyright     | 35 +++++++++++++++++++++++++++++++++++
 debian/gbp.conf      |  2 ++
 debian/install       |  1 +
 debian/rules         | 14 ++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  3 +++
 9 files changed, 81 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3997d56
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+plupload.js (2.1.8~dfsg1-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #809981)
+
+ -- Alexandre Viau <aviau at debian.org>  Mon, 04 Jan 2016 12:21:30 -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..a1f4643
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: plupload.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/plupload.js.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/plupload.js.git
+Homepage: http://www.plupload.com/
+
+Package: libjs-plupload
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: JavaScript API for building file uploaders
+ Plupload is JavaScript API for building file uploaders. It supports
+ multiple file selection, file filtering, chunked upload, client side
+ image downsizing and when necessary can fallback to alternative runtimes
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..cfb2285
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: plupload
+Source: https://github.com/moxiecode/plupload
+Files-Excluded: js/i18n/*
+                js/jquery.plupload.queue/*.min.js
+                js/jquery.ui.plupload/*.min.js
+                js/*.min.js
+                js/*.xap
+                js/*.swf
+                js/moxie.js
+
+Files: *
+Copyright: 2013 Moxiecode Systems AB
+License: GPL-2.0
+
+Files: debian/*
+Copyright: 2015 Alexandre Viau <aviau at debian.org>
+License: GPL-2.0
+Comment: Debian packaging is licensed under the same terms as upstream
+
+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..4d86799
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+js/* usr/share/javascript/plupload
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6caf2d6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+override_dh_auto_build:
+	uglifyjs -o js/plupload.dev.min.js js/plupload.dev.js
+	uglifyjs -o js/jquery.ui.plupload/jquery.ui.plupload.min.js js/jquery.ui.plupload/jquery.ui.plupload.js
+	uglifyjs -o js/jquery.plupload.queue/jquery.plupload.queue.min.js js/jquery.plupload.queue/jquery.plupload.queue.js
+
+override_dh_auto_clean:
+	dh_clean
+	rm -f js/plupload.dev.min.js
+	rm -f js/jquery.ui.plupload/jquery.ui.plupload.min.js
+	rm -f js/jquery.plupload.queue/jquery.plupload.queue.min.js
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..a9849f0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/plupload.js-$1\.tar\.gz/,repacksuffix=~dfsg1,dversionmangle=s/\~dfsg\d*$// \
+ https://github.com/moxiecode/plupload/releases .*/archive/v?(\d[\d\.]+)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list