diff options
author | Lev Lamberov <dogsleg@debian.org> | 2016-12-29 13:05:41 +0500 |
---|---|---|
committer | Lev Lamberov <dogsleg@debian.org> | 2016-12-29 15:13:54 +0500 |
commit | b9d99399952cfb9f5642e4131077b326f9249f21 (patch) | |
tree | f4678ce52c0e711b2a85ddeac0881d8603a419d0 | |
parent | 34f1409751ae2f012732d77f77b2ebaee217f2cb (diff) |
Initial packaging
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 25 | ||||
-rw-r--r-- | debian/copyright | 28 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/elpa | 1 | ||||
-rw-r--r-- | debian/patches/0001-fix-documentation.diff | 25 | ||||
-rw-r--r-- | debian/patches/0002-fix-version.diff | 16 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 4 |
12 files changed, 113 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..92bb06c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +engine-mode (2.0.0-1) unstable; urgency=medium + + * Initial release (Closes: #849625) + + -- Lev Lamberov <dogsleg@debian.org> Thu, 29 Dec 2016 12:07:14 +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..775df3f --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: engine-mode +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/hrs/engine-mode +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-emacsen/pkg/engine-mode.git/ +Vcs-Git: https://anonscm.debian.org/git/pkg-emacsen/pkg/engine-mode.git + +Package: elpa-engine-mode +Architecture: all +Depends: ${elpa:Depends}, + ${misc:Depends}, + emacs +Recommends: emacs (>= 46.0) +Enhances: emacs, + emacs25 +Built-Using: ${misc:Built-Using} +Description: define and query search engines from within Emacs + `engine-mode' is a global minor mode for Emacs. It enables you to easily + define search engines, bind them to keybindings, and query them from the + comfort of your editor. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8421a9c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: engine-mode +Source: https://github.com/hrs/engine-mode + +Files: * +Copyright: 2014-2016 Harry R. Schwartz <hello@harryrschwartz.com> +License: GPL-3+ + +Files: debian/* +Copyright: (C) 2016 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 <http://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..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.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..85777cf --- /dev/null +++ b/debian/patches/0001-fix-documentation.diff @@ -0,0 +1,25 @@ +From: Lev Lamberov <dogsleg@debian.org> +Subject: Remove screenshot and badge icons from README file + +This patch removes screenshot and 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,15 +1,9 @@ + # engine-mode + +-[![MELPA](http://melpa.org/packages/engine-mode-badge.svg)](http://melpa.org/#/engine-mode) +-[![Melpa Stable Status](http://melpa-stable.milkbox.net/packages/engine-mode-badge.svg)](http://melpa-stable.milkbox.net/#/engine-mode) +-[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0) +- + `engine-mode` is a global minor mode for Emacs. It enables you to easily define + search engines, bind them to keybindings, and query them from the comfort of + your editor. + +-![demo](doc/demo.gif) +- + For example, suppose we want to be able to easily search GitHub: + + ```emacs diff --git a/debian/patches/0002-fix-version.diff b/debian/patches/0002-fix-version.diff new file mode 100644 index 0000000..eed0759 --- /dev/null +++ b/debian/patches/0002-fix-version.diff @@ -0,0 +1,16 @@ +From: Lev Lamberov <dogsleg@debian.org> +Subject: Fix version number + +Upstream forgot to update version number, so this patch fixes it. + +--- a/engine-mode.el ++++ b/engine-mode.el +@@ -1,7 +1,7 @@ + ;;; engine-mode.el --- Define and query search engines from within Emacs. + + ;; Author: Harry R. Schwartz <hello@harryrschwartz.com> +-;; Version: 1.0.0 ++;; Version: 2.0.0 + ;; URL: https://github.com/hrs/engine-mode/engine-mode.el + + ;; This file is NOT part of GNU Emacs. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..00dbe6c --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +0001-fix-documentation.diff +0002-fix-version.diff diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8eb7ccb --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --parallel --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..90980c3 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 + opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%engine-mode-$1.tar.gz%" \ + https://github.com/hrs/engine-mode/tags \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate |