[Pkg-javascript-commits] [datatables-extensions] 02/17: Initial packaging

Andreas Tille tille at debian.org
Wed Jan 3 07:44:01 UTC 2018


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

tille pushed a commit to branch master
in repository datatables-extensions.

commit 22db0544a631a03e9140b150bce8e31d20cca1e4
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jan 2 14:12:19 2018 +0100

    Initial packaging
---
 debian/changelog       |  5 +++++
 debian/compat          |  1 +
 debian/control         | 28 ++++++++++++++++++++++++++++
 debian/copyright       | 32 ++++++++++++++++++++++++++++++++
 debian/get-orig-source | 25 +++++++++++++++++++++++++
 debian/rules           |  6 ++++++
 debian/source/format   |  1 +
 debian/watch           |  6 ++++++
 8 files changed, 104 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..930cfa3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+datatables-extensions (0.0+20150910-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 02 Jan 2018 14:06:56 +0100
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..9becc5b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: datatables-extensions
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: web
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               closure-compiler,
+               ruby-sass
+Standards-Version: 4.1.3
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/datatables-extensions.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/datatables-extensions.git
+Homepage: https://datatables.net/extensions/
+
+Package: libjs-datatables-extensions
+Architecture: all
+Depends: libjs-jquery,
+         ${misc:Depends}
+Recommends: javascript-common
+Description: extensions for the jQuery plug-in for tables from different data sources
+ DataTables is a plug-in for the jQuery Javascript library. It is a
+ highly flexible tool, based upon the foundations of progressive
+ enhancement, which will add advanced interaction controls such as
+ variable length pagination or on-the-fly filtering to any HTML table.
+ .
+ The features that DataTables provides can be greatly enhanced by the use
+ of the plug-ins available on this page, which give many new user
+ interaction and configuration options. This package provides those
+ extensions.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d714f03
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Datatables Extensions
+Upstream-Contact: SpryMedia
+                  https://datatables.net/contact
+Source: http://www.datatables.net/license
+
+Files: *
+Copyright: 2008-2015 SpryMedia Limited
+License: MIT
+
+Files: debian/*
+Copyright: 2015 Sascha Steinbiss <sascha at steinbiss.name>
+License: MIT
+
+License: MIT
+ 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/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..223f5d1
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,25 @@
+#!/bin/sh -e
+
+COMPRESS=xz
+
+NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+MVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([0-9\.]\+\)[+~][-0-9]\+$/\1/'`
+
+mkdir -p ../tarballs
+cd ../tarballs
+# need to clean up the tarballs dir first because upstream tarball might
+# contain a directory with unpredictable name
+rm -rf *
+git clone --quiet https://github.com/etd-framework/datatables-extensions
+cd $NAME
+VERSION=${MVERSION}+`date -d @$(git show --format="%at" | head -n1) +%Y%m%d`
+# for esthetical reasons set file timestamps (if git-restore-mtime is installed)
+git restore-mtime || true
+cd ..
+TARDIR=${NAME}-${VERSION}
+mv ${NAME} ${TARDIR}
+rm -rf ${TARDIR}/.git
+rm -f ${TARDIR}/jars/*
+
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
+rm -rf ${TARDIR}
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6055261
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+%:
+	dh $@
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..8754679
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+# no releases so far but filed issue requesting release tags
+#   https://github.com/etd-framework/datatables-extensions/issues/1
+
+version=4
+
+https://github.com/etd-framework/datatables-extensions/releases .*/archive/(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)

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



More information about the Pkg-javascript-commits mailing list