diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..887735e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python3-tldp (0.7.5) UNRELEASED; urgency=low + + * python3-tldp + + -- Martin A. Brown Tue, 19 Apr 2016 15:40:13 -0400 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..e9bc979 --- /dev/null +++ b/debian/control @@ -0,0 +1,42 @@ +Source: python3-tldp +Maintainer: Martin A. Brown +Section: python +X-Python3-Version: >= 3.4 +Priority: optional +Homepage: https://github.com/tLDP/python-tldp +Build-Depends: debhelper (>= 9), + dh-python, + python3-all, + python3-networkx, + python3-nose, + python3-coverage, + htmldoc, + fop, + jing, + sgml2x, + xsltproc, + asciidoc, + docbook, + docbook5-xml, + docbook-xsl-ns, + linuxdoc-tools-latex, + linuxdoc-tools-text, + ldp-docbook-xsl, + ldp-docbook-dsssl, + html2text +Standards-Version: 3.9.8 +Vcs-Git: https://github.com/tLDP/python-tldp.git +Vcs-Browser: https://github.com/tLDP/python-tldp + +Package: python3-tldp +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + python3, + python3-networkx +Description: automatic publishing tool for DocBook, Linuxdoc and Asciidoc + The Linux Documentation Project (TLDP) stores hundreds of documents in + DocBook SGML, DocBook XML, Linuxdoc and Asciidoc formats. This tool + automatically detects the source format and generates a directory containing + chunked and single-page HTML, a PDF and a plain text output. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d19de6d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,84 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-tldp +Upstream-Contact: Martin A. Brown +Source: https://github.com/tLDP/python-tldp + +Files: * +Copyright: 2016 Linux Documentation Project +License: MIT + +Files: extras/dsssl/* extras/css/* +Copyright: 2000-2003 - Greg Ferguson (gferg@metalab.unc.edu) +License: GPL-2+ + +Files: extras/dsssl/* extras/xsl/* extras/css/* +Copyright: 2000-2002 - David Horton (dhorton@speakeasy.net) +License: GFDL-1.2 + +Files: tests/sample-documents/Docbook-4.2-WHYNOT/images/* tests/sample-documents/DocBookSGML-Larger/images/bullet.png tests/sample-documents/Linuxdoc-Larger/images/* +Copyright: Copyright (C) 2011-2012 O'Reilly Media +License: MIT + +Files: extras/collateindex.pl +Copyright: 1997-2001 Norman Walsh +License: MIT + + +License: MIT + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the ``Software''), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + Except as contained in this notice, the names of individuals + credited with contribution to this software shall not be used in + advertising or otherwise to promote the sale, use or other + dealings in this Software without prior written authorization + from the individuals in question. + . + Any stylesheet derived from this Software that is publically + distributed will be identified with a different name and the + version strings in any derived Software will be changed so that + no possibility of confusion between the derived package and this + Software will exist. + . + Warranty + -------- + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER + CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + +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 program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2 + +License: GFDL-1.2 + On Debian systems, the complete text of the GFDL-1.2 can be found in + /usr/share/common-licenses/GFDL-1.2 + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..114cf79 --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +export PYBUILD_VERBOSE=1 +export PYBUILD_NAME=tldp + +%: + dh $@ --with=python3 --buildsystem=pybuild + +override_dh_installman: + (cd docs/ && \ + sphinx-build \ + -b man -D today="$(BUILD_DATE)" \ + -d _build/doctrees . _build/man) + dh_installman docs/_build/man/ldptool.1 + 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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..b8249b6 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/tldp/tldp-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))