[Pkg-javascript-commits] [libjs-autolink] 02/04: Initial packaging.
Michael Lustfield
mtecknology at debian.org
Mon Aug 28 05:15:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
mtecknology pushed a commit to branch master
in repository libjs-autolink.
commit a2495e420103e0b81c5e69412eb850b153cbc81b
Author: Michael Lustfield <michael at lustfield.net>
Date: Sun Aug 27 23:50:44 2017 -0500
Initial packaging.
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 21 +++++++++++++++++++++
debian/copyright | 31 +++++++++++++++++++++++++++++++
debian/examples | 1 +
debian/gbp.conf | 3 +++
debian/install | 2 ++
debian/rules | 11 +++++++++++
debian/source/format | 1 +
debian/watch | 10 ++++++++++
10 files changed, 86 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4378b19
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libjs-autolink (1.0.2+dfsg-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #873457)
+
+ -- Michael Lustfield <michael at lustfield.net> Sat, 26 Aug 2017 22:09:49 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a6c6801
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: libjs-autolink
+Section: javascript
+Priority: optional
+Maintainer: Debian JavaScript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Michael Lustfield <michael at lustfield.net>
+Build-Depends: debhelper (>= 10), uglifyjs
+Standards-Version: 4.0.0
+Homepage: https://github.com/bryanwoods/autolink-js
+Vcs-Git: https://anonscm.debian.org/pkg-javascript/libjs-autolink.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/libjs-autolink.git
+
+Package: libjs-autolink
+Architecture: all
+Depends: javascript-common, ${misc:Depends}
+Description: JavaScript methods converting text to links
+ This JavaScript library implements methods for converting strings of text
+ containing URLs to hyperlinks.
+ .
+ Example:
+ - Input: "This is a link to Google http://google.com".autoLink()
+ - Output: "This is a link to Google <a href='http://google.com'>http://google.com</a>"
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..867d449
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: autolink-js
+Source: https://github.com/bryanwoods/autolink-js
+Files-Excluded: autolink-min.js autolink.map
+
+Files: *
+Copyright: 2012 Bryan Woods
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Michael Lustfield <michael at lustfield.net>
+License: Expat
+
+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.
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..0bbe99e
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+example/*
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..4eb8a51
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+pristine-tar = True
+#sign-tags = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..cbfd062
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+autolink.js usr/share/javascript/libjs-autolink
+autolink-min.js usr/share/javascript/libjs-autolink
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ca1c20d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_auto_clean:
+ rm -f autolink-min.js
+ dh_auto_clean
+
+override_dh_auto_build:
+ uglifyjs -o autolink-min.js autolink.js
+ dh_auto_build
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..a6e0738
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,10 @@
+# uscan(1) configuration file.
+version=4
+
+opts="\
+pgpmode=none,\
+repacksuffix=+dfsg,\
+repack,compression=xz,\
+dversionmangle=s{[~+](?:ds|dfsg)\d*$}{},\
+" https://github.com/bryanwoods/autolink-js/releases \
+ .*/archive/v?(\d[\d.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/libjs-autolink.git
More information about the Pkg-javascript-commits
mailing list