[Pkg-javascript-commits] [backbone] 02/97: Initial packaging.

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 16:55:54 UTC 2014


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

js pushed a commit to branch master
in repository backbone.

commit 4db604f829be356eb602139180fb987e5c803fe0
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Dec 30 22:31:30 2010 +0100

    Initial packaging.
---
 debian/changelog            |   6 +++
 debian/compat               |   1 +
 debian/control              |  23 +++++++++
 debian/control.in           |  22 +++++++++
 debian/copyright            | 111 ++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright_hints      |  83 +++++++++++++++++++++++++++++++++
 debian/gbp.conf             |   5 ++
 debian/install              |   1 +
 debian/links                |   1 +
 debian/rules                |  44 ++++++++++++++++++
 debian/source/format        |   1 +
 debian/source/local-options |   2 +
 debian/watch                |   2 +
 13 files changed, 302 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e421535
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+backbone (0.3.3-1) unstable; urgency=low
+
+  * Initial release.
+    Closes: Bug#608424.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Thu, 30 Dec 2010 22:31:24 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6322d91
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: backbone
+Section: web
+Priority: optional
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Build-Depends: cdbs,
+ debhelper (>= 6),
+ dh-buildinfo,
+ yui-compressor
+Standards-Version: 3.9.1
+Homepage: http://documentcloud.github.com/backbone/
+Vcs-Git: git://git.debian.org/git/collab-maint/backbone
+Vcs-Browser: http://git.debian.org/?p=collab-maint/backbone.git
+
+Package: libjs-backbone
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common, libjavascript-jquery
+Description: some Backbone for JS Apps with Models, Views, Collections, and Events
+ Backbone supplies structure to JavaScript-heavy applications by
+ providing models 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 application over a
+ RESTful JSON interface.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..91dee11
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,22 @@
+Source: backbone
+Section: web
+Priority: optional
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Build-Depends: @cdbs@
+Standards-Version: 3.9.1
+Homepage: http://documentcloud.github.com/backbone/
+Vcs-Git: git://git.debian.org/git/collab-maint/backbone
+Vcs-Browser: http://git.debian.org/?p=collab-maint/backbone.git
+
+Package: libjs-backbone
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common,
+ libjs-jquery,
+ libjs-underscore
+Description: some Backbone for JS Apps with Models, Views, Collections, and Events
+ Backbone supplies structure to JavaScript-heavy applications by
+ providing models 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 application over a
+ RESTful JSON interface.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6a9819a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,111 @@
+Format: http://bzr.debian.org/scm/loggerhead/dep/dep5/trunk/annotate/132/dep5.mdwn
+Upstream-Name: Backbone
+Upstream-Contact: http://github.com/documentcloud/backbone/issues/
+ IRC: Freenode, #documentcloud
+ Twitter: @documentcloud
+Source: https://github.com/documentcloud/backbone/downloads
+Copyright: 2010, Jeremy Ashkenas <jeremy at documentcloud.org>
+License: Expat
+
+Files: test/vendor/qunit.js
+Copyright: 2008, Ariel Flesler <aflesler at gmail.com>
+ 2009, John Resig
+ 2009, Jörn Zaefferer
+License: Expat or GPL-2
+ 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.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ (GPL) version 2 can be found 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 <http://www.gnu.org/licenses/>.
+
+Files: test/vendor/jquery-1.4.2.js
+Copyright: 2009-2010, The Dojo Foundation,
+ 2010, John Resig,
+License: Expat or GPL-2
+ Dual licensed under the MIT and GPL licenses.
+Comment:
+ Upstream VCS indicates that it is the Expat variant of MIT and GPL
+ version 2.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ (GPL) version 2 can be found 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 <http://www.gnu.org/licenses/>.
+
+Files: test/vendor/jslitmus.js
+Copyright: 2010, Robert Kieffer
+License: other-MIT
+
+Files: test/vendor/jslitmus.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: debian/*
+Copyright: 2010, Jonas Smedegaard <dr at jones.dk>
+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: other-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 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+
+ 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 complete text of the GNU General Public License
+ (GPL) version 2 can be found 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 <http://www.gnu.org/licenses/>.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..a5450b5
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,83 @@
+Format: http://bzr.debian.org/scm/loggerhead/dep/dep5/trunk/annotate/132/dep5.mdwn
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Copyright: FIXME
+Disclaimer: Autogenerated by CDBS snippet copyright-check.mk
+
+Files: README,
+ Rakefile,
+ debian/compat,
+ debian/control,
+ debian/control.in,
+ debian/gbp.conf,
+ debian/install,
+ debian/links,
+ debian/source/format,
+ debian/source/local-options,
+ debian/watch,
+ docs/backbone-localstorage.html,
+ docs/docco.css,
+ 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,
+ package.json,
+ test/collection.js,
+ test/controller.js,
+ test/events.js,
+ test/model.coffee,
+ test/model.js,
+ test/speed.js,
+ test/sync.js,
+ test/test-zepto.html,
+ test/test.html,
+ test/vendor/json2.js,
+ test/vendor/qunit.css,
+ test/vendor/zepto-0.2.js,
+ test/view.js
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: backbone-min.js,
+ backbone.js,
+ docs/backbone.html,
+ test/vendor/underscore-1.1.3.js
+Copyright: 2010, Jeremy Ashkenas, DocumentCloud Inc
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2010, Jonas Smedegaard <dr at jones.dk>
+License: GPL
+ FIXME
+
+Files: LICENSE
+Copyright: 2010, Jeremy Ashkenas, DocumentCloud
+License: MIT/X11 (BSD like)
+ FIXME
+
+Files: test/vendor/qunit.js
+Copyright: 2008, Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com,
+ 2009, John Resig, Jörn Zaefferer,
+ <prathe at gmail.com>
+License: UNKNOWN
+ FIXME
+
+Files: test/vendor/jquery-1.4.2.js
+Copyright: 2009, The Dojo Foundation,
+ 2010, John Resig,
+ 2010, The Dojo Foundation
+License: UNKNOWN
+ FIXME
+
+Files: test/vendor/jslitmus.js
+Copyright: 2010, Robert Kieffer, http://broofa.com
+License: UNKNOWN
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a7281f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..d9fb3b8
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+debian/backbone-min.js	/usr/share/javascript/backbone
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..be1a8b0
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+/usr/share/javascript/backbone/backbone-min.js	/usr/share/javascript/backbone/backbone.js
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a2bb809
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2010 Jonas Smedegaard <dr at jones.dk>
+# 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 <http://www.gnu.org/licenses/>.
+
+-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
+
+# suppress optional build-dependencies
+CDBS_BUILD_DEPENDS_rules_upstream-tarball =
+CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
+
+DEB_UPSTREAM_URL = http://githubredir.debian.net/github/documentcloud/backbone/
+DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION)
+DEB_UPSTREAM_WGET_OPTS += --no-check-certificate
+DEB_UPSTREAM_TARBALL_MD5 = 026024ee0dac688b2c571e94f1d9a5dd
+
+# Silence images in addition to the default debian files
+DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^docs/images/.*\.png|debian/(changelog|copyright(|_hints|_newhints))$
+
+DEB_INSTALL_DOCS_libjs-backbone += index.html
+DEB_INSTALL_EXAMPLES_libjs-backbone += examples/*
+
+CDBS_BUILD_DEPENDS += , yui-compressor
+
+build/libjs-backbone::
+	yui-compressor backbone.js -o debian/backbone-min.js
+
+clean::
+	rm -f debian/backbone-min.js
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/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..9cdfca9
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+unapply-patches
+abort-on-upstream-changes
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..80fb144
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/documentcloud/backbone /(\d.*).tar.gz

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



More information about the Pkg-javascript-commits mailing list