summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Lamberov <dogsleg@debian.org>2017-01-30 18:50:01 +0500
committerLev Lamberov <dogsleg@debian.org>2017-01-30 19:03:46 +0500
commit461ea8adca2d9da5f8d3f8c15a8af4456702894d (patch)
tree35c43e8ef1629ed8673693b7a1832e56d9bad727
parentfbf8e776c017d5764c73a977ac38814d84e41d51 (diff)
Initial packaging
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control29
-rw-r--r--debian/copyright51
-rw-r--r--debian/docs1
-rw-r--r--debian/elpa1
-rw-r--r--debian/patches/0001-fix-documentation.diff16
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
11 files changed, 114 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5aa4fae
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+highlight-numbers-el (0.2.3-1) unstable; urgency=medium
+
+ * Initial release (Closes: #853182)
+
+ -- Lev Lamberov <dogsleg@debian.org> Mon, 30 Jan 2017 18:40:29 +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..892524d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: highlight-numbers-el
+Section: lisp
+Priority: optional
+Maintainer: Debian Emacs addons team <pkg-emacsen-addons@lists.alioth.debian.org>
+Uploaders: Lev Lamberov <dogsleg@debian.org>
+Build-Depends: debhelper (>= 10),
+ dh-elpa
+Standards-Version: 3.9.8
+Homepage: https://github.com/Fanael/highlight-numbers
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-emacsen/pkg/highlight-numbers-el.git/
+Vcs-Git: https://anonscm.debian.org/git/pkg-emacsen/pkg/highlight-numbers-el.git
+
+Package: elpa-highlight-numbers
+Architecture: all
+Depends: ${elpa:Depends},
+ ${misc:Depends},
+ emacs,
+ elpa-parent-mode
+Recommends: emacs (>= 46.0)
+Enhances: emacs,
+ emacs24,
+ emacs25
+Built-Using: ${misc:Built-Using}
+Description: highlight numbers in source code
+ This minor mode provides syntax highlighting of numeric literals in
+ source code, like what many editors provide by default.
+ .
+ It's easy to add or redefine what exactly consitutes a "number" in
+ given major mode. See `highlight-numbers-modelist'.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2a460e8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: highlight-numbers
+Source: https://github.com/Fanael/highlight-numbers
+
+Files: *
+Copyright: (C) 2013-2016 Fanael Linithien <fanael4@gmail.com>
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: (C) 2016 Lev Lamberov <dogsleg@debian.org>
+License: GPL-3+
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: GPL-3+
+ 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 3 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, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..dd44972
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+*.md
diff --git a/debian/elpa b/debian/elpa
new file mode 100644
index 0000000..abf136d
--- /dev/null
+++ b/debian/elpa
@@ -0,0 +1 @@
+*.el
diff --git a/debian/patches/0001-fix-documentation.diff b/debian/patches/0001-fix-documentation.diff
new file mode 100644
index 0000000..85acf4c
--- /dev/null
+++ b/debian/patches/0001-fix-documentation.diff
@@ -0,0 +1,16 @@
+From: Lev Lamberov <dogsleg@debian.org>
+Subject: Remove badge icons from README file
+
+This patch removes badges icons from README file. These icons are
+intended rather for developers and are loaded from several external
+web sites.
+
+--- a/README.md
++++ b/README.md
+@@ -1,6 +1,3 @@
+-[![Melpa Status](http://melpa.org/packages/highlight-numbers-badge.svg)](http://melpa.org/#/highlight-numbers)
+-[![Melpa Stable Status](http://stable.melpa.org/packages/highlight-numbers-badge.svg)](http://stable.melpa.org/#/highlight-numbers)
+-
+ # highlight-numbers
+
+ `highlight-numbers` is an Emacs minor mode that highlights numeric literals
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..db340cf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-fix-documentation.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e8e22ba
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with elpa
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..eb6f06a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+ opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%highlight-numbers-el-$1.tar.gz%" \
+ https://github.com/Fanael/highlight-numbers/tags \b
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate