[Pkg-javascript-commits] [node-eventemitter2] 01/01: Add of debian repository
matthew pideil
mpideil-guest at moszumanska.debian.org
Sat Mar 29 18:33:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
mpideil-guest pushed a commit to branch master
in repository node-eventemitter2.
commit c9a0de1e7d1833dc6169c7ad66eda3c0496afa1c
Author: Matthew Pideil <matthewp_debian at teledetection.fr>
Date: Sat Mar 29 18:22:07 2014 +0000
Add of debian repository
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 21 +++++++++++++++++++++
debian/copyright | 34 ++++++++++++++++++++++++++++++++++
debian/docs | 1 +
debian/examples | 2 ++
debian/install | 2 ++
debian/rules | 20 ++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
10 files changed, 89 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e35c067
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-eventemitter2 (0.4.13-1) unstable; urgency=low
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- root <root at build> Sat, 29 Mar 2014 00:43:10 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..37d2e70
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: node-eventemitter2
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Matthew Pideil <matthew.pideil at teledetection.fr>
+Build-Depends: cdbs,
+ debhelper (>= 8.0.0),
+ dh-buildinfo,
+ node-uglify | yui-compressor
+Standards-Version: 3.9.4
+Homepage: https://github.com/asyncly/EventEmitter2
+Vcs-Git: git://github.com/hij1nx/EventEmitter2.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/node-eventemitter2.git;a=summary
+
+Package: node-eventemitter2
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, nodejs
+Description: A Node.js event emitter implementation with namespaces, wildcards, TTL and browser support.
+ Node is an event-based server-side JavaScript engine.
+ .
+ This provides eventemitter2 for use directly in web browsers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a0cc493
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: node-eventemitter2
+Upstream-Contact: https://github.com/asyncly/EventEmitter2/issues
+Source: https://github.com/asyncly/EventEmitter2
+
+Files: *
+Copyright: (c) 2011 hij1nx <http://www.twitter.com/hij1nx>
+
+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.
+
+Files: debian/*
+Copyright: 2014 root <root at build>
+License: GPL-2+
+ This package 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 package 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/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..bc8a49b
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1,2 @@
+index.js
+test/
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..78a5f64
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+lib/eventemitter2.js /usr/share/javascript/eventemitter2/
+lib/eventemitter2.min.js /usr/share/javascript/eventemitter2/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e9e0e40
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ rm -f lib/eventemitter2.min.js
+
+override_dh_auto_build:
+ dh_auto_build
+ for _FILE in lib/*.js ; \
+ do \
+ $(js-compressor) -o $$(dirname $${_FILE})/$$(basename $${_FILE} .js).min.js $${_FILE}; \
+ done
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..52b3716
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/asyncly/EventEmitter2/tags .*/archive/v?(\d[\d\.]+).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-eventemitter2.git
More information about the Pkg-javascript-commits
mailing list