[Pkg-javascript-commits] [libjs-dropzone] 02/05: Initial packaging.

Michael Lustfield mtecknology at debian.org
Wed Oct 4 02:48:06 UTC 2017


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

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

commit 79c7069107da69e13ebb77bdac7812e52c6da810
Author: Michael Lustfield <michael at lustfield.net>
Date:   Tue Oct 3 21:15:06 2017 -0500

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

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6f7884c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libjs-dropzone (5.1.1+dfsg-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #873455)
+
+ -- 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..e272a21
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: libjs-dropzone
+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.1.1
+Homepage: https://github.com/bryanwoods/dropzone-js
+Vcs-Git: https://anonscm.debian.org/pkg-javascript/libjs-dropzone.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/libjs-dropzone.git
+
+Package: libjs-dropzone
+Architecture: all
+Depends: javascript-common, ${misc:Depends}
+Description: JavasScript library providing Dropzone
+ Dropzone.js is a light weight JavaScript library that turns an HTML element
+ into a dropzone. This means that a user can drag and drop a file onto it, and
+ the file gets uploaded to the server via AJAX.
+ .
+ Main features:
+   - Image thumbnail previews
+   - Retina enabled
+   - Multiple files and synchronous uploads
+   - Progress updates
+   - Support for large files
+   - Complete theming
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f63c7b3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dropzone
+Source: https://github.com/enyo/dropzone
+Files-Excluded: dist/min
+
+Files: *
+Copyright: 2012 Matias Meno <m at tias.me>
+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/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..5b180c8
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+dist/* usr/share/javascript/libjs-dropzone
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..09ddc67
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+override_dh_auto_clean:
+	rm -f dist/*
+	dh_auto_clean
+
+override_dh_auto_build:
+	#uglifyjs -o autolink-min.js autolink.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..f1523fe
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,10 @@
+# uscan(1) configuration file.
+version=4
+
+opts="\
+pgpmode=none,\
+repacksuffix=+dfsg,\
+repack,compression=xz,\
+dversionmangle=s{[~+](?:ds|dfsg)\d*$}{},\
+"  https://github.com/enyo/dropzone/releases \
+   .*/archive/v?(\d[\d.]+)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list