summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorLev Lamberov <dogsleg@debian.org>2016-09-23 10:16:36 +0500
committerLev Lamberov <dogsleg@debian.org>2016-09-23 10:31:53 +0500
commit79aba59f6fde0a8b28f8151359dbb60e31e8d3c1 (patch)
treea3137a532c68331e15dedd18e6af2a1ead8ce177 /debian
parentf858a9011b9e1ae0155e29118fb1a697909f3a0e (diff)
Initial packaging
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control24
-rw-r--r--debian/copyright28
-rw-r--r--debian/docs1
-rw-r--r--debian/elpa1
-rw-r--r--debian/patches/fix-documentation.diff17
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
11 files changed, 92 insertions, 0 deletions
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 <dogsleg@debian.org> 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 <pkg-emacsen-addons@lists.alioth.debian.org>
+Uploaders: Lev Lamberov <dogsleg@debian.org>
+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 <iqbalansari02@yahoo.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..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 <dogsleg@debian.org>
+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