[Pkg-javascript-commits] [unorm.js] 02/19: initial packaging

Mike Gabriel sunweaver at debian.org
Thu Dec 15 10:49:09 UTC 2016


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

sunweaver pushed a commit to branch master
in repository unorm.js.

commit 793b58edd8f4a1c2f29fdd659ac59dfec92563ee
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun May 12 02:39:01 2013 +0200

    initial packaging
---
 debian/changelog                               |  5 ++
 debian/compat                                  |  1 +
 debian/control                                 | 40 +++++++++++
 debian/copyright                               | 91 ++++++++++++++++++++++++++
 debian/libjs-unorm.docs                        |  1 +
 debian/libjs-unorm.install                     |  1 +
 debian/node-unorm.docs                         |  1 +
 debian/node-unorm.examples                     |  1 +
 debian/node-unorm.install                      |  1 +
 debian/node-unorm.links                        |  1 +
 debian/patches/001_debian-unorm-examples.patch | 10 +++
 debian/patches/series                          |  1 +
 debian/rules                                   | 15 +++++
 debian/source/format                           |  1 +
 debian/watch                                   |  3 +
 15 files changed, 173 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d5ca5d0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+unorm.js (1.0.3-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #707887).
+
+ -- Mike Gabriel <sunweaver at debian.org>  Tue, 07 May 2013 18:25:42 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0d1c823
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: unorm.js
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders:
+ Mike Gabriel <sunweaver at debian.org>,
+Build-Depends:
+ debhelper (>= 8.0.0),
+ dh-buildinfo,
+Standards-Version: 3.9.4
+Homepage: https://github.com/walling/unorm
+Vcs-Git: git://git.debian.org/collab-maint/node-unorm.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/node-unorm.git
+
+Package: libjs-unorm
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: Common JS Unicode Normalizer (client/browser)
+ Normalization is a process that involves transforming characters and sequences
+ of characters into a formally-defined underlying representation. This process
+ is most important when text needs to be compared for sorting and searching,
+ but it is also used when storing text to ensure that the text is stored in a
+ consistent representation.
+ .
+ This package provides a Common JS Unicode Normalizer (client/browser version).
+
+Package: node-unorm
+Architecture: all
+Depends:
+ ${misc:Depends},
+ nodejs (>= 0.6.19~dfsg-1-3~),
+Description: Common JS Unicode Normalizer (Node.js)
+ Normalization is a process that involves transforming characters and sequences
+ of characters into a formally-defined underlying representation. This process
+ is most important when text needs to be compared for sorting and searching,
+ but it is also used when storing text to ensure that the text is stored in a
+ consistent representation.
+ .
+ This package provides a Common JS Unicode Normalizer (Node.js).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6591528
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,91 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Unicode Normalizer
+Upstream-Contact: Bjarke Walling <bwp at bwp.dk>
+Source: https://github.com/walling/unorm
+
+Files: *
+Copyright:
+ 2008-2013, Matsuza <matsuza at gmail.com>
+ 2008-2013, Bjarke Walling <bwp at bwp.dk>
+License: Expat or GPL-2+
+Comment:
+ The upstream code does not specify the exact version of the GPL
+ that is applicable to this project.
+ .
+ Assuming GPL-2+ here.
+
+Files:
+ src/data/*
+Copyright:
+ 1991-2008, Unicode, Inc.
+License: Unicode
+
+Files: debian/*
+Copyright:
+ 2013, Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+License: Expat or GPL-2+ or Unicode
+
+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: Unicode
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of the Unicode data files and any associated documentation (the "Data
+ Files") or Unicode software and any associated documentation (the "Software")
+ to deal in the Data Files or Software without restriction, including without
+ limitation the rights to use, copy, modify, merge, publish, distribute,
+ and/or sell copies of the Data Files or Software, and to permit persons to
+ whom the Data Files or Software are furnished to do so, provided that
+ .
+ (a) the above copyright notice(s) and this permission notice appear with
+ all copies of the Data Files or Software,
+ (b) both the above copyright notice(s) and this permission notice appear in
+ associated documentation, and
+ (c) there is clear notice in each modified Data File or in the Software as
+ well as in the documentation associated with the Data File(s) or Software
+ that the data or software has been modified.
+ .
+ THE DATA FILES AND SOFTWARE ARE 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 OF THIRD
+ PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN
+ THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
+ DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
+ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR
+ 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 of the License, 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/libjs-unorm.docs b/debian/libjs-unorm.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libjs-unorm.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libjs-unorm.install b/debian/libjs-unorm.install
new file mode 100644
index 0000000..1d059db
--- /dev/null
+++ b/debian/libjs-unorm.install
@@ -0,0 +1 @@
+unorm.js usr/share/javascript/unorm/
diff --git a/debian/node-unorm.docs b/debian/node-unorm.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/node-unorm.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/node-unorm.examples b/debian/node-unorm.examples
new file mode 100644
index 0000000..a5c8735
--- /dev/null
+++ b/debian/node-unorm.examples
@@ -0,0 +1 @@
+example.js
\ No newline at end of file
diff --git a/debian/node-unorm.install b/debian/node-unorm.install
new file mode 100644
index 0000000..252bb78
--- /dev/null
+++ b/debian/node-unorm.install
@@ -0,0 +1 @@
+unorm.js usr/lib/nodejs/
diff --git a/debian/node-unorm.links b/debian/node-unorm.links
new file mode 100644
index 0000000..4a33c0f
--- /dev/null
+++ b/debian/node-unorm.links
@@ -0,0 +1 @@
+usr/lib/nodejs/unorm.js usr/share/doc/node-unorm/examples/lib/unorm.js
\ No newline at end of file
diff --git a/debian/patches/001_debian-unorm-examples.patch b/debian/patches/001_debian-unorm-examples.patch
new file mode 100644
index 0000000..a063d72
--- /dev/null
+++ b/debian/patches/001_debian-unorm-examples.patch
@@ -0,0 +1,10 @@
+Description: Adapt module import in example files to Debian package
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+--- a/example.js
++++ b/example.js
+@@ -1,4 +1,4 @@
+-var unorm = require('unorm');
++var unorm = require('./lib/unorm');
+ 
+ // Function to display Unicode codepoints of a string.
+ function codepoints(string) {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..65aefd7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001_debian-unorm-examples.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2351367
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_install:
+	cp -a index.js unorm.js
+
+override_dh_auto_clean:
+	rm unorm.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/watch b/debian/watch
new file mode 100644
index 0000000..03a391e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/unorm.js-$1.tar.gz/ \
+https://github.com/walling/unorm/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list