TIVI-153: add as dependency for iputils 95/1595/1 accepted/trunk/20120904.191500 submit/trunk/20120831.195435
authorGraydon, Tracy <tracy.graydon@intel.com>
Fri, 31 Aug 2012 19:54:25 +0000 (12:54 -0700)
committerGraydon, Tracy <tracy.graydon@intel.com>
Fri, 31 Aug 2012 19:54:25 +0000 (12:54 -0700)
24 files changed:
packaging/docbk30.zip [new file with mode: 0644]
packaging/docbk31.zip [new file with mode: 0644]
packaging/docbk40.zip [new file with mode: 0644]
packaging/docbk41.zip [new file with mode: 0644]
packaging/docbkx412.zip [new file with mode: 0644]
packaging/docbook-4.2-euro.patch [new file with mode: 0644]
packaging/docbook-4.2.zip [new file with mode: 0644]
packaging/docbook-4.3.zip [new file with mode: 0644]
packaging/docbook-4.4.zip [new file with mode: 0644]
packaging/docbook-4.5.zip [new file with mode: 0644]
packaging/docbook-dtd30-sgml-1.0.catalog.patch [new file with mode: 0644]
packaging/docbook-dtd31-sgml-1.0.catalog.patch [new file with mode: 0644]
packaging/docbook-dtd40-sgml-1.0.catalog.patch [new file with mode: 0644]
packaging/docbook-dtd41-sgml-1.0.catalog.patch [new file with mode: 0644]
packaging/docbook-dtd412-entities.patch [new file with mode: 0644]
packaging/docbook-dtd42-sgml-1.0.catalog.patch [new file with mode: 0644]
packaging/docbook-dtds-ents.patch [new file with mode: 0644]
packaging/docbook-dtds.changes [new file with mode: 0644]
packaging/docbook-dtds.spec [new file with mode: 0644]
packaging/docbook-sgml-systemrewrite.patch [new file with mode: 0644]
packaging/docbook-xml-4.2.zip [new file with mode: 0644]
packaging/docbook-xml-4.3.zip [new file with mode: 0644]
packaging/docbook-xml-4.4.zip [new file with mode: 0644]
packaging/docbook-xml-4.5.zip [new file with mode: 0644]

