[xml/sgml-commit] r645 - packages/docbook-simple/trunk/debian

Daniel Leidert dleidert-guest at alioth.debian.org
Sat Mar 10 13:08:19 CET 2007


Author: dleidert-guest
Date: 2007-03-10 12:08:19 +0000 (Sat, 10 Mar 2007)
New Revision: 645

Added:
   packages/docbook-simple/trunk/debian/README.Debian
   packages/docbook-simple/trunk/debian/catalog
   packages/docbook-simple/trunk/debian/catalog.xml
   packages/docbook-simple/trunk/debian/changelog
   packages/docbook-simple/trunk/debian/compat
   packages/docbook-simple/trunk/debian/control
   packages/docbook-simple/trunk/debian/copyright
   packages/docbook-simple/trunk/debian/docbook-simple.dirs
   packages/docbook-simple/trunk/debian/docbook-simple.install
   packages/docbook-simple/trunk/debian/docbook-simple.links
   packages/docbook-simple/trunk/debian/docbook-simple.postinst
   packages/docbook-simple/trunk/debian/docbook-simple.postrm
   packages/docbook-simple/trunk/debian/docbook-simple.prerm
   packages/docbook-simple/trunk/debian/docbook-simple.sgmlcatalogs
   packages/docbook-simple/trunk/debian/docbook-simple.xmlcatalogs
   packages/docbook-simple/trunk/debian/rules
Log:
Initially inject docbook-simple (1.0.0-6.1) debian directory.


Added: packages/docbook-simple/trunk/debian/README.Debian
===================================================================
--- packages/docbook-simple/trunk/debian/README.Debian	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/README.Debian	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,102 @@
+docbook-simple for Debian
+-----------------------------
+The Simplified DocBook XML DTD is a small subset of the DocBook XML DTD 
+having only ~100 elements. The full version has >350 elements.
+
+Online documentation of the content models for this dtd is here:
+ http://www.oasis-open.org/docbook/xml/simple/
+
+This DTD only supports simple documents, e.g. 'article' or 'refentry', rather
+than the more complex documents like 'book' or 'set' which is supported by the
+full docbook DTD.
+
+
+I.  How to write an article that uses the Simplified Docbook DTDs:
+==================================================================
+
+Use one of the following two prologs in your XML file to use
+the Simplified DocBook Document Type in your document prolog:
+
+EITHER --------------------------------------------------------------
+
+<?xml version="1.0"?>
+<!DOCTYPE article
+     PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.0//EN" 
+     "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd">
+<article>
+...
+</article>
+
+OR ------------------------------------------------------------------
+
+if you wish to customize the Simplified DocBook DTD...
+
+<?xml version="1.0"?>
+<!DOCTYPE article
+   PUBLIC "-//OASIS//DTD Simplified DocBook XML Customization V1.0//EN" 
+   "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook-custom.dtd">
+<article>
+...
+</article>
+
+
+
+II.  How to write a manual page that uses the Simplified DocBook DTDs:
+======================================================================
+
+The sdocbookref.dtd (and sdocbookref-custom.dtd) provide a simplified subset of
+DocBook to support writing manual pages.
+
+Use one of the following two prologs in your XML file to use
+the Simplified DocBook Document Type in your document prolog:
+
+EITHER --------------------------------------------------------------
+
+<?xml version="1.0"?>
+<!DOCTYPE refentry
+     PUBLIC "-//OASIS//DTD Simplified DocBook RefEntry XML V1.0//EN"
+     "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref.dtd">
+<refentry>
+...
+</refentry>
+
+
+OR ------------------------------------------------------------------
+
+if wish to customize the Simplified Refentry DTD...
+
+<?xml version="1.0"?>
+<!DOCTYPE refentry
+  PUBLIC "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.0//EN"
+ "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref-custom.dtd">
+<refentry>
+...
+</refentry>
+
+
+
+III.  How to validate a document that uses the Simplified Docbook DTD
+
+If you have the libxml2 package installed, then you can use the 
+command 'xmllint' to validate a document.
+
+The following is the contents of a file named "simple.xml":
+
+<?xml version="1.0"?>
+<!DOCTYPE article PUBLIC 
+   "-//OASIS//DTD Simplified DocBook XML V1.0//EN" 
+   "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd">
+<article>
+<para>This is a test.</para>
+</article>
+
+Then this document can be validated using:
+SGML_CATALOG_FILES=/etc/sgml/catalog xmllint --valid --catalogs simple.xml
+
+Acknowledgement: This is revision of an extensive README originally written by
+                 Susan Kleinmann <sgk at debian.org>.
+
+
+ -- Mark Johnson <mrj at debian.org>, Mon, 26 Jan 2004 17:43:36 -0500
+
+

