--- colors.js-0.6.2.orig/debian/changelog +++ colors.js-0.6.2/debian/changelog @@ -0,0 +1,11 @@ +colors.js (0.6.2-1) unstable; urgency=low + + * New upstream version + + -- Marcelo Jorge Vieira (metal) Wed, 20 Nov 2013 23:21:15 -0200 + +colors.js (0.6.0-1-1) unstable; urgency=low + + * Initial Release (Closes: #676289) + + -- Marcelo Jorge Vieira (metal) Tue, 05 Jun 2012 18:13:00 -0300 --- colors.js-0.6.2.orig/debian/compat +++ colors.js-0.6.2/debian/compat @@ -0,0 +1 @@ +7 --- colors.js-0.6.2.orig/debian/control +++ colors.js-0.6.2/debian/control @@ -0,0 +1,23 @@ +Source: colors.js +Section: web +Priority: optional +Maintainer: Debian Javascript Maintainers +Uploaders: Marcelo Jorge Vieira (metal) +Build-Depends: debhelper (>= 7.0.50~), node-uglify +Standards-Version: 3.9.3 +Homepage: http://github.com/marak/colors.js +Vcs-Browser: http://git.debian.org/?p=pkg-javascript/node-colors.git +Vcs-Git: git://git.debian.org/git/pkg-javascript/node-colors.git + +Package: libjs-colors +Architecture: all +Depends: ${misc:Depends} +Recommends: javascript-common +Description: Get color and style in your web application + This package contains the JavaScript library. + +Package: node-colors +Architecture: all +Depends: ${misc:Depends}, nodejs, libjs-colors +Description: Get color and style in your node.js console + This package contains the NodeJS module. --- colors.js-0.6.2.orig/debian/copyright +++ colors.js-0.6.2/debian/copyright @@ -0,0 +1,30 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: colors.js +Source: http://github.com/Marak/colors.js + +Files: * +Copyright: 2010, Alexis Sellier (cloudhead) +License: MIT + +Files: debian/* +Copyright: 2012, Marcelo Jorge Vieira +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. --- colors.js-0.6.2.orig/debian/libjs-colors.README.Debian +++ colors.js-0.6.2/debian/libjs-colors.README.Debian @@ -0,0 +1,19 @@ +libjs-colors for Debian +----------------------- + +If you wish to include Colors in your HTML files which are served +via a webserver you should add the following lines to your +section: + + + +If you're generating files which are going to be served via the +filesystem (such that no HTTP server is used) instead you should +access Colors via the filesystem path: + + + + + -- Marcelo Jorge Vieira (metal) Tue, 05 Jun 2012 18:13:00 -0300 --- colors.js-0.6.2.orig/debian/libjs-colors.examples +++ colors.js-0.6.2/debian/libjs-colors.examples @@ -0,0 +1 @@ +example.html --- colors.js-0.6.2.orig/debian/libjs-colors.install +++ colors.js-0.6.2/debian/libjs-colors.install @@ -0,0 +1 @@ +colors*.js /usr/share/javascript/colors/ --- colors.js-0.6.2.orig/debian/node-colors.examples +++ colors.js-0.6.2/debian/node-colors.examples @@ -0,0 +1 @@ +example.js --- colors.js-0.6.2.orig/debian/node-colors.links +++ colors.js-0.6.2/debian/node-colors.links @@ -0,0 +1 @@ +/usr/share/javascript/colors/colors.js /usr/lib/nodejs/colors.js --- colors.js-0.6.2.orig/debian/rules +++ colors.js-0.6.2/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +libname = colors +js-pkgname = libjs-$(libname) +js-destdir ?= /usr/share/javascript/$(libname) +js-destexample ?= usr/share/doc/$(js-pkgname)/examples +node-pkgname = node-$(libname) +node-destdir ?= /usr/lib/nodejs +node-destexample ?= usr/share/doc/$(node-pkgname)/examples + +%: + dh $@ + +override_dh_auto_build: + uglifyjs -o colors.min.js colors.js + +override_dh_installexamples: + dh_installexamples + sed -i "s#colors.js#$(js-destdir)/$(libname).js#" debian/$(js-pkgname)/$(js-destexample)/example.html + sed -i "s#require('./colors');#require('$(node-destdir)/$(libname)');#" debian/$(node-pkgname)/$(node-destexample)/example.js + +override_dh_auto_clean: + rm -f colors.min.js --- colors.js-0.6.2.orig/debian/watch +++ colors.js-0.6.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://githubredir.debian.net/github/Marak/colors.js .*v(.*).tar.gz