From 79aba59f6fde0a8b28f8151359dbb60e31e8d3c1 Mon Sep 17 00:00:00 2001 From: Lev Lamberov Date: Fri, 23 Sep 2016 10:16:36 +0500 Subject: Initial packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 24 ++++++++++++++++++++++++ debian/copyright | 28 ++++++++++++++++++++++++++++ debian/docs | 1 + debian/elpa | 1 + debian/patches/fix-documentation.diff | 17 +++++++++++++++++ debian/patches/series | 1 + debian/rules | 9 +++++++++ debian/source/format | 1 + debian/watch | 4 ++++ 11 files changed, 92 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/elpa create mode 100644 debian/patches/fix-documentation.diff create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e6a7b43 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +restart-emacs (0.1.1-1) unstable; urgency=low + + * Initial release (Closes: #838619) + + -- Lev Lamberov Fri, 23 Sep 2016 09:49:43 +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..dd59e00 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: restart-emacs +Section: lisp +Priority: optional +Maintainer: Debian Emacs addons team +Uploaders: Lev Lamberov +Build-Depends: debhelper (>= 10), + dh-elpa +Standards-Version: 3.9.8 +Testsuite: autopkgtest-pkg-elpa +Homepage: https://github.com/iqbalansari/restart-emacs +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-emacsen/pkg/restart-emacs.git/ +Vcs-Git: https://anonscm.debian.org/git/pkg-emacsen/pkg/restart-emacs.git + +Package: elpa-restart-emacs +Architecture: all +Depends: ${elpa:Depends}, + ${misc:Depends}, + emacs +Recommends: emacs (>= 46.0) +Enhances: emacs, + emacs24 +Built-Using: ${misc:Built-Using} +Description: restart emacs from within emacs + This package provides a simple command to restart Emacs from within Emacs. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..eb6cb54 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: restart-emacs +Source: https://github.com/iqbalansari/restart-emacs + +Files: * +Copyright: (C) 2015 Iqbal Ansari +License: GPL-3+ + +Files: debian/* +Copyright: (C) 2016 Lev Lamberov +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 . + . + 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..f20153b --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.org 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/fix-documentation.diff b/debian/patches/fix-documentation.diff new file mode 100644 index 0000000..d6f98f7 --- /dev/null +++ b/debian/patches/fix-documentation.diff @@ -0,0 +1,17 @@ +From: Lev Lamberov +Subject: Remove badge icons from README files + +This patch removes badges icons from README files. These icons are intended +rather for developers and are loaded from several external web sites. + +--- a/README.org ++++ b/README.org +@@ -1,8 +1,5 @@ + * Restart Emacs + +- [[http://melpa.org/#/restart-emacs][file:http://melpa.org/packages/restart-emacs-badge.svg]] [[http://stable.melpa.org/#/restart-emacs][file:http://stable.melpa.org/packages/restart-emacs-badge.svg]] [[https://travis-ci.org/iqbalansari/restart-emacs][https://travis-ci.org/iqbalansari/restart-emacs.svg?branch=master]] +- +- + ** Table of contents :TOC_3_gh: + - [[#restart-emacs][Restart Emacs]] + - [[#what-is-this][What is this?]] diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e266796 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-documentation.diff diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..aaa17d6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ --parallel --with elpa + +override_dh_elpa_test: + @echo skipping upstream tests + +.PHONY: override_dh_elpa_test 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..404dd3e --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 + opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%restart-emacs-$1.tar.gz%" \ + https://github.com/iqbalansari/restart-emacs/tags \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate -- cgit v1.2.3