Added: packages/docbook-simple/trunk/debian/catalog
===================================================================
--- packages/docbook-simple/trunk/debian/catalog	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/catalog	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,15 @@
+-- catalog entry for docbook docbook-simple V1.0 --
+OVERRIDE YES
+
+PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.0//EN" "sdocbook.dtd"
+SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd" "sdocbook.dtd"
+
+PUBLIC "-//OASIS//DTD Simplified DocBook XML Customization V1.0//EN" "sdocbook-custom.dtd"
+SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook-custom.dtd" "sdocbook-custom.dtd"
+
+
+PUBLIC "-//OASIS//DTD Simplified DocBook RefEntry XML V1.0//EN" "sdocbookref.dtd"
+SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref.dtd" "sdocbookref.dtd"
+
+PUBLIC "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.0//EN" "sdocbookref-custom.dtd"
+SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref-custom.dtd" "sdocbookref-custom.dtd"

Added: packages/docbook-simple/trunk/debian/catalog.xml
===================================================================
--- packages/docbook-simple/trunk/debian/catalog.xml	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/catalog.xml	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.0//EN"
+     "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
+
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
+
+  <public publicId="-//OASIS//DTD Simplified DocBook XML V1.0//EN"
+    uri="sdocbook.dtd"/>
+
+  <system
+    systemId="http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd"
+    uri="sdocbook.dtd"/>
+
+
+  <public publicId="-//OASIS//DTD Simplified DocBook XML Customization V1.0//EN"
+    uri="sdocbook-custom.dtd"/>
+
+  <system
+    systemId="http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook-custom.dtd"
+    uri="sdocbook-custom.dtd"/>
+
+
+  <public publicId="-//OASIS//DTD Simplified DocBook RefEntry XML V1.0//EN"
+    uri="sdocbookref.dtd"/>
+
+  <system
+    systemId="http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref.dtd"
+    uri="sdocbookref.dtd"/>
+
+
+  <public publicId="-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.0//EN" 
+    uri="sdocbookref-custom.dtd"/>
+
+  <system
+    systemId="http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref-custom.dtd"
+    uri="sdocbookref-custom.dtd"/>
+
+
+</catalog>