diff --git a/packaging/docbk30.zip b/packaging/docbk30.zip
new file mode 100644 (file)
index 0000000..66678b1
Binary files /dev/null and b/packaging/docbk30.zip differ
diff --git a/packaging/docbk31.zip b/packaging/docbk31.zip
new file mode 100644 (file)
index 0000000..ea05f3e
Binary files /dev/null and b/packaging/docbk31.zip differ
diff --git a/packaging/docbk40.zip b/packaging/docbk40.zip
new file mode 100644 (file)
index 0000000..f38246d
Binary files /dev/null and b/packaging/docbk40.zip differ
diff --git a/packaging/docbk41.zip b/packaging/docbk41.zip
new file mode 100644 (file)
index 0000000..7553fac
Binary files /dev/null and b/packaging/docbk41.zip differ
diff --git a/packaging/docbkx412.zip b/packaging/docbkx412.zip
new file mode 100644 (file)
index 0000000..70b6775
Binary files /dev/null and b/packaging/docbkx412.zip differ
diff --git a/packaging/docbook-4.2-euro.patch b/packaging/docbook-4.2-euro.patch
new file mode 100644 (file)
index 0000000..bbace5d
--- /dev/null
@@ -0,0 +1,22 @@
+--- docbook-dtds-1.0/4.2-sgml/docbookx.dtd.euro        2003-07-15 09:07:58.000000000 +0100
++++ docbook-dtds-1.0/4.2-sgml/docbookx.dtd     2003-07-15 09:08:12.000000000 +0100
+@@ -106,7 +106,7 @@
+ <![%dbcent.module;[
+ <![%sgml.features;[
+-<!ENTITY euro "[euro  ]"><!-- euro sign, U+20AC NEW -->
++<!ENTITY euro SDATA "[euro  ]"><!-- euro sign, U+20AC NEW -->
+ ]]>
+ <![%xml.features;[
+ <!ENTITY euro "&#x20AC;"><!-- euro sign, U+20AC NEW -->
+--- docbook-dtds-1.0/4.2-xml/docbookx.dtd.euro 2003-07-15 09:08:02.000000000 +0100
++++ docbook-dtds-1.0/4.2-xml/docbookx.dtd      2003-07-15 09:08:21.000000000 +0100
+@@ -106,7 +106,7 @@
+ <![%dbcent.module;[
+ <![%sgml.features;[
+-<!ENTITY euro "[euro  ]"><!-- euro sign, U+20AC NEW -->
++<!ENTITY euro SDATA "[euro  ]"><!-- euro sign, U+20AC NEW -->
+ ]]>
+ <![%xml.features;[
+ <!ENTITY euro "&#x20AC;"><!-- euro sign, U+20AC NEW -->
diff --git a/packaging/docbook-4.2.zip b/packaging/docbook-4.2.zip
new file mode 100644 (file)
index 0000000..f50bcb4
Binary files /dev/null and b/packaging/docbook-4.2.zip differ
diff --git a/packaging/docbook-4.3.zip b/packaging/docbook-4.3.zip
new file mode 100644 (file)
index 0000000..586ed37
Binary files /dev/null and b/packaging/docbook-4.3.zip differ
diff --git a/packaging/docbook-4.4.zip b/packaging/docbook-4.4.zip
new file mode 100644 (file)
index 0000000..94c4bb3
Binary files /dev/null and b/packaging/docbook-4.4.zip differ
diff --git a/packaging/docbook-4.5.zip b/packaging/docbook-4.5.zip
new file mode 100644 (file)
index 0000000..c1fda44
Binary files /dev/null and b/packaging/docbook-4.5.zip differ
diff --git a/packaging/docbook-dtd30-sgml-1.0.catalog.patch b/packaging/docbook-dtd30-sgml-1.0.catalog.patch
new file mode 100644 (file)
index 0000000..6319fec
--- /dev/null
@@ -0,0 +1,41 @@
+--- docbook.cat        Tue Dec 10 16:35:22 1996
++++ catalog    Mon Jun  5 11:08:34 2000
+@@ -27,7 +27,7 @@
+   -- ...................................................................... --\r
+   -- SGML declaration associated with DocBook ............................. --\r
\r
+-DTDDECL "-//Davenport//DTD DocBook V3.0//EN" "docbook.dcl"\r
++SGMLDECL "docbook.dcl"\r
\r
+   -- ...................................................................... --\r
+   -- DocBook driver file .................................................. --\r
+@@ -41,29 +41,6 @@
+ PUBLIC "-//Davenport//ELEMENTS DocBook Information Pool V3.0//EN" "dbpool.mod"\r
+ PUBLIC "-//Davenport//ELEMENTS DocBook Document Hierarchy V3.0//EN" "dbhier.mod"\r
+ PUBLIC "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" "dbgenent.mod"\r
+-\r
+-  -- ...................................................................... --\r
+-  -- ISO entity sets ...................................................... --\r
+-\r
+-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"\r
\r
+   -- End of catalog data for DocBook V3.0 ................................. --\r
+   -- ...................................................................... --\r
diff --git a/packaging/docbook-dtd31-sgml-1.0.catalog.patch b/packaging/docbook-dtd31-sgml-1.0.catalog.patch
new file mode 100644 (file)
index 0000000..7e52e89
--- /dev/null
@@ -0,0 +1,41 @@
+--- docbook.cat        Tue Feb  2 06:53:32 1999
++++ catalog    Thu May 25 11:45:01 2000
+@@ -19,7 +19,7 @@
+   -- ...................................................................... --\r
+   -- SGML declaration associated with DocBook ............................. --\r
\r
+-DTDDECL "-//OASIS//DTD DocBook V3.1//EN" "docbook.dcl"\r
++SGMLDECL "docbook.dcl"\r
\r
+   -- ...................................................................... --\r
+   -- DocBook driver file .................................................. --\r
+@@ -35,29 +35,6 @@
+ PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V3.1//EN" "dbgenent.mod"\r
+ PUBLIC "-//OASIS//ENTITIES DocBook Notations V3.1//EN" "dbnotn.mod"\r
+ PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V3.1//EN" "dbcent.mod"\r
+-\r
+-  -- ...................................................................... --\r
+-  -- ISO entity sets ...................................................... --\r
+-\r
+-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"\r
+-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"\r
\r
+   -- End of catalog data for DocBook V3.1 ................................. --\r
+   -- ...................................................................... --\r
diff --git a/packaging/docbook-dtd40-sgml-1.0.catalog.patch b/packaging/docbook-dtd40-sgml-1.0.catalog.patch
new file mode 100644 (file)
index 0000000..d8125b7
--- /dev/null
@@ -0,0 +1,41 @@
+--- docbook.cat        Mon May 22 22:38:05 2000
++++ catalog    Mon May 22 22:12:36 2000
+@@ -19,7 +19,7 @@
+   -- ...................................................................... --
+   -- SGML declaration associated with DocBook ............................. --
+-DTDDECL "-//OASIS//DTD DocBook V4.0//EN" "docbook.dcl"
++SGMLDECL "docbook.dcl"
+   -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+@@ -35,29 +35,6 @@
+ PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.0//EN" "dbgenent.mod"
+ PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.0//EN" "dbnotn.mod"
+ PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.0//EN" "dbcent.mod"
+-
+-  -- ...................................................................... --
+-  -- ISO entity sets ...................................................... --
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
+   -- End of catalog data for DocBook V4.0 ................................. --
+   -- ...................................................................... --
diff --git a/packaging/docbook-dtd41-sgml-1.0.catalog.patch b/packaging/docbook-dtd41-sgml-1.0.catalog.patch
new file mode 100644 (file)
index 0000000..c08243a
--- /dev/null
@@ -0,0 +1,41 @@
+--- docbook.cat        Mon May 22 22:38:05 2000
++++ catalog    Mon May 22 22:12:36 2000
+@@ -19,7 +19,7 @@
+   -- ...................................................................... --
+   -- SGML declaration associated with DocBook ............................. --
+-DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "docbook.dcl"
++SGMLDECL "docbook.dcl"
+   -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+@@ -35,29 +35,6 @@
+ PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" "dbgenent.mod"
+ PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod"
+ PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" "dbcent.mod"
+-
+-  -- ...................................................................... --
+-  -- ISO entity sets ...................................................... --
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
+   -- End of catalog data for DocBook V4.1 ................................. --
+   -- ...................................................................... --
diff --git a/packaging/docbook-dtd412-entities.patch b/packaging/docbook-dtd412-entities.patch
new file mode 100644 (file)
index 0000000..39a7bb2
--- /dev/null
@@ -0,0 +1,48 @@
+diff -urNp docbook-dtds-1.0-orig/4.1.2-xml/docbook.cat docbook-dtds-1.0/4.1.2-xml/docbook.cat
+--- docbook-dtds-1.0-orig/4.1.2-xml/docbook.cat        2009-02-19 13:49:08.000000000 +0100
++++ docbook-dtds-1.0/4.1.2-xml/docbook.cat     2009-02-19 13:50:59.000000000 +0100
+@@ -41,25 +41,25 @@ PUBLIC "-//OASIS//ENTITIES DocBook XML C
+   -- ...................................................................... --
+   -- ISO entity sets ...................................................... --
+-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "ent/iso-dia.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ent/iso-num.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ent/iso-pub.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "ent/iso-tech.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ent/iso-lat1.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "ent/iso-lat2.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "ent/iso-grk1.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "ent/iso-grk2.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "ent/iso-grk3.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "ent/iso-grk4.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "ent/iso-amsa.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "ent/iso-amsb.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "ent/iso-amsc.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "ent/iso-amsn.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "ent/iso-amso.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "ent/iso-amsr.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "ent/iso-box.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "ent/iso-cyr1.ent"
+-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "ent/iso-cyr2.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" "ent/iso-dia.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "ent/iso-num.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML" "ent/iso-pub.ent"
++PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML" "ent/iso-tech.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" "ent/iso-lat1.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" "ent/iso-lat2.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" "ent/iso-grk1.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" "ent/iso-grk2.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" "ent/iso-grk3.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" "ent/iso-grk4.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" "ent/iso-amsa.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" "ent/iso-amsb.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" "ent/iso-amsc.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" "ent/iso-amsn.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" "ent/iso-amso.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" "ent/iso-amsr.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" "ent/iso-box.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" "ent/iso-cyr1.ent"
++PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" "ent/iso-cyr2.ent"
+   -- End of catalog data for DocBook XML V4.1.2 ............................. --
+   -- ...................................................................... --
diff --git a/packaging/docbook-dtd42-sgml-1.0.catalog.patch b/packaging/docbook-dtd42-sgml-1.0.catalog.patch
new file mode 100644 (file)
index 0000000..ca421df
--- /dev/null
@@ -0,0 +1,68 @@
+--- docbook.cat.orig   2002-07-17 17:14:28.000000000 +0100
++++ docbook.cat        2002-07-17 21:58:24.000000000 +0100
+@@ -49,65 +49,5 @@
+ PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN"
+        "dbcentx.mod"
+-  -- ...................................................................... --
+-  -- ISO entity sets ...................................................... --
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
+-       "iso-dia.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
+-       "iso-num.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN"
+-       "iso-pub.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN"
+-       "iso-tech.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN"
+-       "iso-lat1.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN"
+-       "iso-lat2.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN"
+-       "iso-grk1.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"
+-       "iso-grk2.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN"
+-       "iso-grk3.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"
+-       "iso-grk4.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
+-       "iso-amsa.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"
+-       "iso-amsb.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"
+-       "iso-amsc.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"
+-       "iso-amsn.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"
+-       "iso-amso.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"
+-       "iso-amsr.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"
+-       "iso-box.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
+-       "iso-cyr1.gml"
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
+-       "iso-cyr2.gml"
+-
+   -- End of catalog data for DocBook V4.2 ................................. --
+   -- ...................................................................... --
diff --git a/packaging/docbook-dtds-ents.patch b/packaging/docbook-dtds-ents.patch
new file mode 100644 (file)
index 0000000..bc45628
--- /dev/null
@@ -0,0 +1,53 @@
+--- docbook-dtds-1.0/4.3-sgml/docbook.cat.ents 2005-12-13 13:14:24.000000000 +0000
++++ docbook-dtds-1.0/4.3-sgml/docbook.cat      2005-12-13 13:14:38.000000000 +0000
+@@ -51,6 +51,7 @@
+   -- ...................................................................... --
+   -- ISO entity sets ...................................................... --
++--
+ PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
+        "iso-dia.gml"
+@@ -109,5 +110,6 @@
+ PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
+        "iso-cyr2.gml"
++--
+   -- End of catalog data for DocBook V4.3 ................................. --
+   -- ...................................................................... --
+--- docbook-dtds-1.0/4.4-sgml/docbook.cat.ents 2005-12-13 13:14:51.000000000 +0000
++++ docbook-dtds-1.0/4.4-sgml/docbook.cat      2005-12-13 13:14:59.000000000 +0000
+@@ -54,6 +54,7 @@
+   -- ...................................................................... --
+   -- ISO entity sets ...................................................... --
++--
+ PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
+        "iso-dia.gml"
+@@ -112,5 +113,6 @@
+ PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
+        "iso-cyr2.gml"
++--
+   -- End of catalog data for DocBook V4.4 ................................. --
+   -- ...................................................................... --
+diff -urNp docbook-dtds-1.0-orig/4.5-sgml/docbook.cat docbook-dtds-1.0/4.5-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/4.5-sgml/docbook.cat 2009-02-19 13:45:22.000000000 +0100
++++ docbook-dtds-1.0/4.5-sgml/docbook.cat      2009-02-19 13:47:31.000000000 +0100
+@@ -60,6 +60,7 @@ PUBLIC "-//OASIS//ENTITIES DocBook Chara
+   -- ...................................................................... --
+   -- ISO entity sets ...................................................... --
++--
+ PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
+        "iso-dia.gml"
+@@ -118,5 +119,7 @@ PUBLIC "ISO 8879:1986//ENTITIES Russian 
+ PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
+        "iso-cyr2.gml"
++--
++
+   -- End of catalog data for DocBook V4.5 ................................. --
+   -- ...................................................................... --
diff --git a/packaging/docbook-dtds.changes b/packaging/docbook-dtds.changes
new file mode 100644 (file)
index 0000000..95b12d0
--- /dev/null
@@ -0,0 +1,204 @@
+* Fri Aug 31 19:53:28 UTC 2012 - tracy.graydon@intel.com
+- TIVI-153: Add as dependency for iputils 
+
+* Fri Jul 11 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-37
+- fixed typo in post scriptlet(causing mishandling of DocBook 
+  4.4 and 4.5 DTDs)-#453513
+
+* Wed Jul 09 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-36
+- use full paths in xmlcatalog registration
+- changed License(#445008)
+
+* Mon Nov 26 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-35
+- fixed bug causing typo in spec file(#397651)
+
+* Tue Oct 23 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-34
+- corrected most of rpmlint issues
+- (PreReq, tab/spaces , wrong permissions on some files,
+-  wrong file end encoding of txt files, non config files
+-  in /etc, some requires issues, versioned provides and
+-  obsoletes, fixed license tag)
+
+* Fri Oct 19 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-33
+- fixed wrong attributes for docs(#326581)
+
+* Mon Oct  1 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-32
+- DocBook 4.5 SGML and XML.(#312941)
+- added dist tag
+
+* Wed Jun 20 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-31
+- .cat files touched and ghosted to be owned by package
+- (bug #193475)
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-30.1
+- rebuild
+
+* Tue Dec 13 2005 Tim Waugh <twaugh@redhat.com> 1.0-30
+- Fix ISO entities in 4.3/4.4 SGML.
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Fri Oct 21 2005 Tim Waugh <twaugh@redhat.com> 1.0-29
+- Scriptlet fix (bug #171229).
+
+* Thu Oct 13 2005 Tim Waugh <twaugh@redhat.com> 1.0-28
+- Fixed last fix (bug #159382).
+
+* Thu Jun  2 2005 Tim Waugh <twaugh@redhat.com> 1.0-27
+- Increase NAMELEN (bug #36058, bug #159382).
+
+* Tue Feb  1 2005 Tim Waugh <twaugh@redhat.com> 1.0-26
+- DocBook 4.4 SGML and XML.
+
+* Mon Sep 13 2004 Tim Waugh <twaugh@redhat.com> 1.0-25
+- DocBook 4.3 SGML and XML (bug #131861).
+
+* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com> 1.0-24
+- Use ':' instead of '.' as separator for chown.
+
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Wed Aug  6 2003 Tim Waugh <twaugh@redhat.com> 1.0-22.1
+- Rebuilt.
+
+* Wed Aug  6 2003 Tim Waugh <twaugh@redhat.com> 1.0-22
+- More work-arounds for buggy xmlcatalog.
+
+* Tue Jul 15 2003 Tim Waugh <twaugh@redhat.com> 1.0-21.1
+- Rebuilt.
+
+* Tue Jul 15 2003 Tim Waugh <twaugh@redhat.com> 1.0-21
+- Fix &euro; in SGML tools.
+
+* Wed May 28 2003 Tim Waugh <twaugh@redhat.com> 1.0-20
+- Fix summary and description (bug #73005).
+
+* Fri Mar 28 2003 Tim Waugh <twaugh@redhat.com> 1.0-19
+- Use --parents in %%doc.
+- Fix %%postun scriptlet.
+
+* Fri Mar 14 2003 Tim Waugh <twaugh@redhat.com> 1.0-18
+- Use Requires:, not Conflicts:, for openjade.
+- Require openjade 1.3.2.
+
+* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.0-17
+- rebuilt
+
+* Fri Dec 20 2002 Tim Waugh <twaugh@redhat.com> 1.0-16
+- Fix typos in scriplets (bug #80109).
+
+* Wed Nov 20 2002 Tim Powers <timp@redhat.com> 1.0-15
+- rebuild in current collinst
+
+* Mon Jul 30 2002 Tim Waugh <twaugh@redhat.com> 1.0-14
+- Fix typo in XML catalog (Eric Raymond).
+
+* Tue Jul 23 2002 Tim Waugh <twaugh@redhat.com> 1.0-13
+- Provide docbook-dtd42-sgml and docbook-dtd42-xml.
+
+* Thu Jul 18 2002 Tim Waugh <twaugh@redhat.com> 1.0-12
+- Fix up SGML super catalog if necessary.
+
+* Wed Jul 17 2002 Tim Waugh <twaugh@redhat.com> 1.0-11
+- Add DocBook V4.2.
+
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.0-10
+- automated rebuild
+
+* Thu May 23 2002 Tim Powers <timp@redhat.com> 1.0-9
+- automated rebuild
+
+* Thu Mar 14 2002 Tim Waugh <twaugh@redhat.com> 1.0-8
+- Allow for shared /usr/share (bug #61147).
+
+* Tue Mar 12 2002 Tim Waugh <twaugh@redhat.com> 1.0-7
+- Make sure that the config files are readable.
+
+* Fri Mar  8 2002 Tim Waugh <twaugh@redhat.com> 1.0-6
+- Make %%post scriptlet quiet (bug #60820).
+
+* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-5
+- Make sure to clean up old catalog files.
+
+* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-3
+- Rebuild in new environment.
+
+* Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.0-2
+- Prepare for openjade 1.3.1.
+
+* Thu Jan 17 2002 Tim Waugh <twaugh@redhat.com> 1.0-1
+- Merged all the DTD packages into one (bug #58448).
+- Use /usr/share/sgml exclusively.
+- Prevent catalog files from disappearing on upgrade (bug #58463).
+
+* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Mon Nov  5 2001 Tim Waugh <twaugh@redhat.com> 1.0-8
+- Hmm, still need to depend on sgml-common for /etc/sgml.
+
+* Mon Nov  5 2001 Tim Waugh <twaugh@redhat.com> 1.0-7
+- Use xmlcatalog (libxml2) instead of install-catalog (sgml-common) in
+  scriptlets.
+- Conflict with install-catalog if it can't handle quotes in catalogs.
+- Use release number in centralized catalog name, so that the scriptlets
+  work properly.
+
+* Wed Oct 10 2001 Tim Waugh <twaugh@redhat.com> 1.0-6
+- Change some Requires: to PreReq:s (bug #54507).
+
+* Mon Oct  8 2001 Tim Waugh <twaugh@redhat.com> 1.0-5
+- Use release number in the installed directory name, so that the
+  package scripts work.
+
+* Sat Oct  6 2001 Tim Waugh <twaugh@redhat.com> 1.0-4
+- Restore the /etc/sgml/catalog manipulation again.
+- Oops, fix DTD path.
+
+* Sat Oct  6 2001 Tim Waugh <twaugh@redhat.com> 1.0-2
+- Require xml-common.  Use xmlcatalog.
+- Move files to /usr/share/xml.
+
+* Tue Jun 12 2001 Tim Waugh <twaugh@redhat.com> 1.0-1
+- Build for Red Hat Linux.
+
+* Sat Jun 09 2001 Chris Runge <crunge@pobox.com>
+- Provides: docbook-dtd-xml (not docbook-dtd-sgml)
+- undo catalog patch and dbcentx patch (this resulted in an effectively
+  broken DTD when the document was processed with XSL stylesheets); added a
+  symbolic link to retain docbook.cat -> catalog; added ent
+- added ChangeLog to doc
+
+* Fri Jun 08 2001 Chris Runge <crunge@pobox.com>
+- created a 4.1.2 version
+- update required a change to OTHERCAT in postun
+- update required a change to the Makefile patch (no dbgenent.ent any more,
+  apparently)
+
+* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
+- Scripts require fileutils.
+- Make scripts quieter.
+
+* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
+- Don't play so many macro games.
+- Don't use 'rpm' in post scripts.
+- Be sure to own xml-dtd-4.1 directory.
+
+* Sun Jan 14 2001 Tim Waugh <twaugh@redhat.com>
+- Change requirement on /usr/bin/install-catalog to sgml-common.
+
+* Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com>
+- Change group.
+- Use %%{_tmppath}.
+- Correct typo.
+- rm before install
+- openjade not jade.
+- Build requires unzip.
+- Require install-catalog for post and postun.
+- Change Copyright: to License:.
+- Remove Packager: line.
+
+* Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com>
+- Based on Eric Bischoff's new-trials packages.
diff --git a/packaging/docbook-dtds.spec b/packaging/docbook-dtds.spec
new file mode 100644 (file)
index 0000000..7fafbef
--- /dev/null
@@ -0,0 +1,399 @@
+%define openjadever 1.3.2
+%define version_list "{3,4}.{0,1}-sgml 4.1.2-xml 4.{2,3,4,5}-{sgml,xml}"
+
+Name: docbook-dtds
+Version: 1.0
+Release: 48
+Group: Applications/Text
+
+Summary: SGML and XML document type definitions for DocBook
+
+License: Freely redistributable without restriction
+URL: http://www.oasis-open.org/docbook/
+
+
+Provides: docbook-dtd-xml = %{version}-%{release}
+Provides: docbook-dtd-sgml = %{version}-%{release}
+Provides: docbook-dtd30-sgml = %{version}-%{release}
+Provides: docbook-dtd31-sgml = %{version}-%{release}
+Provides: docbook-dtd40-sgml = %{version}-%{release}
+Provides: docbook-dtd41-sgml = %{version}-%{release}
+Provides: docbook-dtd412-xml = %{version}-%{release}
+Provides: docbook-dtd42-sgml = %{version}-%{release}
+Provides: docbook-dtd42-xml = %{version}-%{release}
+Provides: docbook-dtd43-sgml = %{version}-%{release}
+Provides: docbook-dtd43-xml = %{version}-%{release}
+Provides: docbook-dtd44-sgml = %{version}-%{release}
+Provides: docbook-dtd44-xml = %{version}-%{release}
+Provides: docbook-dtd45-sgml = %{version}-%{release}
+Provides: docbook-dtd45-xml = %{version}-%{release}
+
+Requires(post): libxml2 >= 2.4.8
+Requires(postun): libxml2 >= 2.4.8
+# If upgrading, the old package's postun scriptlet may use install-catalog
+# to remove its entries.  xmlcatalog (which this package uses) adds quotes
+# to the catalog files, and install-catalog only handles this in 0.6.3-4 or
+# later.
+Requires(post): /bin/chmod
+Requires: sgml-common >= 0.6.3-4
+# We provide the directory layout expected by 0.6.3-5 or later of
+# xml-common.  Earlier versions won't understand. Additionally
+# require xml-common >= 0.6.3-24 to workaround issue with F9
+# install+update and empty xmlcatalog
+Requires: xml-common >= 0.6.3-24
+
+BuildRoot: %{_tmppath}/%{name}-%{version}
+
+BuildArch: noarch
+Source0: http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
+Source1: http://www.oasis-open.org/docbook/sgml/3.1/docbk31.zip
+Source2: http://www.oasis-open.org/docbook/sgml/4.0/docbk40.zip
+Source3: http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
+Source4: http://www.oasis-open.org/docbook/xml/4.1.2/docbkx412.zip
+Source5: http://www.oasis-open.org/docbook/sgml/4.2/docbook-4.2.zip
+Source6: http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
+Source7: http://www.docbook.org/sgml/4.3/docbook-4.3.zip
+Source8: http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
+Source9: http://www.docbook.org/sgml/4.4/docbook-4.4.zip
+Source10: http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip
+Source11: http://www.docbook.org/sgml/4.5/docbook-4.5.zip
+Source12: http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
+Patch0: docbook-dtd30-sgml-1.0.catalog.patch
+Patch1: docbook-dtd31-sgml-1.0.catalog.patch
+Patch2: docbook-dtd40-sgml-1.0.catalog.patch
+Patch3: docbook-dtd41-sgml-1.0.catalog.patch
+Patch4: docbook-dtd42-sgml-1.0.catalog.patch
+Patch5: docbook-4.2-euro.patch
+Patch6: docbook-dtds-ents.patch
+Patch7: docbook-sgml-systemrewrite.patch
+Patch8: docbook-dtd412-entities.patch
+BuildRequires: unzip
+
+%description
+The DocBook Document Type Definition (DTD) describes the syntax of
+technical documentation texts (articles, books and manual pages).
+This syntax is XML-compliant and is developed by the OASIS consortium.
+This package contains SGML and XML versions of the DocBook DTD.
+
+
+%prep
+%setup -c -T
+eval mkdir %{version_list}
+# DocBook V3.0
+cd 3.0-sgml
+unzip %{SOURCE0}
+patch -b docbook.cat %{PATCH0}
+cd ..
+
+# DocBook V3.1
+cd 3.1-sgml
+unzip %{SOURCE1}
+patch -b docbook.cat %{PATCH1}
+cd ..
+
+# DocBook V4.0
+cd 4.0-sgml
+unzip %{SOURCE2}
+patch -b docbook.cat %{PATCH2}
+cd ..
+
+# DocBook V4.1
+cd 4.1-sgml
+unzip %{SOURCE3}
+patch -b docbook.cat %{PATCH3}
+cd ..
+
+# DocBook XML V4.1.2
+cd 4.1.2-xml
+unzip %{SOURCE4}
+cd ..
+
+# DocBook V4.2
+cd 4.2-sgml
+unzip %{SOURCE5}
+patch -b docbook.cat %{PATCH4}
+cd ..
+
+# DocBook XML V4.2
+cd 4.2-xml
+unzip %{SOURCE6}
+cd ..
+
+# DocBook V4.3
+cd 4.3-sgml
+unzip %{SOURCE7}
+cd ..
+
+# DocBook XML V4.3
+cd 4.3-xml
+unzip %{SOURCE8}
+cd ..
+
+# DocBook V4.4
+cd 4.4-sgml
+unzip %{SOURCE9}
+cd ..
+
+# DocBook XML V4.4
+cd 4.4-xml
+unzip %{SOURCE10}
+cd ..
+
+# DocBook v4.5
+cd 4.5-sgml
+unzip %{SOURCE11}
+cd ..
+
+# DocBook XML v4.5
+cd 4.5-xml
+unzip %{SOURCE12}
+cd ..
+
+# Fix &euro; in SGML.
+%patch5 -p1
+
+# Fix ISO entities in 4.3/4.4/4.5 SGML
+%patch6 -p1
+
+# Rewrite SYSTEM to use local catalog instead web ones (#478680)
+%patch7 -p1
+
+# Add XML to the end of public identificators of 4.1.2 XML entities
+%patch8 -p1
+
+# Increase NAMELEN (bug #36058, bug #159382).
+sed -e's,\(NAMELEN\s\+\)44\(\s\*\)\?,\1256,' -i.namelen */docbook.dcl
+
+# fix of \r\n issue from rpmlint
+sed -i 's/\r//' */*.txt
+
+
+if [ `id -u` -eq 0 ]; then
+  chown -R root:root .
+  chmod -R a+rX,g-w,o-w .
+fi
+
+
+%build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# Symlinks
+mkdir -p $RPM_BUILD_ROOT/etc/sgml
+for fmt in sgml xml; do
+  ln -s $fmt-docbook-4.5-%{version}-%{release}.cat \
+     $RPM_BUILD_ROOT/etc/sgml/$fmt-docbook.cat
+done
+
+eval set %{version_list}
+for dir
+do
+  cd $dir
+  fmt=${dir#*-} vvr=${dir%%-*}-%{version}-%{release}
+  DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/$fmt-dtd-$vvr
+  case $fmt in
+    sgml)   mkdir -p $DESTDIR ; install *.dcl $DESTDIR ;;
+    xml)    mkdir -p $DESTDIR/ent ; install ent/* $DESTDIR/ent ;;
+  esac
+  install *.dtd *.mod $DESTDIR
+  install docbook.cat $DESTDIR/catalog
+  cd ..
+  # File for %%ghost
+  touch $RPM_BUILD_ROOT/etc/sgml/$fmt-docbook-$vvr.cat
+done
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr (0644,root,root,0755)
+#in upstream tarballs there is a lot of files with 0755 permissions
+#but they don't need to be, 0644 is enough for every file in tarball
+%doc --parents 3.1-sgml/ChangeLog 4.1-sgml/ChangeLog */*.txt
+%config(noreplace) /etc/sgml/sgml-docbook.cat
+%config(noreplace) /etc/sgml/xml-docbook.cat
+/usr/share/sgml/docbook/*ml-dtd-*-%{version}-%{release}
+%ghost %config(noreplace) /etc/sgml/*ml-docbook-*-%{version}-%{release}.cat
+
+
+%post
+catcmd='/usr/bin/xmlcatalog --noout'
+xmlcatalog=/usr/share/sgml/docbook/xmlcatalog
+
+## Clean up pre-docbook-dtds mess caused by broken trigger.
+for v in 3.0 3.1 4.0 4.1 4.2
+do
+  if [ -f /etc/sgml/sgml-docbook-$v.cat ]
+  then
+    $catcmd --sgml --del /etc/sgml/sgml-docbook-$v.cat \
+      /usr/share/sgml/openjade-1.3.1/catalog 2>/dev/null
+  fi
+done
+
+# The STYLESHEETS/catalog command is for the case in which the style sheets
+# were installed after another DTD but before this DTD
+for STYLESHEETS in /usr/share/sgml/docbook/dsssl-stylesheets-*; do : ; done
+case $STYLESHEETS in
+  *-"*") STYLESHEETS= ;;
+esac
+eval set %{version_list}
+for dir
+do
+  fmt=${dir#*-} ver=${dir%%-*} vvr=$ver-%{version}-%{release}
+  sgmldir=/usr/share/sgml/docbook/$fmt-dtd-$vvr
+  ## SGML catalog
+  # Update the centralized catalog corresponding to this version of the DTD
+  for cat_dir in /usr/share/sgml/sgml-iso-entities-8879.1986 $sgmldir $STYLESHEETS; do
+    $catcmd --sgml --add /etc/sgml/$fmt-docbook-$vvr.cat $cat_dir/catalog
+  done
+  ## XML catalog
+  if [ $fmt = xml -a -w $xmlcatalog ]; then
+    while read f desc; do
+      case $ver in 4.[45]) f=${f/-/} ;; esac
+      $catcmd --add public "$desc" $sgmldir/$f $xmlcatalog
+    done <<ENDENT
+      ent/iso-pub.ent  ISO 8879:1986//ENTITIES Publishing//EN
+      ent/iso-grk1.ent ISO 8879:1986//ENTITIES Greek Letters//EN
+      dbpoolx.mod      -//OASIS//ELEMENTS DocBook XML Information Pool V$ver//EN
+      ent/iso-box.ent  ISO 8879:1986//ENTITIES Box and Line Drawing//EN
+      docbookx.dtd     -//OASIS//DTD DocBook XML V$ver//EN
+      ent/iso-grk3.ent ISO 8879:1986//ENTITIES Greek Symbols//EN
+      ent/iso-amsn.ent ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN
+      ent/iso-num.ent  ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN
+      dbcentx.mod      -//OASIS//ENTITIES DocBook XML Character Entities V$ver//EN
+      ent/iso-grk4.ent ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN
+      dbnotnx.mod      -//OASIS//ENTITIES DocBook XML Notations V$ver//EN
+      ent/iso-dia.ent  ISO 8879:1986//ENTITIES Diacritical Marks//EN
+      ent/iso-grk2.ent ISO 8879:1986//ENTITIES Monotoniko Greek//EN
+      dbgenent.mod     -//OASIS//ENTITIES DocBook XML Additional General Entities V$ver//EN
+      dbhierx.mod      -//OASIS//ELEMENTS DocBook XML Document Hierarchy V$ver//EN
+      ent/iso-amsa.ent ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN
+      ent/iso-amso.ent ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN
+      ent/iso-cyr1.ent ISO 8879:1986//ENTITIES Russian Cyrillic//EN
+      ent/iso-tech.ent ISO 8879:1986//ENTITIES General Technical//EN
+      ent/iso-amsc.ent ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN
+      soextblx.dtd     -//OASIS//DTD XML Exchange Table Model 19990315//EN
+      calstblx.dtd     -//OASIS//DTD DocBook XML CALS Table Model V$ver//EN
+      ent/iso-lat1.ent ISO 8879:1986//ENTITIES Added Latin 1//EN
+      ent/iso-amsb.ent ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN
+      ent/iso-lat2.ent ISO 8879:1986//ENTITIES Added Latin 2//EN
+      ent/iso-amsr.ent ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN
+      ent/iso-cyr2.ent ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN
+ENDENT
+    for f in System URI; do
+      $catcmd --add rewrite$f "http://www.oasis-open.org/docbook/xml/$ver" \
+       $sgmldir $xmlcatalog
+    done
+  fi
+done
+
+# Historic versions of this scriptlet contained the following comment:
+# <quote>
+# Fix up SGML super catalog so that there isn't an XML DTD before an
+# SGML one.  We need to do this (*sigh*) because xmlcatalog messes up
+# the order of the lines, and SGML tools don't like to see XML things
+# they aren't expecting.
+# </quote>
+# But the code that followed just found the first XML DTD and the first
+# SGML DTD, swappinmg these two lines if the XML one preceded.
+# But that only ensures that there is an SGML DTD before all XML ones.
+# No one complained, so either this was enough, or the buggy SGML tools
+# are long dead, or their users do not use bugzilla.
+# Anyway, the following code, introduced in 1.0-46, does better: it ensures
+# that all XML DTDs are after all SGML ones, by moving them to the end.
+sed -ni '
+  /xml-docbook/ H
+  /xml-docbook/ !p
+  $ {
+          g
+          s/^\n//p
+  }
+  ' /etc/sgml/catalog
+
+# Finally, make sure everything in /etc/sgml is readable!
+/bin/chmod a+r /etc/sgml/*
+
+%postun
+catcmd='/usr/bin/xmlcatalog --noout'
+xmlcatalog=/usr/share/sgml/docbook/xmlcatalog
+entities="
+ent/iso-pub.ent
+ent/iso-grk1.ent
+dbpoolx.mod
+ent/iso-box.ent
+docbookx.dtd
+ent/iso-grk3.ent
+ent/iso-amsn.ent
+ent/iso-num.ent
+dbcentx.mod
+ent/iso-grk4.ent
+dbnotnx.mod
+ent/iso-dia.ent
+ent/iso-grk2.ent
+dbgenent.mod
+dbhierx.mod
+ent/iso-amsa.ent
+ent/iso-amso.ent
+ent/iso-cyr1.ent
+ent/iso-tech.ent
+ent/iso-amsc.ent
+soextblx.dtd
+calstblx.dtd
+ent/iso-lat1.ent
+ent/iso-amsb.ent
+ent/iso-lat2.ent
+ent/iso-amsr.ent
+ent/iso-cyr2.ent
+"
+eval set %{version_list}
+for dir
+do
+  fmt=${dir#*-} ver=${dir%%-*} vvr=$ver-%{version}-%{release}
+  sgmldir=/usr/share/sgml/docbook/$fmt-dtd-$vvr
+  ## SGML catalog
+  # Update the centralized catalog corresponding to this version of the DTD
+  $catcmd --sgml --del /etc/sgml/catalog /etc/sgml/$fmt-docbook-$vvr.cat
+  rm -f /etc/sgml/$fmt-docbook-$vvr.cat
+  ## XML catalog
+  if [ $fmt = xml -a -w $xmlcatalog ]; then
+    for f in $entities; do
+      case $ver in 4.[45]) f=${f/-/} ;; esac
+      $catcmd --del $sgmldir/$f $xmlcatalog
+    done
+    $catcmd --del $sgmldir $xmlcatalog
+  fi
+done
+
+# See the comment attached to this command in the %%post scriptlet.
+sed -ni '
+  /xml-docbook/ H
+  /xml-docbook/ !p
+  $ {
+          g
+          s/^\n//p
+  }
+  ' /etc/sgml/catalog
+
+%triggerin -- openjade >= %{openjadever}
+eval set %{version_list}
+for dir
+do
+  fmt=${dir#*-} ver=${dir%%-*} vvr=$ver-%{version}-%{release}
+  /usr/bin/xmlcatalog --sgml --noout --add /etc/sgml/$fmt-docbook-$vvr.cat \
+    /usr/share/sgml/openjade-%{openjadever}/catalog
+done
+
+%triggerun -- openjade >= %{openjadever}
+[ $2 = 0 ] || exit 0
+eval set %{version_list}
+for dir
+do
+  fmt=${dir#*-} ver=${dir%%-*} vvr=$ver-%{version}-%{release}
+  /usr/bin/xmlcatalog --sgml --noout --del /etc/sgml/$fmt-docbook-$vvr.cat \
+    /usr/share/sgml/openjade-%{openjadever}/catalog
+done
+
diff --git a/packaging/docbook-sgml-systemrewrite.patch b/packaging/docbook-sgml-systemrewrite.patch
new file mode 100644 (file)
index 0000000..35b56d1
--- /dev/null
@@ -0,0 +1,210 @@
+diff -urNp docbook-dtds-1.0-orig/3.0-sgml/docbook.cat docbook-dtds-1.0/3.0-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/3.0-sgml/docbook.cat 2009-02-05 16:44:15.000000000 +0100
++++ docbook-dtds-1.0/3.0-sgml/docbook.cat      2009-02-05 16:48:58.000000000 +0100
+@@ -30,6 +30,12 @@
+ SGMLDECL "docbook.dcl"\r
\r
+   -- ...................................................................... --\r
++  -- SYSTEM rewrite of web URL .............. ............................. --\r
++\r
++SYSTEM "http://www.oasis-open.org/docbook/sgml/3.0/docbook.dtd"\r
++       "docbook.dtd"\r
++\r
++  -- ...................................................................... --\r
+   -- DocBook driver file .................................................. --\r
\r
+ PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"\r
+diff -urNp docbook-dtds-1.0-orig/3.1-sgml/docbook.cat docbook-dtds-1.0/3.1-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/3.1-sgml/docbook.cat 2009-02-05 16:44:15.000000000 +0100
++++ docbook-dtds-1.0/3.1-sgml/docbook.cat      2009-02-05 16:56:51.000000000 +0100
+@@ -22,6 +22,12 @@
+ SGMLDECL "docbook.dcl"\r
\r
+   -- ...................................................................... --\r
++  -- SYSTEM rewrite of web URL .............. ............................. --\r
++\r
++SYSTEM "http://www.oasis-open.org/docbook/sgml/3.0/docbook.dtd"\r
++       "docbook.dtd"\r
++\r
++  -- ...................................................................... --\r
+   -- DocBook driver file .................................................. --\r
\r
+ PUBLIC "-//OASIS//DTD DocBook V3.1//EN" "docbook.dtd"\r
+diff -urNp docbook-dtds-1.0-orig/4.0-sgml/docbook.cat docbook-dtds-1.0/4.0-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/4.0-sgml/docbook.cat 2009-02-05 16:44:16.000000000 +0100
++++ docbook-dtds-1.0/4.0-sgml/docbook.cat      2009-02-05 16:49:06.000000000 +0100
+@@ -22,6 +22,12 @@
+ SGMLDECL "docbook.dcl"
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/sgml/4.0/docbook.dtd"
++       "docbook.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
+Binární soubory docbook-dtds-1.0-orig/4.0-sgml/.docbook.cat.swp a docbook-dtds-1.0/4.0-sgml/.docbook.cat.swp jsou různé
+diff -urNp docbook-dtds-1.0-orig/4.1-sgml/docbook.cat docbook-dtds-1.0/4.1-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/4.1-sgml/docbook.cat 2009-02-05 16:44:16.000000000 +0100
++++ docbook-dtds-1.0/4.1-sgml/docbook.cat      2009-02-05 16:49:27.000000000 +0100
+@@ -22,6 +22,12 @@
+ SGMLDECL "docbook.dcl"
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++SYSTEM "http://www.oasis-open.org/docbook/sgml/4.1/docbook.dtd"
++       "docbook.dtd"
++
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
+diff -urNp docbook-dtds-1.0-orig/4.1.2-xml/docbook.cat docbook-dtds-1.0/4.1.2-xml/docbook.cat
+--- docbook-dtds-1.0-orig/4.1.2-xml/docbook.cat        2000-08-27 17:19:42.000000000 +0200
++++ docbook-dtds-1.0/4.1.2-xml/docbook.cat     2009-02-05 16:52:16.000000000 +0100
+@@ -17,6 +17,12 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
++       "docbookx.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "docbookx.dtd"
+diff -urNp docbook-dtds-1.0-orig/4.2-sgml/docbook.cat docbook-dtds-1.0/4.2-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/4.2-sgml/docbook.cat 2009-02-05 16:44:17.000000000 +0100
++++ docbook-dtds-1.0/4.2-sgml/docbook.cat      2009-02-05 16:50:10.000000000 +0100
+@@ -17,6 +17,12 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/sgml/4.2/docbook.dtd"
++       "docbook.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook V4.2//EN"
+diff -urNp docbook-dtds-1.0-orig/4.2-xml/docbook.cat docbook-dtds-1.0/4.2-xml/docbook.cat
+--- docbook-dtds-1.0-orig/4.2-xml/docbook.cat  2002-07-17 18:14:41.000000000 +0200
++++ docbook-dtds-1.0/4.2-xml/docbook.cat       2009-02-05 16:52:53.000000000 +0100
+@@ -17,6 +17,12 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
++       "docbookx.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+diff -urNp docbook-dtds-1.0-orig/4.3-sgml/docbook.cat docbook-dtds-1.0/4.3-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/4.3-sgml/docbook.cat 2009-02-05 16:44:18.000000000 +0100
++++ docbook-dtds-1.0/4.3-sgml/docbook.cat      2009-02-05 16:50:37.000000000 +0100
+@@ -17,6 +17,13 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/sgml/4.3/docbook.dtd"
++       "docbook.dtd"
++
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook V4.3//EN"
+diff -urNp docbook-dtds-1.0-orig/4.3-xml/docbook.cat docbook-dtds-1.0/4.3-xml/docbook.cat
+--- docbook-dtds-1.0-orig/4.3-xml/docbook.cat  2004-03-31 13:22:18.000000000 +0200
++++ docbook-dtds-1.0/4.3-xml/docbook.cat       2009-02-05 16:53:12.000000000 +0100
+@@ -17,6 +17,12 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
++       "docbookx.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+diff -urNp docbook-dtds-1.0-orig/4.4-sgml/docbook.cat docbook-dtds-1.0/4.4-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/4.4-sgml/docbook.cat 2009-02-05 16:44:18.000000000 +0100
++++ docbook-dtds-1.0/4.4-sgml/docbook.cat      2009-02-05 16:50:57.000000000 +0100
+@@ -17,6 +17,12 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/sgml/4.4/docbook.dtd"
++       "docbook.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+diff -urNp docbook-dtds-1.0-orig/4.4-xml/docbook.cat docbook-dtds-1.0/4.4-xml/docbook.cat
+--- docbook-dtds-1.0-orig/4.4-xml/docbook.cat  2005-01-27 14:57:19.000000000 +0100
++++ docbook-dtds-1.0/4.4-xml/docbook.cat       2009-02-05 16:53:30.000000000 +0100
+@@ -17,6 +17,12 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
++       "docbookx.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+diff -urNp docbook-dtds-1.0-orig/4.5-sgml/docbook.cat docbook-dtds-1.0/4.5-sgml/docbook.cat
+--- docbook-dtds-1.0-orig/4.5-sgml/docbook.cat 2006-10-03 15:27:50.000000000 +0200
++++ docbook-dtds-1.0/4.5-sgml/docbook.cat      2009-02-05 16:51:22.000000000 +0100
+@@ -17,6 +17,12 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/sgml/4.5/docbook.dtd"
++       "docbook.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
+diff -urNp docbook-dtds-1.0-orig/4.5-xml/docbook.cat docbook-dtds-1.0/4.5-xml/docbook.cat
+--- docbook-dtds-1.0-orig/4.5-xml/docbook.cat  2006-10-03 15:26:00.000000000 +0200
++++ docbook-dtds-1.0/4.5-xml/docbook.cat       2009-02-05 16:55:45.000000000 +0100
+@@ -17,6 +17,12 @@
+   --
+   -- ...................................................................... --
++  -- SYSTEM rewrite of web URL .............. ............................. --
++
++SYSTEM "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
++       "docbookx.dtd"
++
++  -- ...................................................................... --
+   -- DocBook driver file .................................................. --
+ PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
diff --git a/packaging/docbook-xml-4.2.zip b/packaging/docbook-xml-4.2.zip
new file mode 100644 (file)
index 0000000..a74bc2b
Binary files /dev/null and b/packaging/docbook-xml-4.2.zip differ
diff --git a/packaging/docbook-xml-4.3.zip b/packaging/docbook-xml-4.3.zip
new file mode 100644 (file)
index 0000000..bbefa2a
Binary files /dev/null and b/packaging/docbook-xml-4.3.zip differ
diff --git a/packaging/docbook-xml-4.4.zip b/packaging/docbook-xml-4.4.zip
new file mode 100644 (file)
index 0000000..abbcd3a
Binary files /dev/null and b/packaging/docbook-xml-4.4.zip differ
diff --git a/packaging/docbook-xml-4.5.zip b/packaging/docbook-xml-4.5.zip
new file mode 100644 (file)
index 0000000..cb510f6
Binary files /dev/null and b/packaging/docbook-xml-4.5.zip differ