summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Lamberov <dogsleg@debian.org>2017-01-30 00:06:52 +0500
committerLev Lamberov <dogsleg@debian.org>2017-01-30 00:28:06 +0500
commit999a6a2657778d3ae4fd48c10f1ec64686172af1 (patch)
tree8e4e7f7669dcc64b1b1e8067a2f92c8a72560f28
parente2ae28a218cdd02d5f5396108b5d7fad44c61490 (diff)
Initial packaging
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control29
-rw-r--r--debian/copyright28
-rw-r--r--debian/docs1
-rw-r--r--debian/elpa1
-rw-r--r--debian/patches/0001-fix-documentation.diff34
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
11 files changed, 109 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ad8527b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+emacs-smeargle (0.03-1) unstable; urgency=medium
+
+ * Initial release (Closes: #853104)
+
+ -- Lev Lamberov <dogsleg@debian.org> Sun, 29 Jan 2017 23:58:22 +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..3f3f332
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: emacs-smeargle
+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/syohex/emacs-smeargle
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-emacsen/pkg/emacs-smeargle.git/
+Vcs-Git: https://anonscm.debian.org/git/pkg-emacsen/pkg/emacs-smeargle.git
+
+Package: elpa-smeargle
+Architecture: all
+Depends: ${elpa:Depends},
+ ${misc:Depends},
+ emacs
+Recommends: emacs (>= 46.0)
+Enhances: emacs,
+ emacs24,
+ emacs25
+Built-Using: ${misc:Built-Using}
+Description: highlight region by last updated time
+ `smeargle' is an Emacs port of Vim's smeargle. `smeargle' provides
+ highlighting regions by last update time / age of commits. So it is
+ possible to know which part is changed recently and which part is
+ not changed recently.
+ .
+ It supports Git and Mercurial.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..652c811
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: emacs-smeargle
+Source: https://github.com/syohex/emacs-smeargle
+
+Files: *
+Copyright: (C) 2016 by Syohei Yoshida <syohex@gmail.com>
+License: GPL-3+
+
+Files: debian/*
+Copyright: (C) 2017 Lev Lamberov <dogsleg@debian.org>
+License: GPL-3+
+
+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..879a909
--- /dev/null
+++ b/debian/patches/0001-fix-documentation.diff
@@ -0,0 +1,34 @@
+From: Lev Lamberov <dogsleg@debian.org>
+Subject: Remove badge icons and screenshot from README file
+
+This patch removes badges icons and screenshot 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,14 +1,10 @@
+-# smeargle.el [![melpa badge][melpa-badge]][melpa-link] [![melpa stable badge][melpa-stable-badge]][melpa-stable-link]
++# smeargle.el
+
+ Highlighting regions by last updated time.
+ Older updated region is highlighted whity, newer region is highlighted blackly.
+
+ This is Emacs port of Vim's [smeargle](https://github.com/FriedSock/smeargle)
+
+-## Screenshot
+-
+-![smeargle](image/smeargle.png)
+-
+
+ ## Installation
+
+@@ -91,8 +87,3 @@ to `smeargle-age-threshold` if actual ag
+ ;; Updating after save buffer
+ (add-hook 'after-save-hook 'smeargle)
+ ```
+-
+-[melpa-link]: https://melpa.org/#/smeargle
+-[melpa-stable-link]: https://stable.melpa.org/#/smeargle
+-[melpa-badge]: https://melpa.org/packages/smeargle-badge.svg
+-[melpa-stable-badge]: https://stable.melpa.org/packages/smeargle-badge.svg
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..4bf25b7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+ opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%emacs-smeargle-$1.tar.gz%" \
+ https://github.com/syohex/emacs-smeargle/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate