debian/0000755000000000000000000000000012060453345007170 5ustar debian/patches/0000755000000000000000000000000012060451220010605 5ustar debian/control0000644000000000000000000000345712060451237010602 0ustar Source: backbone Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, coffeescript, node-underscore, node-uglify | yui-compressor Standards-Version: 3.9.3 Homepage: http://backbonejs.org/ Vcs-Git: git://git.debian.org/git/collab-maint/backbone Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/backbone.git Package: libjs-backbone Architecture: all Depends: ${misc:Depends}, libjs-underscore (>= 1.3.1~) Recommends: javascript-common, libjs-jquery | libjs-zepto | libjs-ender, libjs-json Description: some Backbone for JavaScript applications - browser library Backbone gives structure to your serious JavaScript web applications by supplying models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. . This package contains backbone usable directly in web browsers. Package: node-backbone Architecture: all Depends: ${misc:Depends}, nodejs, libjs-backbone, node-underscore (>= 1.3.1~) Recommends: libjs-jquery | libjs-zepto | libjs-ender, libjs-json Breaks: ${cdbs:Breaks} Replaces: ${cdbs:Replaces} Description: some Backbone for JavaScript applications - Node module Node is an event-based server-side JavaScript engine. . Backbone gives structure to your serious JavaScript web applications by supplying models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. . This package contains node-uuid usable with Node. debian/source/0000755000000000000000000000000011712041024010456 5ustar debian/source/format0000644000000000000000000000001411526224772011704 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001127012060453345011043 0ustar backbone (0.9.2-4) unstable; urgency=low * Fix build-depend on node-uglify (not libnode-uglify). * Update copyright file: + Fix use pseudo-license and pseudo-comment sections to obey silly restrictions of copyright format 1.0. + Rename a license shortname to more sensible Expat~0-clause. + Fix add (virtually empty, but mandated by format) GPL-2 License paragraph. -- Jonas Smedegaard Fri, 07 Dec 2012 21:51:38 +0100 backbone (0.9.2-3) unstable; urgency=low * Fix break and replace older libjs* package shipping also node* file. Closes: bug#694469. Thanks to Andreas Beckmann. -- Jonas Smedegaard Mon, 26 Nov 2012 19:09:26 +0100 backbone (0.9.2-2) unstable; urgency=low * Update watch and rules files to directly use github.com URL (not githubredir.debian.net). * Bump dephelper compatibility level to 8. * Build-depend on devscripts, to always check copyright during build. * Fix enable testsuite. * Build-depend on node-underscore: Needed for testsuite. -- Jonas Smedegaard Wed, 14 Nov 2012 14:27:03 +0100 backbone (0.9.2-1) unstable; urgency=low * New upstream release. * Bump standards-version to 3.9.3. * Use anonscm.debian.org URL in Vcs-Browser field. * Update copyright file: + Bump copyright file format to 1.0. + Fix double-indent in Copyright fields as per Policy §5.6.13. -- Jonas Smedegaard Sun, 25 Mar 2012 12:27:23 +0200 backbone (0.9.1-1) unstable; urgency=low * New upstream release. -- Jonas Smedegaard Tue, 07 Feb 2012 11:55:24 +0100 backbone (0.9.0-1) unstable; urgency=low * New upstream release. * Update watch file to use more flexible regex. * Update long description, to sync with upstream. * Recommend (as fallback) libjs-ender, now supported upstream. * Tighten dependency on {libjs,node}-underscore. * Update Homepage URL. * Drop dpkg-source local-options: Defaults since dpkg-source 1.16.1. * Update copyright file: + Extend copyright years. + Add a Files section (new authors, Expat licensed). + Drop duplicate comments. + Shorten GPL comment. + Quote license strings in comments. -- Jonas Smedegaard Tue, 31 Jan 2012 22:21:39 +0100 backbone (0.5.3-3) unstable; urgency=low * Bump debhelper compatilibity level to 7. * Fix install code for web browsers and symlink for Node (not opposite: not always supported by web servers). * Enable regression tests. Build-depend on coffescript. * Improve short description. * Provide package node-backbone (not just as virtual package by libjs-backbone), to ease installing without Node. * Extend copyright for Debian packaging. * Relax to build-depend unversioned on debhelper and cdbs: needed versions satisfied even in oldstable. -- Jonas Smedegaard Sun, 25 Dec 2011 01:47:07 +0700 backbone (0.5.3-2) unstable; urgency=low * Fix provide libnode-backbone (not node-backbone). -- Jonas Smedegaard Sat, 20 Aug 2011 20:27:54 +0200 backbone (0.5.3-1) unstable; urgency=low * New upstream release. * Bump policy compliance to standards-version 3.9.2. * Update copyright file: + Fix use initial wildcard Files section (not list wildcard copyright/licensing in header section). + Bump file format to draft 174 of DEP-5. + Extend coverage years. + Adjust some file paths. * Suppress more kinds of images from copyright check. * Use uglifyjs as compressor (keeping yui-compressor as fallback to ease backporting). * Install usable with Node (not only in browsers). Provide node-backbone. -- Jonas Smedegaard Sat, 20 Aug 2011 19:19:19 +0200 backbone (0.3.3-4) unstable; urgency=low * Package now team-maintained: + Set Debian Javascript Maintainers as maintainer. + Set myself as uploader. -- Jonas Smedegaard Fri, 18 Feb 2011 02:59:14 +0100 backbone (0.3.3-3) unstable; urgency=low * Fix install compressed lib dot-delimited (not dash-delimited). -- Jonas Smedegaard Mon, 17 Jan 2011 00:00:25 +0100 backbone (0.3.3-2) unstable; urgency=low * Bump copyright format to Subversion candidate draft 162 of DEP5. * Add copyright and licensing for test/vendor/zepto.js. * Install uncompressed library (not symlink to compressed one). * Tighten dependencies: + Depend on libjs-underscore. + Recommend libjs-json. + Recommend (not yet packaged) libjs-zepto, as fallback for libjs-jquery. -- Jonas Smedegaard Sun, 16 Jan 2011 21:14:08 +0100 backbone (0.3.3-1) unstable; urgency=low * Initial release. Closes: Bug#608424. -- Jonas Smedegaard Thu, 30 Dec 2010 22:31:24 +0100 debian/compat0000644000000000000000000000000212050714454010366 0ustar 8 debian/watch0000644000000000000000000000013112050713337010213 0ustar version=3 https://github.com/documentcloud/backbone/tags .*/archive/v?(\d[\d\.]+).tar.gz debian/copyright_hints0000644000000000000000000000405312060451233012324 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: README.md Rakefile debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch docs/backbone-localstorage.html docs/docco.css docs/images/favicon.ico docs/jsl.conf docs/todos.html examples/backbone-localstorage.js examples/todos/destroy.png examples/todos/index.html examples/todos/todos.css examples/todos/todos.js index.html index.js package.json test/collection.js test/events.js test/model.coffee test/model.js test/noconflict.js test/router.js test/setdomlibrary.js test/speed.js test/sync.js test/test-ender.html test/test-zepto.html test/test.html test/vendor/json2.js test/vendor/zepto-0.6.js test/view.js Copyright: *No copyright* License: UNKNOWN FIXME Files: backbone-min.js backbone.js docs/backbone.html test/vendor/underscore-1.3.1.js Copyright: 2009-2012, Jeremy Ashkenas, DocumentCloud Inc 2010-2012, Jeremy Ashkenas, DocumentCloud Inc License: UNKNOWN FIXME Files: LICENSE Copyright: 2010-2012, Jeremy Ashkenas, DocumentCloud License: Expat FIXME Files: debian/rules Copyright: 2010-2011, Jonas Smedegaard License: GPL-2+ FIXME Files: test/vendor/qunit.js Copyright: 2008, Ariel Flesler - aflesler(at)gmail(dot)com | 2011, John Resig, Jörn Zaefferer License: UNKNOWN FIXME Files: test/vendor/ender-jeesh.js Copyright: @dedfat 2011, Dustin Diaz & Jacob Thornton 2011, Dustin Diaz & Jacob Thornton 2011, (@ded @fat) Jacob Thornton 2011 || classCache.s(c, new RegExp('(^|\\s+)' + c + '(\\s+|$)'))).test(this.className)) { License: UNKNOWN FIXME Files: test/vendor/jquery-1.7.1.js Copyright: 2011, John Resig 2011, The Dojo Foundation License: UNKNOWN FIXME Files: test/vendor/qunit.css Copyright: 2011, John Resig, Jörn Zaefferer License: UNKNOWN FIXME Files: test/vendor/jslitmus.js Copyright: 2010, Robert Kieffer, http://broofa.com License: UNKNOWN FIXME debian/copyright0000644000000000000000000001067012060453153011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Backbone Upstream-Contact: http://github.com/documentcloud/backbone/issues/ IRC: Freenode, #documentcloud Twitter: @documentcloud Source: https://github.com/documentcloud/backbone/downloads git://github.com/documentcloud/backbone Files: * Copyright: 2009-2012, Jeremy Ashkenas License: Expat Files: test/vendor/qunit.* Copyright: 2008, Ariel Flesler 2011, John Resig 2011, Jörn Zaefferer License: Expat or GPL-2 Comment: License: . Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. . Comment: . The files mentioned was not included with this source, but upstream VCS indicates that it is the Expat variant of MIT and GPL version 2. Files: test/vendor/ender-jeesh.js Copyright: 2011, Dustin Diaz 2011, Jacob Thornton License: Expat Files: test/vendor/jquery-*.js Copyright: 2011, The Dojo Foundation 2010, John Resig License: Expat or GPL-2 Comment: License: . Dual licensed under the MIT and GPL licenses. . Comment: . Upstream VCS indicates that it is the Expat variant of MIT and GPL version 2. Files: test/vendor/jslitmus.js Copyright: 2010, Robert Kieffer License: Expat~0-clause Files: test/vendor/json2.js Copyright: None (Public Domain) License: PD Public Domain. . NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. . See http://www.JSON.org/js.html Files: test/vendor/zepto-*.js Copyright: 2010, Thomas Fuchs License: Expat Comment: Source lacks ownership or licensing info, but seems based on code at http://zeptojs.com/ . Files: debian/* Copyright: 2010, Jonas Smedegaard License: GPL-2+ 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. License: Expat~0-clause 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 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. License: GPL-2 Comment: . See comments for GPL-2+. License: GPL-2+ 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 2, or (at your option) any later version. . This program 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. . Comment: . On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611526224772010616 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000545012060451041010243 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2010, 2011 Jonas Smedegaard # Description: Main Debian packaging script for Backbone # # 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 2, or (at your option) # any later version. # # This program 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 . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = $(DEB_SOURCE_PACKAGE) jspkg = libjs-$(pkg) js-stems = $(pkg) nodepkg = node-$(pkg) DEB_UPSTREAM_URL = https://github.com/documentcloud/$(pkg)/archive DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION) DEB_UPSTREAM_TARBALL_MD5 = b6fe3d4de9dcd489a11ce7a3c7aac2c6 # Handle package split CDBS_BREAKS_$(nodepkg) = libjs-backbone (<< 0.5.3-3) CDBS_REPLACES_$(nodepkg) = libjs-backbone (<< 0.5.3-3) # Silence images in addition to the default debian files DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^docs/images/.*\.(jpg|png)|debian/(changelog|copyright(|_hints|_newhints))$ DEB_INSTALL_DOCS_ALL += README.md CDBS_BUILD_DEPENDS += , coffeescript, node-underscore build/$(jspkg):: debian/stamp-build debian/stamp-build: $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,coffee test/*.coffee) touch $@ clean:: rm -f debian/stamp-build DEB_INSTALL_DOCS_ALL += index.html DEB_INSTALL_EXAMPLES_$(jspkg) += examples/* # Ease backporting (node-uglify is tough to backport) # TODO: drop fallback-dependency after Squeeze CDBS_BUILD_DEPENDS += , node-uglify | yui-compressor js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor) # TODO: generalize parts below as a CDBS javascript snippet #js-basedir = js-dirname ?= $(pkg) js-stems ?= $(basename $(wildcard $(js-basedir)*.js)) js-min ?= $(js-stems:$(js-basedir)%=debian/%.min.js) js-destdir ?= /usr/share/javascript/$(js-dirname) js-compressor ?= uglifyjs js-compressor-opts ?= -o $@ $< DEB_DH_INSTALL_ARGS_$(jspkg) = $(addsuffix .js,$(js-stems)) debian/*.min.js $(js-destdir) build/$(jspkg):: $(js-min) $(js-min): debian/%.min.js: $(js-basedir)%.js $(js-compressor) $(js-compressor-opts) clean:: rm -f debian/*.js # TODO: maybe generalize parts below as a CDBS node snippet node-dirname ?= $(pkg) js-nodestem ?= $(pkg) node-destdir ?= /usr/lib/nodejs/ DEB_DH_LINK_$(nodepkg) = $(js-destdir)/$(js-nodestem).js $(node-destdir)$(node-dirname).js debian/control.in0000644000000000000000000000331112054726627011207 0ustar Source: backbone Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.3 Homepage: http://backbonejs.org/ Vcs-Git: git://git.debian.org/git/collab-maint/backbone Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/backbone.git Package: libjs-backbone Architecture: all Depends: ${misc:Depends}, libjs-underscore (>= 1.3.1~) Recommends: javascript-common, libjs-jquery | libjs-zepto | libjs-ender, libjs-json Description: some Backbone for JavaScript applications - browser library Backbone gives structure to your serious JavaScript web applications by supplying models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. . This package contains backbone usable directly in web browsers. Package: node-backbone Architecture: all Depends: ${misc:Depends}, nodejs, libjs-backbone, node-underscore (>= 1.3.1~) Recommends: libjs-jquery | libjs-zepto | libjs-ender, libjs-json Breaks: ${cdbs:Breaks} Replaces: ${cdbs:Replaces} Description: some Backbone for JavaScript applications - Node module Node is an event-based server-side JavaScript engine. . Backbone gives structure to your serious JavaScript web applications by supplying models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. . This package contains node-uuid usable with Node.