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

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed Dec 21 09:25:11 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository tinycon.js.

commit ff349ae7e4e33f9495ceec0fed2d464fb66adff5
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed Dec 21 09:20:59 2016 +0000

    initial packaging
---
 debian/changelog     |  8 ++++++++
 debian/compat        |  1 +
 debian/control       | 26 ++++++++++++++++++++++++
 debian/copyright     | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/docs          |  1 +
 debian/examples      |  1 +
 debian/install       |  4 ++++
 debian/rules         | 21 ++++++++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  6 ++++++
 10 files changed, 125 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..083251c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,8 @@
+tinycon.js (0.6.5+ds-1) unstable; urgency=low
+
+  * Initial release (Closes: #721611)
+  * Repackage to remove file provided by node-requirejs package and to
+    remove the prebuilt minified file.
+
+ -- Paolo Greppi <paolo.greppi at libpf.com>  Wed, 21 Dec 2016 08:41:40 +0000
+
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..6dc6a27
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: tinycon.js
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
+Build-Depends:
+ debhelper (>= 9)
+ , dh-buildinfo
+ , node-uglify
+ , node-source-map
+ , nodejs
+Standards-Version: 3.9.8
+Homepage: https://github.com/tommoor/tinycon
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-tinycon.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-tinycon.git
+
+Package: libjs-tinycon
+Architecture: all
+Depends:
+ ${misc:Depends}
+Recommends: libjs-requirejs
+Description: Manipulate the favicon
+ Javascript library to manipulate the favicon, in particular adding
+ alert bubbles and changing images. 
+ It gracefully falls back to a number in title approach for browsers
+ that don't support canvas or dynamic favicons.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3072e78
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,56 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tinycon
+Upstream-Contact: Tom Moor <tom.moor at gmail.com> (http://tommoor.com)
+Source: https://github.com/tommoor/tinycon
+Files-Excluded:
+ examples/require.js
+ tinycon.min.js
+Comment:
+ examples/requirejs: file is provided by the libjs-requirejs package
+ tinycon.min.js: minifed file must be generated by the build script
+
+Files: *
+Copyright: 2015 Tom Moor
+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.
+
+Files: debian/*
+Copyright: 2016 Paolo Greppi <paolo.greppi at libpf.com>
+License: GPL-3.0+
+
+License: GPL-3.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, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package 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.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..f3bfa26
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+package.json usr/share/javascript/tinycon/
+tinycon.js usr/share/javascript/tinycon/
+tinycon.min.js usr/share/javascript/tinycon/
+tinycon.min.js.map usr/share/javascript/tinycon/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d9775e7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	dh_auto_build
+	uglifyjs -o tinycon.min.js \
+	--source-map tinycon.min.js.map \
+	tinycon.js
+
+#override_dh_auto_test:
+
+override_dh_clean:
+	dh_clean
+	rm -rf tinycon.min.js
+	rm -rf tinycon.min.js.map
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..174ad4d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=repacksuffix=+ds,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/tinyicon.js-$1.tar.gz/ \
+ https://github.com/tommoor/tinycon/tags .*/archive/v?([\d\.]+).tar.gz
+

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



More information about the Pkg-javascript-commits mailing list