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

Julien Puydt julien.puydt at laposte.net
Sat Oct 10 08:09:32 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 9a71739c7bbee511664617a28431e83f9849aff7
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Oct 10 09:27:31 2015 +0200

    Initial packaging
---
 debian/changelog                 |  5 +++++
 debian/compat                    |  1 +
 debian/control                   | 31 +++++++++++++++++++++++++++++++
 debian/copyright                 | 29 +++++++++++++++++++++++++++++
 debian/gbp.conf                  |  2 ++
 debian/node-bootstrap-tour.links |  1 +
 debian/rules                     | 21 +++++++++++++++++++++
 debian/watch                     |  6 ++++++
 8 files changed, 96 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..2334c64
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+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
+
+Files: *
+Copyright: 2002-2013 Ulrich Sossou
+License: Apache-2.0
+
+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".
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/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