[Pkg-javascript-commits] [node-languages4translatewiki] 02/04: Initial Debianization
Per Andersson
avtobiff-guest at moszumanska.debian.org
Sun Feb 16 21:39:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
avtobiff-guest pushed a commit to branch master
in repository node-languages4translatewiki.
commit e7c89122b9dd2e8b5993637ae78f43e886b7210e
Author: Per Andersson <avtobiff at gmail.com>
Date: Fri Aug 16 02:14:56 2013 +0200
Initial Debianization
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 44 +++++++++++++++++++++++++++
debian/copyright | 30 ++++++++++++++++++
debian/libjs-languages4translatewiki.docs | 1 +
debian/libjs-languages4translatewiki.examples | 1 +
debian/libjs-languages4translatewiki.install | 3 ++
debian/node-languages4translatewiki.docs | 1 +
debian/node-languages4translatewiki.examples | 1 +
debian/node-languages4translatewiki.install | 3 ++
debian/rules | 14 +++++++++
debian/source/format | 1 +
debian/source/local-options | 1 +
debian/watch | 2 ++
14 files changed, 108 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5cd42bc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-languages4translatewiki (0.1.3~git.20130813.22b5356-1) unstable; urgency=low
+
+ * Initial release (Closes: #719846)
+
+ -- Per Andersson <avtobiff at gmail.com> Fri, 16 Aug 2013 02:10:31 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..51b59a3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,44 @@
+Source: node-languages4translatewiki
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Per Andersson <avtobiff at gmail.com>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ nodejs,
+ node-uglify
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-languages4translatewiki.git
+Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-javascript/node-languages4translatewiki.git;a=summary
+Homepage: https://github.com/joker-x/languages4translatewiki
+
+Package: node-languages4translatewiki
+Architecture: all
+Depends:
+ ${misc:Depends},
+ nodejs
+Description: Javascript globalization and localization for Node.js
+ This is an extension to languages.js for supporting all languages of
+ translatewiki.net.
+ .
+ A basic and lightweight replacement for Globalize. Store all languages
+ supported by translatewiki.net in a JSON object, accessible as node module or
+ by browser javascript interpreter.
+ .
+ This package enables Node.js usage.
+
+Package: libjs-languages4translatewiki
+Architecture: all
+Depends:
+ ${misc:Depends}
+Recommends:
+ javascript-common
+Description: Javascript globalization and localization for browser use
+ This is an extension to languages.js for supporting all languages of
+ translatewiki.net.
+ .
+ A basic and lightweight replacement for Globalize. Store all languages
+ supported by translatewiki.net in a JSON object, accessible as node module or
+ by browser javascript interpreter.
+ .
+ This package enables browser usage.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bfaf09c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: languages4translatewiki
+Homepage: https://github.com/joker-x/languages4translatewiki/
+
+Files: *
+Copyright: 2012 Iván Eixarch <ivan at sinanimodelucro.org>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2013 Per Andersson <avtobiff at gmail.com>
+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 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 complete text of the GNU General Public License
+ can be found in `/usr/share/common-licenses/GPL-2'
diff --git a/debian/libjs-languages4translatewiki.docs b/debian/libjs-languages4translatewiki.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libjs-languages4translatewiki.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libjs-languages4translatewiki.examples b/debian/libjs-languages4translatewiki.examples
new file mode 100644
index 0000000..49cb316
--- /dev/null
+++ b/debian/libjs-languages4translatewiki.examples
@@ -0,0 +1 @@
+test/browser-example.html
diff --git a/debian/libjs-languages4translatewiki.install b/debian/libjs-languages4translatewiki.install
new file mode 100644
index 0000000..4b549f3
--- /dev/null
+++ b/debian/libjs-languages4translatewiki.install
@@ -0,0 +1,3 @@
+languages.js /usr/share/javascript/languages4translatewiki
+languages.min.js /usr/share/javascript/languages4translatewiki
+languages.json /usr/share/javascript/languages4translatewiki
diff --git a/debian/node-languages4translatewiki.docs b/debian/node-languages4translatewiki.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/node-languages4translatewiki.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/node-languages4translatewiki.examples b/debian/node-languages4translatewiki.examples
new file mode 100644
index 0000000..9dc100a
--- /dev/null
+++ b/debian/node-languages4translatewiki.examples
@@ -0,0 +1 @@
+test/node-example.js
diff --git a/debian/node-languages4translatewiki.install b/debian/node-languages4translatewiki.install
new file mode 100644
index 0000000..702129e
--- /dev/null
+++ b/debian/node-languages4translatewiki.install
@@ -0,0 +1,3 @@
+languages.js /usr/lib/nodejs/node-languages4translatewiki
+languages.min.js /usr/lib/nodejs/node-languages4translatewiki
+languages.json /usr/lib/nodejs/node-languages4translatewiki
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..694dd75
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ rm -f languages.min.js
+ rm -f languages.min.js.gz
+
+override_dh_auto_build:
+ uglifyjs -o languages.min.js languages.js
+
+override_dh_auto_test:
+ nodejs test/node-example.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..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d46cedd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/joker-x/languages4translatewiki/ (.*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-languages4translatewiki.git
More information about the Pkg-javascript-commits
mailing list