summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Vanicat <vanicat@debian.org>2016-01-31 11:00:09 +0100
committerRémi Vanicat <vanicat@debian.org>2016-01-31 11:00:09 +0100
commitd00660e9e770c027c0ba954df9a27b839bc7b259 (patch)
tree573b9567bbe103117db92b5ff666835a401b1f76
parentd76565d5d981f00770de7cb16ecf2ed7f77fbb11 (diff)
Debianisation
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control19
-rw-r--r--debian/copyright27
-rw-r--r--debian/docs2
-rw-r--r--debian/elpa-with-editor.info1
-rwxr-xr-xdebian/rules36
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
9 files changed, 94 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8514f99
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+with-editor (2.5.0-1) unstable; urgency=medium
+
+ * As upstream has split this from magit, creating a new package.
+
+ -- Rémi Vanicat <vanicat@debian.org> Sat, 30 Jan 2016 19:34:00 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ecdeaa1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: with-editor
+Section: editors
+Priority: optional
+Maintainer: Debian Emacs addons team <pkg-emacsen-addons@lists.alioth.debian.org>
+Uploaders: Rémi Vanicat <vanicat@debian.org>
+Build-Depends: debhelper (>= 9),
+ emacs-nox | emacs, dh-elpa (>= 0.0.17), dash-el,
+ install-info
+Standards-Version: 3.9.6
+Homepage: http://magit.vc/
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-emacsen/pkg/with-editor.git/
+Vcs-Git: git://anonscm.debian.org/pkg-emacsen/pkg/with-editor.git
+
+Package: elpa-with-editor
+Architecture: all
+Depends: ${misc:Depends}, dash-el
+Description: Call program using Emacs as $EDITOR
+ With this package, you can call program from Emacs such that they
+ will use Emacs as an editor.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..23d966c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/magit/with-editor
+
+Files: *
+Copyright: 2014-2015 The Magit Project Contributors
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2016 Rémi Vanicat <vanicat@debian.org>
+License: GPL-3+
+
+License: GPL-3+
+ with-editor 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, or (at your option)
+ any later version.
+ .
+ with-editor 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 with-editor. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..7bb49c9
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.md
+with-editor.org
diff --git a/debian/elpa-with-editor.info b/debian/elpa-with-editor.info
new file mode 100644
index 0000000..e148cc4
--- /dev/null
+++ b/debian/elpa-with-editor.info
@@ -0,0 +1 @@
+with-editor.info
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7be665d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+VERSION=2.5.0
+
+CP ?= install -p -m 644
+MKDIR ?= install -p -m 755 -d
+RMDIR ?= rm -rf
+TAR ?= tar
+
+%:
+ dh $@ --with elpa --parallel
+
+override_dh_auto_build: with-editor-$(VERSION).tar
+ @echo with-editor-$(VERSION).tar > debian/elpa-with-editor.elpa
+
+override_dh_auto_install:
+ @echo do not run make install
+
+override_dh_clean:
+ dh_clean
+ rm -f debian/elpa-with-editor.elpa with-editor-*.tar
+
+define with_editor_pkg
+(define-package "with-editor" "$(VERSION)"
+ "Use the Emacsclient as $$EDITOR"
+ ())
+endef
+
+export with_editor_pkg
+with-editor-$(VERSION).tar:
+ @printf "Packing $@\n"
+ @$(MKDIR) with-editor-$(VERSION)
+ @printf "$$with_editor_pkg\n" > with-editor-$(VERSION)/with-editor-pkg.el
+ @$(CP) with-editor.el with-editor-$(VERSION)
+ @$(TAR) c --mtime=./with-editor-$(VERSION) \
+ -f with-editor-$(VERSION).tar with-editor-$(VERSION)
+ @$(RMDIR) with-editor-$(VERSION)
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..90cfa06
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/magit/with-editor/releases /magit/with-editor/archive/v(\d.+).tar.gz