[Pkg-javascript-commits] [json-js] 04/85: Prepare for initial release.

Jonas Smedegaard dr at jones.dk
Mon Mar 14 10:39:13 UTC 2016


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

js pushed a commit to branch master
in repository json-js.

commit b3e2ade694570054b455f06ea5c3de8bdfd04bad
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Jan 16 21:05:51 2011 +0100

    Prepare for initial release.
---
 .gitignore                  |  1 +
 debian/changelog            |  6 ++++++
 debian/compat               |  1 +
 debian/control              | 28 ++++++++++++++++++++++++++++
 debian/control.in           | 25 +++++++++++++++++++++++++
 debian/copyright            | 30 ++++++++++++++++++++++++++++++
 debian/copyright_hints      | 35 +++++++++++++++++++++++++++++++++++
 debian/gbp.conf             |  5 +++++
 debian/install              |  2 ++
 debian/rules                | 37 +++++++++++++++++++++++++++++++++++++
 debian/source/format        |  1 +
 debian/source/local-options |  2 ++
 debian/watch                |  2 ++
 13 files changed, 175 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..48ecc30
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+raw
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8ba7401
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+json-js (0~20101208-1) unstable; urgency=low
+
+  * Initial release.
+    Closes: Bug#610259.
+
+ -- 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..451930d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: json-js
+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://www.json.org/js.html
+Vcs-Git: git://git.debian.org/git/collab-maint/json-js
+Vcs-Browser: http://git.debian.org/?p=collab-maint/json-js.git
+
+Package: libjs-json
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: JSON encoders/decoders implemented in JavaScript
+ JSON is a light-weight, language independent, data interchange format.
+ See http://www.JSON.org/
+ .
+ The files in this collection implement JSON encoders/decoders in
+ JavaScript.
+ .
+ JSON became a built-in feature of JavaScript when the ECMAScript
+ Programming Language Standard - Fifth Edition was adopted by the ECMA
+ General Assembly in December 2009. Most of the files in this collection
+ are for applications that are expected to run in obsolete web browsers.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..a25ab39
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,25 @@
+Source: json-js
+Section: web
+Priority: optional
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Build-Depends: @cdbs@
+Standards-Version: 3.9.1
+Homepage: http://www.json.org/js.html
+Vcs-Git: git://git.debian.org/git/collab-maint/json-js
+Vcs-Browser: http://git.debian.org/?p=collab-maint/json-js.git
+
+Package: libjs-json
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: JSON encoders/decoders implemented in JavaScript
+ JSON is a light-weight, language independent, data interchange format.
+ See http://www.JSON.org/
+ .
+ The files in this collection implement JSON encoders/decoders in
+ JavaScript.
+ .
+ JSON became a built-in feature of JavaScript when the ECMAScript
+ Programming Language Standard - Fifth Edition was adopted by the ECMA
+ General Assembly in December 2009. Most of the files in this collection
+ are for applications that are expected to run in obsolete web browsers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5e8cab9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=162
+Upstream-Name: JSON
+Upstream-Contact: Douglas Crockford <douglas at crockford.com>
+ https://github.com/douglascrockford/JSON-js/issues/
+Source: https://github.com/douglascrockford/JSON-js/downloads
+ git://github.com/douglascrockford/JSON-js
+Copyright: None
+License: PD
+ Public Domain.
+
+Files: debian/*
+Copyright: 2010, Jonas Smedegaard <dr at jones.dk>
+License: 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 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..cc5aa19
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,35 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=162
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Copyright: FIXME
+License: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: README
+ cycle.js
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/install
+ debian/source/format
+ debian/source/local-options
+ debian/watch
+ json.js
+ json2.js
+ json_parse_state.js
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2010, Jonas Smedegaard <dr at jones.dk>
+License: GPL
+ FIXME
+
+Files: json_parse.js
+Copyright: 
+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..fdd114e
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+*.js		/usr/share/javascript/json
+debian/*.js	/usr/share/javascript/json
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..142f302
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2010 Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for JSON
+#
+# 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/utils.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+# suppress optional build-dependencies
+CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
+
+CDBS_BUILD_DEPENDS += , yui-compressor
+
+js-stems = $(basename $(wildcard *.js))
+js-min = $(js-stems:%=debian/%.min.js)
+
+build/libjs-json:: $(js-min)
+$(js-min): debian/%.min.js: %.js
+	yui-compressor $< -o $@
+clean::
+	rm -f debian/*.js
+
+binary-fixup/libjs-json::
+	chmod -x $(cdbs_curdestdir)/usr/share/javascript/json/*
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..463a1cb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/douglascrockford/JSON-js /(\d.*).tar.gz

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



More information about the Pkg-javascript-commits mailing list