[Pkg-javascript-commits] [node-bootstrap-tour] 03/03: Initial packaging

Julien Puydt julien.puydt at laposte.net
Sat Oct 10 11:18:39 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository node-bootstrap-tour.

commit af8430945b6277d867ff1ce349e41bbcf9fd743a
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Oct 10 12:33:02 2015 +0200

    Initial packaging
---
 debian/changelog                 |  5 ++++
 debian/compat                    |  1 +
 debian/control                   | 31 ++++++++++++++++++++++
 debian/copyright                 | 55 ++++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf                  |  2 ++
 debian/node-bootstrap-tour.links |  1 +
 debian/rules                     | 21 +++++++++++++++
 debian/source.lintian-overrides  |  2 ++
 debian/watch                     |  6 +++++
 9 files changed, 124 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..985e46b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-bootstrap-tour (0.10.2+dfsg-1) unstable; urgency=medium
+
+  * Initial packaging. (Closes: #801443)
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Sat, 10 Oct 2015 09:42:44 +0200
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..fcaa83b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: node-bootstrap-tour
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Julien Puydt <julien.puydt at laposte.net>
+Build-Depends: cleancss,
+               coffeescript,
+               debhelper (>= 9),
+               dh-buildinfo,
+               node-less,
+               uglifyjs
+Standards-Version: 3.9.6
+Homepage: https://github.com/sorich87/bootstrap-tour
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-bootstrap-tour.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-bootstrap-tour.git
+
+Package: node-bootstrap-tour
+Architecture: all
+Depends: libjs-bootstrap-tour (= ${binary:Version}), nodejs, ${misc:Depends}
+Description: Build product tours (Node.js module)
+ Quick and easy way to build your product tours with Bootstrap Popovers.
+ .
+ Node.js is an event-based server-side JavaScript engine.
+
+Package: libjs-bootstrap-tour
+Architecture: all
+Depends: ${misc:Depends}
+Description: Build product tours (JavaScript library)
+ Quick and easy way to build your product tours with Bootstrap Popovers.
+ .
+ This package contains the JavaScript library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f654945
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Bootstrap Tour
+Upstream-Contact: https://github.com/vich87/bootstrap-tour/issues
+Source: https://github.com/vich87/bootstrap-tour
+Files-Excluded: *.min.js *.min.css build/js/bootstrap-tour.js src/docs/assets/js/bootstrap-tour.js
+
+Files: *
+Copyright: 2002-2013 Ulrich Sossou
+License: Apache-2.0
+
+Files: */*/bootstrap-tour-standalone.*
+Copyright: 2011-2014 Twitter, Inc.
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Julien Puydt
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
+
+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..c8f9559
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
\ No newline at end of file
diff --git a/debian/node-bootstrap-tour.links b/debian/node-bootstrap-tour.links
new file mode 100644
index 0000000..1a32a5e
--- /dev/null
+++ b/debian/node-bootstrap-tour.links
@@ -0,0 +1 @@
+usr/share/javascript/bootstrap-tour usr/lib/nodejs/bootstrap-tour
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9590f95
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+BSTDIR=debian/libjs-bootstrap-tour/usr/share/javascript/bootstrap-tour
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	coffee -o . -c src/coffee/bootstrap-tour.coffee
+	uglifyjs bootstrap-tour.js -o bootstrap-tour.min.js
+	lessc src/less/bootstrap-tour.less bootstrap-tour.css
+	cleancss bootstrap-tour.css -o bootstrap-tour.min.css
+
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p $(BSTDIR)
+	cp bootstrap-tour.js bootstrap-tour.min.js $(BSTDIR)
+	cp bootstrap-tour.css bootstrap-tour.min.css $(BSTDIR)
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..cf07418
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+# no PHP here, move along...
+node-bootstrap-tour source: composer-package-without-pkg-php-tools-builddep
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e6af2b8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=\
+repacksuffix=+dfsg,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-bootstrap-tour-$1.tar.gz/ \
+https://github.com/sorich87/bootstrap-tour/tags .*/archive/v([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-bootstrap-tour.git



More information about the Pkg-javascript-commits mailing list