From: Martin Mares Date: Sun, 19 Jan 2020 21:06:38 +0000 (+0100) Subject: Debian packaging X-Git-Tag: v1.1.1~7 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=14fb50539f77263a44f6b351dcde575f5ca9329d;p=paperjam.git Debian packaging Run debian/mk to generate a changelog. --- diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..ff051a3 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,5 @@ +Paperjam packaged for Debian. + +No changes against upstream. + + -- Martin Mares Sun, 19 Jan 2020 21:20:08 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d95ec68 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: paperjam +Section: ucw +Priority: optional +Maintainer: Martin Mares +Build-Depends: debhelper (>=11~), asciidoc +Standards-Version: 4.1.4 +Homepage: http://mj.ucw.cz/sw/paperjam/ + +Package: paperjam +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: PDF document processor + PaperJam is a tool for processing PDF documents: re-ordering pages, + scaling and rotating them, placing multiple pages on one sheet of paper, + adding cropmarks, and many other tricks. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fe2af16 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Paperjam +Source: http://mj.ucw.cz/sw/paperjam/ + +Files: * +Copyright: 2018-2020 Martin Mareš +License: GPL-2+ + 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 2 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 package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/debian/mk b/debian/mk new file mode 100755 index 0000000..9cd9fcb --- /dev/null +++ b/debian/mk @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +COMMIT=$(git rev-parse HEAD) +VER=$(git describe --always --tags | sed s/^v//)-1 + +rm debian/changelog +EDITOR=touch dch --create --package=paperjam --newversion=$VER "Automatically generated from Git commit $COMMIT." +EDITOR=touch dch --release -D stable +sed -i '/Initial release/d' debian/changelog diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f2beac8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ + +override_dh_auto_install: + dh_auto_install -- PREFIX=/usr