Added: packages/docbook-simple/trunk/debian/changelog
===================================================================
--- packages/docbook-simple/trunk/debian/changelog	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/changelog	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,58 @@
+docbook-simple (1.0.0-6.1) unstable; urgency=low
+
+  * Added Replaces: docbook-xml-simple. (closes: #232215)
+  * Changed Build-Depends to Build-Depends-Indep
+  * Added Build-Depends-Indep: xml-core.
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Fri, 19 Mar 2004 16:21:42 +0100
+
+docbook-simple (1.0.0-6) unstable; urgency=low
+
+  * Better fix for compatibility symlink.
+  * Changed rules to use dh_installxmlcatalogs.
+
+ -- Mark Johnson <mrj at debian.org>  Mon,  9 Feb 2004 18:23:55 -0500
+
+docbook-simple (1.0.0-5) unstable; urgency=low
+
+  * Fixed compatibility symlink.
+
+ -- Mark Johnson <mrj at debian.org>  Fri, 30 Jan 2004 20:56:19 -0500
+
+docbook-simple (1.0.0-4) unstable; urgency=low
+
+  * Added dependency on xml-core & xml-base.
+
+ -- Mark Johnson <mrj at debian.org>  Mon, 26 Jan 2004 18:13:04 -0500
+
+docbook-simple (1.0.0-3) unstable; urgency=low
+
+  * Added xml catalog support.
+  * Changed to debhelper config files.
+  * Migrated package to /usr/share/xml
+
+ -- Mark Johnson <mrj at debian.org>  Mon, 26 Jan 2004 17:46:21 -0500
+
+docbook-simple (1.0.0-2) unstable; urgency=low
+
+  * Fixed Description formatting in debian/control.
+
+ -- Mark Johnson <mrj at debian.org>  Wed, 19 Nov 2003 17:59:57 -0500
+
+docbook-simple (1.0.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Mark Johnson <mrj at debian.org>  Fri,  7 Nov 2003 18:13:10 -0500
+
+docbook-simple (1.0cr2-1) unstable; urgency=low
+
+  * New upstream release. (Earlier releases are still available as
+    docbook-xml-simple.)
+
+ -- Susan Kleinmann <sgk at debian.org>  Sat,  7 Sep 2002 07:08:34 -0400
+
+Local variables:
+mode: debian-changelog
+End:
+

Added: packages/docbook-simple/trunk/debian/compat
===================================================================
--- packages/docbook-simple/trunk/debian/compat	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/compat	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1 @@
+4

Added: packages/docbook-simple/trunk/debian/control
===================================================================
--- packages/docbook-simple/trunk/debian/control	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/control	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,20 @@
+Source: docbook-simple
+Section: text
+Priority: optional
+Maintainer: Mark Johnson <mrj at debian.org>
+Build-Depends-Indep: debhelper (>> 4.0.0), xml-core
+Standards-Version: 3.6.1.0
+
+Package: docbook-simple
+Architecture: all
+Depends: ${misc:Depends}, docbook-xml (>= 4.2-7)
+Suggests: docbook-xsl
+Replaces: docbook-xml-simple
+Description: Simplified DocBook XML Doctype and css stylesheets.
+ This is a small subset of the DocBook XML DTD.
+ It has ~100 elements, rather than the >350 elements in the 
+ full DocBook DTD.  A good choice when full DocBook is overkill.
+ .
+ Author: The DocBook Technical Committee <docbook-tc at lists.oasis-open.org>
+ .
+ Homepage: http://www.oasis-open.org/docbook/xml/simple/

Added: packages/docbook-simple/trunk/debian/copyright
===================================================================
--- packages/docbook-simple/trunk/debian/copyright	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/copyright	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,35 @@
+This package was debianized by Mark Johnson <mrj at debian.org> on
+Mon, 26 Jan 2004 17:46:39 -0500
+
+It was downloaded from http://www.oasis-open.org/docbook/xml/simple/1.0/docbook-simple-1.0.zip
+
+Upstream Author: The DocBook Technical Committee <docbook-tc at lists.oasis-open.org>
+
+Copyright:
+
+<!-- Copyright 1992-2002 HaL Computer Systems, Inc.,
+     O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+     Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+     Organization for the Advancement of Structured Information
+     Standards (OASIS).
+
+     $Id: copyright,v 1.3 2004/01/26 23:00:16 mrj Exp $
+
+     Permission to use, copy, modify and distribute the DocBook XML DTD
+     and its accompanying documentation for any purpose and without fee
+     is hereby granted in perpetuity, provided that the above copyright
+     notice and this paragraph appear in all copies.  The copyright
+     holders make no representation about the suitability of the DTD for
+     any purpose.  It is provided "as is" without expressed or implied
+     warranty.
+
+     If you modify the Simplified DocBook DTD in any way, except for
+     declaring and referencing additional sets of general entities and
+     declaring additional notations, label your DTD as a variant of
+     DocBook.  See the maintenance documentation for more information.
+
+     Please direct all questions, bug reports, or suggestions for
+     changes to the docbook at lists.oasis-open.org mailing list. For more
+     information, see http://www.oasis-open.org/docbook/.
+-->
+

Added: packages/docbook-simple/trunk/debian/docbook-simple.dirs
===================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.dirs	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/docbook-simple.dirs	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,3 @@
+usr/share/xml/docbook/custom/simple/1.0
+usr/share/xml/docbook/custom/simple/1.0/css
+usr/share/sgml/docbook/custom

Added: packages/docbook-simple/trunk/debian/docbook-simple.install
===================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.install	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/docbook-simple.install	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,3 @@
+*.mod		usr/share/xml/docbook/custom/simple/1.0
+*.dtd		usr/share/xml/docbook/custom/simple/1.0
+*.css		usr/share/xml/docbook/custom/simple/1.0/css

Added: packages/docbook-simple/trunk/debian/docbook-simple.links
===================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.links	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/docbook-simple.links	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,2 @@
+usr/share/xml/docbook/custom/simple		usr/share/sgml/docbook/custom/simple	
+usr/share/xml/docbook/custom/simple/1.0		usr/share/xml/docbook/custom/simple/1.0CR2

Added: packages/docbook-simple/trunk/debian/docbook-simple.postinst
===================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.postinst	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/docbook-simple.postinst	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,37 @@
+#! /bin/sh
+# postinst script for docbook-simple
+# Maintainer: Mark Johnson <mrj at debian.org>
+
+set -e
+
+
+if [ "$1" = configure ]; then
+
+    # Skip all this if compatibility symlink exists
+    if [ ! -h /usr/share/sgml/docbook/custom/simple ]; then
+
+	# Check if custom directory exists
+	if [ -d /usr/share/sgml/docbook/custom ]; then
+	    # Remove simple directory, if it exists
+	    if [ -d /usr/share/sgml/docbook/custom/simple ]; then
+		rm -rf /usr/share/sgml/docbook/custom/simple
+	    fi
+	else
+	    # Create custom directory
+	    mkdir /usr/share/sgml/docbook/custom
+	fi
+
+	# Compatibility symlink doesn't exist, create it
+	ln -s  ../../../xml/docbook/custom/simple \
+	    /usr/share/sgml/docbook/custom/simple
+    fi
+    # End of symlink section
+
+
+fi
+
+
+#DEBHELPER#
+
+exit 0
+

Added: packages/docbook-simple/trunk/debian/docbook-simple.postrm
===================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.postrm	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/docbook-simple.postrm	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,10 @@
+#! /bin/sh
+# postrm script for docbook-simple
+# Maintainer: Mark Johnson <mrj at debian.org>
+
+set -e
+
+
+#DEBHELPER#
+
+exit 0

Added: packages/docbook-simple/trunk/debian/docbook-simple.prerm
===================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.prerm	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/docbook-simple.prerm	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,9 @@
+#! /bin/sh
+# prerm script for docbook-simple
+# Maintainer: Mark Johnson <mrj at debian.org>
+
+set -e
+
+#DEBHELPER#
+
+exit 0

Added: packages/docbook-simple/trunk/debian/docbook-simple.sgmlcatalogs
===================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.sgmlcatalogs	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/docbook-simple.sgmlcatalogs	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1 @@
+debian/catalog	/usr/share/xml/docbook/custom/simple/1.0/catalog

Added: packages/docbook-simple/trunk/debian/docbook-simple.xmlcatalogs
===================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.xmlcatalogs	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/docbook-simple.xmlcatalogs	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,15 @@
+local;debian/catalog.xml;/usr/share/xml/docbook/custom/simple/1.0/catalog.xml
+root-and-package;public;-//OASIS//DTD Simplified DocBook;/usr/share/xml/docbook/custom/simple/1.0/catalog.xml
+root-and-package;system;http://www.oasis-open.org/docbook/xml/simple/;/usr/share/xml/docbook/custom/simple/1.0/catalog.xml
+
+
+
+
+
+
+
+
+
+
+
+

Added: packages/docbook-simple/trunk/debian/rules
===================================================================
--- packages/docbook-simple/trunk/debian/rules	2007-03-10 12:04:03 UTC (rev 644)
+++ packages/docbook-simple/trunk/debian/rules	2007-03-10 12:08:19 UTC (rev 645)
@@ -0,0 +1,48 @@
+#!/usr/bin/make -f
+# rules for docbook-simple
+# Maintainer: Mark Johnson <mrj at debian.org>
+
+#export DH_VERBOSE=1
+
+build: build-stamp
+
+build-stamp: 
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+# Build architecture-independent files here.
+binary-arch: build install
+# We have nothing to do.
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	dh_install
+	dh_installdocs
+	dh_installexamples
+	dh_installchangelogs 
+	dh_link 
+	dh_installcatalogs
+	dh_installxmlcatalogs
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/docbook-simple/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the debian-xml-sgml-commit mailing list