aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-01-29 11:10:14 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-01-29 11:10:14 -0700
commita93912499493117812cdf1cad339d4c1f64d1c4a (patch)
tree29518e9cbdc913b9f76e0660ecdf4c6c9545859b
parent73a9136ac3567732a5aabf0f5592b96cfbe26459 (diff)
downloadpandoc-citeproc-preamble-a93912499493117812cdf1cad339d4c1f64d1c4a.tar.gz
initial debianisation
-rw-r--r--debian/changelog1
-rw-r--r--debian/compat1
-rw-r--r--debian/control29
-rw-r--r--debian/copyright23
-rw-r--r--debian/install1
-rw-r--r--debian/lintian-overrides4
-rwxr-xr-xdebian/rules22
-rw-r--r--debian/source/format1
8 files changed, 82 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index ad03739..23f2ae5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
pandoc-citeproc-preamble (1.2.3) UNRELEASED; urgency=medium
* Convert changelog to Debian's format.
+ * Upload to Debian: add debian/ subdirectory.
-- Sean Whitton <spwhitton@spwhitton.name> Sun, 29 Jan 2017 11:00:07 -0700
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..3b63ad0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: pandoc-citeproc-preamble
+Maintainer: Sean Whitton <spwhitton@spwhitton.name>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ ghc,
+ libghc-pandoc-types-dev,
+Standards-Version: 3.9.8
+Homepage: https://spwhitton.name/tech/code/pandoc-citeproc-preamble/
+Vcs-Git: https://git.spwhitton.name/pandoc-citeproc-preamble
+Vcs-Browser: https://git.spwhitton.name/pandoc-citeproc-preamble
+
+Package: pandoc-citeproc-preamble
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+Recommends: pandoc-citeproc
+Description: insert a preamble before pandoc-citeproc's bibliography
+ pandoc-citeproc-preamble is a JSON filter for Pandoc which inserts a
+ preamble before the output that the pandoc-citeproc filter appends to
+ the document. This preamble might include a heading
+ (e.g. "Bibliography") and raw markup to format the bibliography for
+ the output format.
+ .
+ Since pandoc-citeproc doesn't provide any facility to add formatting
+ control code to its output, pandoc-citeproc-preamble is necessary to
+ avoid the user being forced to add their control code to the end of
+ their input files, thereby losing the input file's agnosticity with
+ regard to output format.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e1b3800
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pandoc-citeproc-preamble
+Source: https://spwhitton.name/tech/code/pandoc-citeproc-preamble/
+
+Files: *
+Copyright: (C) 2015-2017 Sean Whitton <spwhitton@spwhitton.name>
+License: GPL-3+
+ pandoc-citeproc-preamble 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.
+ .
+ pandoc-citeproc-preamble 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 pandoc-citeproc-preamble. 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/install b/debian/install
new file mode 100644
index 0000000..a4fcfa9
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+dist/build/pandoc-citeproc-preamble/pandoc-citeproc-preamble usr/bin
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..58bf513
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,4 @@
+# standard override for Haskell binary packages
+binary-or-shlib-defines-rpath
+# standard override for Haskell binary packages
+hardening-no-relro
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..42f7d2b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+# these rules originally written by Joey Hess for hothasktags package
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ ghc --make Setup
+ ./Setup configure
+
+override_dh_auto_build:
+ ./Setup build
+
+override_dh_auto_clean:
+ if [ -x Setup ]; then ./Setup clean; fi
+ rm -f Setup Setup.o Setup.hi
+
+override_dh_strip:
+ # GHC cannot produce debugging symbols so the -dbgsym package
+ # ends up empty, so disable generating it
+ dh_strip --no-automatic-dbgsym
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)