Accepting request 243693 from home:rsalevsky:branches:Publishing

using the xml-group-manager to manage the catalog entrys

OBS-URL: https://build.opensuse.org/request/show/243693
OBS-URL: https://build.opensuse.org/package/show/Publishing/docbook_4?expand=0&rev=17
This commit is contained in:
Thomas Schraitle 2014-08-05 15:04:10 +00:00 committed by Git OBS Bridge
parent 5a68b93528
commit b979cb58b0
35 changed files with 227 additions and 1111 deletions

View File

@ -1,63 +0,0 @@
OVERRIDE YES
DTDDECL "-//OASIS//DTD DocBook XML V4.1.2//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
-- ...................................................................... --
-- Catalog data for DocBook XML V4.1.2 .................................... --
-- File docbook.cat ..................................................... --
-- Please direct all questions, bug reports, or suggestions for
changes to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/.
--
-- This is the catalog data file for DocBook XML V4.1.2. It is provided as
a convenience in building your own catalog files. You need not use
the filenames listed here, and need not use the filename method of
identifying storage objects at all. See the documentation for
detailed information on the files associated with the DocBook DTD.
See SGML Open Technical Resolution 9401 for detailed information
on supplying and using catalog data.
--
-- ...................................................................... --
-- DocBook driver file .................................................. --
PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/docbookx.dtd"
-- ...................................................................... --
-- DocBook modules ...................................................... --
PUBLIC "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/calstblx.dtd"
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "/usr/share/sgml/docbook/dtd/4.1xml/soextblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbcentx.mod"
-- ...................................................................... --
-- ISO entity sets ...................................................... --
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-dia.ent"
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-num.ent"
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-pub.ent"
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-tech.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-lat1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-lat2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-grk1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-grk2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-grk3.ent"
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-grk4.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsa.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsb.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsc.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsn.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amso.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsr.ent"
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-box.ent"
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-cyr1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-cyr2.ent"
-- End of catalog data for DocBook XML V4.1.2 ............................. --
-- ...................................................................... --

View File

@ -1,114 +0,0 @@
OVERRIDE YES
DTDDECL "-//OASIS//DTD DocBook XML V4.2//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
-- ...................................................................... --
-- Catalog data for DocBook XML V4.2 .................................... --
-- File docbook.cat ..................................................... --
-- Please direct all questions, bug reports, or suggestions for
changes to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/.
--
-- This is the catalog data file for DocBook XML V4.2. It is provided as
a convenience in building your own catalog files. You need not use
the filenames listed here, and need not use the filename method of
identifying storage objects at all. See the documentation for
detailed information on the files associated with the DocBook DTD.
See SGML Open Technical Resolution 9401 for detailed information
on supplying and using catalog data.
--
-- ...................................................................... --
-- DocBook driver file .................................................. --
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"/usr/share/sgml/docbook/dtd/4.2xml/docbookx.dtd"
-- ...................................................................... --
-- DocBook modules ...................................................... --
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.2//EN"
"/usr/share/sgml/docbook/dtd/4.2xml/calstblx.dtd"
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
"/usr/share/sgml/docbook/dtd/4.2xml/soextblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN"
"/usr/share/sgml/docbook/dtd/4.2xml/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN"
"/usr/share/sgml/docbook/dtd/4.2xml/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN"
"/usr/share/sgml/docbook/dtd/4.2xml/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN"
"/usr/share/sgml/docbook/dtd/4.2xml/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN"
"/usr/share/sgml/docbook/dtd/4.2xml/dbcentx.mod"
-- ...................................................................... --
-- ISO entity sets ...................................................... --
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-dia.ent"
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-num.ent"
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-pub.ent"
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-tech.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-lat1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-lat2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-grk1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-grk2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-grk3.ent"
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-grk4.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsa.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsb.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsc.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsn.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amso.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsr.ent"
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-box.ent"
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-cyr1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-cyr2.ent"
-- End of catalog data for DocBook XML V4.2 ............................. --
-- ...................................................................... --

View File

@ -1,119 +0,0 @@
OVERRIDE YES
DTDDECL "-//OASIS//DTD DocBook XML V4.3//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" /usr/share/sgml/opensp/xml.dcl
-- ...................................................................... --
-- Catalog data for DocBook XML V4.3 .................................... --
-- File docbook.cat ..................................................... --
-- Please direct all questions, bug reports, or suggestions for
changes to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/.
--
-- This is the catalog data file for DocBook XML V4.3. It is provided as
a convenience in building your own catalog files. You need not use
the filenames listed here, and need not use the filename method of
identifying storage objects at all. See the documentation for
detailed information on the files associated with the DocBook DTD.
See SGML Open Technical Resolution 9401 for detailed information
on supplying and using catalog data.
--
-- ...................................................................... --
-- DocBook driver file .................................................. --
PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/docbookx.dtd"
-- ...................................................................... --
-- DocBook modules ...................................................... --
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.3//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/calstblx.dtd"
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/soextblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/htmltblx.mod">
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.3//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN"
"/usr/share/sgml/docbook/dtd/4.3xml/dbcentx.mod"
-- ...................................................................... --
-- ISO entity sets ...................................................... --
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-dia.ent"
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-num.ent"
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-pub.ent"
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-tech.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-lat1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-lat2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-grk1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-grk2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-grk3.ent"
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-grk4.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsa.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsb.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsc.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsn.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amso.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsr.ent"
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-box.ent"
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-cyr1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-cyr2.ent"
-- End of catalog data for DocBook XML V4.3 ............................. --
-- ...................................................................... --

View File

@ -1,119 +0,0 @@
OVERRIDE YES
DTDDECL "-//OASIS//DTD DocBook XML V4.4//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" /usr/share/sgml/opensp/xml.dcl
-- ...................................................................... --
-- Catalog data for DocBook XML V4.4 .................................... --
-- File docbook.cat ..................................................... --
-- Please direct all questions, bug reports, or suggestions for
changes to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/.
--
-- This is the catalog data file for DocBook XML V4.4. It is provided as
a convenience in building your own catalog files. You need not use
the filenames listed here, and need not use the filename method of
identifying storage objects at all. See the documentation for
detailed information on the files associated with the DocBook DTD.
See SGML Open Technical Resolution 9401 for detailed information
on supplying and using catalog data.
--
-- ...................................................................... --
-- DocBook driver file .................................................. --
PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/docbookx.dtd"
-- ...................................................................... --
-- DocBook modules ...................................................... --
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.4//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/calstblx.dtd"
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/soextblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/htmltblx.mod">
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.4//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN"
"/usr/share/sgml/docbook/dtd/4.4xml/dbcentx.mod"
-- ...................................................................... --
-- ISO entity sets ...................................................... --
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isodia.ent"
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isonum.ent"
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isopub.ent"
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isotech.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isolat1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isolat2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isogrk1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isogrk2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isogrk3.ent"
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isogrk4.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsa.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsb.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsc.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsn.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamso.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsr.ent"
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isobox.ent"
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isocyr1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isocyr2.ent"
-- End of catalog data for DocBook XML V4.4 ............................. --
-- ...................................................................... --

View File

@ -1,119 +0,0 @@
OVERRIDE YES
DTDDECL "-//OASIS//DTD DocBook XML V4.5//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
DTDDECL "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" /usr/share/sgml/opensp/xml.dcl
-- ...................................................................... --
-- Catalog data for DocBook XML V4.5 .................................... --
-- File docbook.cat ..................................................... --
-- Please direct all questions, bug reports, or suggestions for
changes to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/.
--
-- This is the catalog data file for DocBook XML V4.5. It is provided as
a convenience in building your own catalog files. You need not use
the filenames listed here, and need not use the filename method of
identifying storage objects at all. See the documentation for
detailed information on the files associated with the DocBook DTD.
See SGML Open Technical Resolution 9401 for detailed information
on supplying and using catalog data.
--
-- ...................................................................... --
-- DocBook driver file .................................................. --
PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/docbookx.dtd"
-- ...................................................................... --
-- DocBook modules ...................................................... --
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.5//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/calstblx.dtd"
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/soextblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/htmltblx.mod">
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.5//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN"
"/usr/share/sgml/docbook/dtd/4.5xml/dbcentx.mod"
-- ...................................................................... --
-- ISO entity sets ...................................................... --
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isodia.ent"
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isonum.ent"
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isopub.ent"
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isotech.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isolat1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isolat2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isogrk1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isogrk2.ent"
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isogrk3.ent"
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isogrk4.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsa.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsb.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsc.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsn.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamso.ent"
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsr.ent"
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isobox.ent"
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isocyr1.ent"
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isocyr2.ent"
-- End of catalog data for DocBook XML V4.5 ............................. --
-- ...................................................................... --

View File

@ -1,54 +0,0 @@
OVERRIDE YES
-- Load iso_ent early to prevent docbook.cat from biting --
CATALOG "/var/lib/sgml/CATALOG.iso_ent"
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" /usr/share/sgml/docbook/dtd/4.4/docbook.dcl
DTDDECL "-//OASIS//DTD DocBook V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/docbook.dcl"
CATALOG "/usr/share/sgml/docbook/dtd/4.4/docbook.cat"
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" /usr/share/sgml/docbook/dtd/4.3/docbook.dcl
DTDDECL "-//OASIS//DTD DocBook V4.3//EN" "/usr/share/sgml/docbook/dtd/4.3/docbook.dcl"
CATALOG "/usr/share/sgml/docbook/dtd/4.3/docbook.cat"
PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "/usr/share/sgml/docbook/dtd/4.1/cals-tbl.dtd"
-- PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbnotnx.mod" --
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbnotn.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbnotn.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbnotn.mod"
-- PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbcentx.mod" --
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbcentx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbcent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbcent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbcent.mod"
-- PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbgenent.mod" --
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbgenent.mod"
-- PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbpoolx.mod" --
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbpool.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbpool.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbpool.mod"
-- PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbhierx.mod" --
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbhierx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbhier.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbhier.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbhier.mod"
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "/usr/share/sgml/docbook/dtd/4.2/soextblx.dtd"
PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/docbookx.dtd"
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/docbookx.dtd"
PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/docbook.dtd"
PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dtd"
PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dtd"
PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/htmltblx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" "/usr/share/sgml/docbook/dtd/4.3/htmltblx.mod"
-- PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/calstblx.dtd" --
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/calstblx.dtd"
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/docbook/dtd/4.2/docbook.dcl
DTDDECL "-//OASIS//DTD DocBook XML V4.2//EN" /usr/share/sgml/docbook/dtd/4.2/docbook.dcl
DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dcl"
DTDDECL "-//OASIS//DTD DocBook V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dcl"
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" /usr/share/sgml/docbook/dtd/4.2/docbook.dcl

12
core-catalog Normal file
View File

@ -0,0 +1,12 @@
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4" catalog="file://__CATALOG__"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4" catalog="file://__CATALOG__"/>
<delegatePublic publicIdStartString="-//OASIS//DTD XML Exchange Table Model 19990315//EN" catalog="file://__CATALOG__"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4" catalog="file://__CATALOG__"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4" catalog="file://__CATALOG__"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4" catalog="file://__CATALOG__"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4" catalog="file://__CATALOG__"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4" catalog="file://__CATALOG__"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4" catalog="file://__CATALOG__"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4" catalog="file://__CATALOG__"/>
<delegateSystem systemIdStartString="http://www.docbook.org/xml/4" catalog="file://__CATALOG__"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4" catalog="file://__CATALOG__"/>

BIN
docbk41.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbkx412.zip (Stored with Git LFS)

Binary file not shown.

View File

@ -1,27 +0,0 @@
--- docbook_4/4.3xml/catalog.xml.~1~ 2004-03-31 13:22:12.000000000 +0200
+++ docbook_4/4.3xml/catalog.xml 2005-05-17 15:28:06.000000000 +0200
@@ -34,6 +34,9 @@
<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
uri="soextblx.dtd"/>
+<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN"
+ uri="htmltblx.mod"/>
+
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN"
uri="dbpoolx.mod"/>
--- docbook_4/dtd/4.3/catalog.xml.~1~ 2004-03-31 13:45:14.000000000 +0200
+++ docbook_4/dtd/4.3/catalog.xml 2005-05-17 15:27:35.000000000 +0200
@@ -34,6 +34,9 @@
<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
uri="soextblx.dtd"/>
+<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN"
+ uri="htmltblx.mod"/>
+
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN"
uri="dbpoolx.mod"/>
Diff finished. Tue May 17 15:28:24 2005

View File

@ -1,28 +0,0 @@
--- dtd/4.3/docbook.dcl.~1~ 2004-03-31 13:44:16.000000000 +0200
+++ dtd/4.3/docbook.dcl 2004-06-06 09:07:41.722095720 +0200
@@ -61,8 +61,8 @@
NAMING
LCNMSTRT ""
UCNMSTRT ""
- LCNMCHAR ".-_"
- UCNMCHAR ".-_"
+ LCNMCHAR ".-_:"
+ UCNMCHAR ".-_:"
NAMECASE
GENERAL YES
ENTITY NO
--- dtd/4.3/htmltblx.mod.~1~ 2004-03-31 13:43:24.000000000 +0200
+++ dtd/4.3/htmltblx.mod 2004-06-06 09:45:55.033459400 +0200
@@ -213,8 +213,10 @@
bgcolor CDATA #IMPLIED
'>
+<!-- HTML 4.01 defines TFrame as
+ "(void|above|below|hsides|lhs|rhs|vsides|box|border)" -->
<!ENTITY % tbl.frame.attval "void|above|below|hsides|lhs|rhs|vsides|box|border|
-top|bottom|topbot|all|sides|none">
+top|bottom|topbot|sides">
<!-- Allow either objects or inlines; beware of REs between elements. -->
<!ENTITY % tbl.entry.mdl "%para.char.mix; | %tabentry.mix;">

BIN
docbook-4.2.zip (Stored with Git LFS)

Binary file not shown.

40
docbook-4.3.patch Normal file
View File

@ -0,0 +1,40 @@
--- a/4.3/dtd/docbook.dcl 2004-03-31 13:44:16.000000000 +0200
+++ b/4.3/dtd/docbook.dcl 2004-06-06 09:07:41.722095720 +0200
@@ -61,8 +61,8 @@
NAMING
LCNMSTRT ""
UCNMSTRT ""
- LCNMCHAR ".-_"
- UCNMCHAR ".-_"
+ LCNMCHAR ".-_:"
+ UCNMCHAR ".-_:"
NAMECASE
GENERAL YES
ENTITY NO
--- a/4.3/dtd/htmltblx.mod 2004-03-31 13:43:24.000000000 +0200
+++ b/4.3/dtd/htmltblx.mod 2004-06-06 09:45:55.033459400 +0200
@@ -213,8 +213,10 @@
bgcolor CDATA #IMPLIED
'>
+<!-- HTML 4.01 defines TFrame as
+ "(void|above|below|hsides|lhs|rhs|vsides|box|border)" -->
<!ENTITY % tbl.frame.attval "void|above|below|hsides|lhs|rhs|vsides|box|border|
-top|bottom|topbot|all|sides|none">
+top|bottom|topbot|sides">
<!-- Allow either objects or inlines; beware of REs between elements. -->
<!ENTITY % tbl.entry.mdl "%para.char.mix; | %tabentry.mix;">
--- a/4.3/xml/catalog.xml 2004-03-31 13:22:12.000000000 +0200
+++ b/4.3/xml/catalog.xml 2005-05-17 15:28:06.000000000 +0200
@@ -34,6 +34,9 @@
<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
uri="soextblx.dtd"/>
+<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN"
+ uri="htmltblx.mod"/>
+
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN"
uri="dbpoolx.mod"/>

BIN
docbook-4.3.zip (Stored with Git LFS)

Binary file not shown.

View File

@ -1,5 +1,5 @@
--- docbook.dcl.~1~ 2005-01-27 14:59:49.000000000 +0100
+++ docbook.dcl 2005-08-17 13:48:37.000000000 +0200
--- a/4.4/dtd/docbook.dcl 2005-01-27 14:59:49.000000000 +0100
+++ b/4.4/dtd/docbook.dcl 2005-08-17 13:48:37.000000000 +0200
@@ -61,8 +61,8 @@
NAMING
LCNMSTRT ""
@ -11,5 +11,3 @@
NAMECASE
GENERAL YES
ENTITY NO
Diff finished. Wed Aug 17 13:48:41 2005

BIN
docbook-4.4.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-4.5.zip (Stored with Git LFS)

Binary file not shown.

49
docbook-4.sgml Normal file
View File

@ -0,0 +1,49 @@
-- docbook_4.1 --
PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "__DIR__/4.1/dtd/docbookx.dtd"
PUBLIC "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" "__DIR__/4.1/dtd/calstblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" "__DIR__/4.1/dtd/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" "__DIR__/4.1/dtd/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" "__DIR__/4.1/dtd/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" "__DIR__/4.1/dtd/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" "__DIR__/4.1/dtd/dbcentx.mod"
-- docbook_4.2 --
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "__DIR__/4.2/dtd/docbookx.dtd"
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" "__DIR__/4.2/dtd/calstblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.2//EN" "__DIR__/4.2/dtd/htmltblx.mod">
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" "__DIR__/4.2/dtd/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" "__DIR__/4.2/dtd/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "__DIR__/4.2/dtd/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "__DIR__/4.2/dtd/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "__DIR__/4.2/dtd/dbcentx.mod"
-- docbook_4.3 --
PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "__DIR__/4.3/dtd/docbookx.dtd"
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" "__DIR__/4.3/dtd/calstblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" "__DIR__/4.3/dtd/htmltblx.mod">
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" "__DIR__/4.3/dtd/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" "__DIR__/4.3/dtd/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" "__DIR__/4.3/dtd/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.3//EN" "__DIR__/4.3/dtd/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" "__DIR__/4.3/dtd/dbcentx.mod"
-- docbook_4.4 --
PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "__DIR__/4.4/dtd/docbookx.dtd"
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" "__DIR__/4.4/dtd/calstblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" "__DIR__/4.4/dtd/htmltblx.mod">
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" "__DIR__/4.4/dtd/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" "__DIR__/4.4/dtd/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" "__DIR__/4.4/dtd/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.4//EN" "__DIR__/4.4/dtd/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" "__DIR__/4.4/dtd/dbcentx.mod"
-- docbook_4.5 --
PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "__DIR__/4.5/dtd/docbookx.dtd"
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" "__DIR__/4.5/dtd/calstblx.dtd"
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "__DIR__/4.5/dtd/soextblx.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" "__DIR__/4.5/dtd/htmltblx.mod">
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" "__DIR__/4.5/dtd/dbpoolx.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" "__DIR__/4.5/dtd/dbhierx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" "__DIR__/4.5/dtd/dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.5//EN" "__DIR__/4.5/dtd/dbnotnx.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" "__DIR__/4.5/dtd/dbcentx.mod"

3
docbook-4.x.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96aa514638bd53abf93e3c46783c485e8a54876ea700fbbd712886e195bdf2ca
size 597527

77
docbook-4.xml Normal file
View File

@ -0,0 +1,77 @@
<?xml version="1.0"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<group id="docbook_4.1">
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.1//EN" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.1//EN" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.1//EN" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1//EN" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.1//EN" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.docbook.org/xml/4.1" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.1" catalog="file://__DIR__/4.1/dtd/catalog.xml"/>
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1" rewritePrefix="file://__DIR__/4.1/dtd"/>
<rewriteSystem systemIdStartString="http://www.docbook.org/xml/4.1" rewritePrefix="file://__DIR__/4.1/dtd"/>
</group>
<group id="docbook_4.2">
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.2//EN" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.2//EN" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.2//EN" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.docbook.org/xml/4.2" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.2" catalog="file://__DIR__/4.2/dtd/catalog.xml"/>
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2" rewritePrefix="file://__DIR__/4.2/dtd"/>
<rewriteSystem systemIdStartString="http://www.docbook.org/xml/4.2" rewritePrefix="file://__DIR__/4.2/dtd"/>
</group>
<group id="docbook_4.3">
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.3//EN" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.3//EN" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.3//EN" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.3" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.docbook.org/xml/4.3" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.3" catalog="file://__DIR__/4.3/dtd/catalog.xml"/>
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.3" rewritePrefix="file://__DIR__/4.3/dtd"/>
<rewriteSystem systemIdStartString="http://www.docbook.org/xml/4.3" rewritePrefix="file://__DIR__/4.3/dtd"/>
</group>
<group id="docbook_4.4">
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.4//EN" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.4//EN" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.4//EN" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.4" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.docbook.org/xml/4.4" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.4" catalog="file://__DIR__/4.4/dtd/catalog.xml"/>
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.4" rewritePrefix="file://__DIR__/4.4/dtd"/>
<rewriteSystem systemIdStartString="http://www.docbook.org/xml/4.4" rewritePrefix="file://__DIR__/4.4/dtd"/>
</group>
<group id="docbook_4.5">
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.5//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.5//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//DTD XML Exchange Table Model 19990315//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.5//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegateSystem systemIdStartString="http://www.docbook.org/xml/4.5" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.5" catalog="file://__DIR__/4.5/dtd/catalog.xml"/>
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5" rewritePrefix="file://__DIR__/4.5/dtd"/>
<rewriteSystem systemIdStartString="http://www.docbook.org/xml/4.5" rewritePrefix="file://__DIR__/4.5/dtd"/>
</group>
</catalog>

BIN
docbook-rng-4.2.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-rng-4.3.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-rng-4.4.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-rng-4.5.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-xml-4.2.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-xml-4.3.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-xml-4.4.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-xml-4.5.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-xsd-4.2.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-xsd-4.3.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-xsd-4.4.zip (Stored with Git LFS)

Binary file not shown.

BIN
docbook-xsd-4.5.zip (Stored with Git LFS)

Binary file not shown.

View File

@ -1,31 +0,0 @@
README.SuSE (2005-02-02 13:52:09 CET)
=====================================
SGML CATALOG Files
------------------
SGML
....
The default CATALOG file for DocBook 4 is
/usr/share/sgml/CATALOG.docbook_4; it is valid for DocBook DTD 4.1, 4.2,
4.3, and 4.4.
XML
...
The name of the SGML CATALOG file for the XML versions are:
/usr/share/sgml/CATALOG.db41xml
/usr/share/sgml/CATALOG.db42xml
/usr/share/sgml/CATALOG.db43xml
/usr/share/sgml/CATALOG.db44xml
XML CATALOG Files
------------------
XML catalogs are available through /etc/xml/catalog which points to
/etc/xml/suse-catalog.xml.

View File

@ -1,7 +1,18 @@
-------------------------------------------------------------------
Tue Aug 5 11:27:00 UTC 2014 - rsalevsky@suse.com
- fix installation I/O error
- fix entities
-------------------------------------------------------------------
Thu Jun 12 15:25:08 UTC 2014 - rsalevsky@suse.com
- using the xml-group-manager to manage the catalog entrys
-------------------------------------------------------------------
Mon Jul 15 06:02:47 UTC 2013 - toms@opensuse.org
- Fixed bnc#828872:
- Fixed bnc#828872:
Missing system identifier http://www.docbook.org/xml/$VER/ added
- Spec file:

View File

@ -1,7 +1,7 @@
#
# spec file for package docbook_4
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,59 +17,27 @@
Name: docbook_4
BuildRequires: fdupes
BuildRequires: sgml-skel
BuildRequires: unzip
Provides: docbook
Provides: docbook-dtd
Provides: docbook-dtds
Requires: iso_ent
%define regcat /usr/bin/sgml-register-catalog
PreReq: %{regcat} /usr/bin/xmlcatalog sgml-skel
PreReq: sed grep awk
Version: 4.5
Release: 0
Summary: DocBook DTD Version 4.x
License: BSD-3-Clause and MIT
Group: Productivity/Publishing/DocBook
Version: 4.5
Release: 0
Source2: docbook_4-README.SuSE
Source7: CATALOG.docbook_4
# DocBook 4.1
Source410: http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
Source411: http://www.oasis-open.org/docbook/xml/4.1/docbkx412.zip
# No RNG and XSD files for DB4.1
Source414: CATALOG.db41xml
# DocBook 4.2
Source420: http://www.oasis-open.org/docbook/sgml/4.2/docbook-4.2.zip
Source421: http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
Source422: http://www.oasis-open.org/docbook/rng/4.2/docbook-rng-4.2.zip
Source423: http://www.oasis-open.org/docbook/xsd/4.2/docbook-xsd-4.2.zip
Source424: CATALOG.db42xml
# DocBook 4.3
Source430: http://www.docbook.org/sgml/4.3/docbook-4.3.zip
Source431: http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
Source432: http://www.docbook.org/rng/4.3/docbook-rng-4.3.zip
Source433: http://www.docbook.org/xsd/4.3/docbook-xsd-4.3.zip
Source434: CATALOG.db43xml
# DocBook 4.4
Source440: http://www.oasis-open.org/docbook/sgml/4.4/docbook-4.4.zip
Source441: http://www.oasis-open.org/docbook/xml/4.4/docbook-xml-4.4.zip
Source442: http://www.docbook.org/rng/4.4/docbook-rng-4.4.zip
Source443: http://www.docbook.org/xsd/4.4/docbook-xsd-4.4.zip
Source444: CATALOG.db44xml
# DocBook 4.5
Source450: http://www.oasis-open.org/docbook/sgml/4.5/docbook-4.5.zip
Source451: http://www.oasis-open.org/docbook/xml/4.5/docbook-xml-4.5.zip
Source452: http://www.docbook.org/rng/4.5/docbook-rng-4.5.zip
Source453: http://www.docbook.org/xsd/4.5/docbook-xsd-4.5.zip
Source454: CATALOG.db45xml
# Patches
Patch1: docbook-4-3.diff
Patch2: docbook-4-3-xml-cat.diff
Patch3: docbook.4.4.dcl.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Url: http://www.oasis-open.org/docbook/
Source0: docbook-4.x.tar.bz2
Source1: core-catalog
Source2: docbook-4.xml
Source3: docbook-4.sgml
Patch1: docbook-4.3.patch
Patch2: docbook-4.4.patch
Requires: sgml-skel
Requires: xml-group-manager
Requires: xmlcharent
BuildRequires: fdupes
BuildRequires: sgml-skel
BuildRequires: xml-group-manager
BuildRequires: xmlcharent
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
DocBook is a schema. It is particularly well-suited to books and papers
@ -78,345 +46,31 @@ applications at all). This package has SGML- and XML-DTD versions
included. Some versions of DocBook contain also a RELAX NG and W3C
Schema.
%define INSTALL install -m755 -s
%define INSTALL_DIR install -d -m755
%define INSTALL_DATA install -m644
%define INSTALL_SCRIPT install -m755
%define sgml_dir %{_datadir}/sgml
%define sgml_docbook_dir %{sgml_dir}/docbook
%define sgml_docbook_dtd_dir %{sgml_docbook_dir}/dtd
%define sgml_docbook_custom_dir %{sgml_docbook_dir}/custom
%define sgml_docbook_style_dir %{sgml_docbook_dir}/stylesheet
%define xml_dir %{_datadir}/xml
%define xml_docbook_dir %{xml_dir}/docbook
%define xml_docbook_dtd_dir %{xml_docbook_dir}/schema/dtd
%define xml_docbook_rng_dir %{xml_docbook_dir}/schema/rng
%define xml_docbook_xsd_dir %{xml_docbook_dir}/schema/xsd
%define xml_docbook_custom_dir %{xml_docbook_dir}/custom
%define xml_docbook_style_dir %{xml_docbook_dir}/stylesheet
%define sgml_config_dir /var/lib/sgml
%define sgml_sysconf_dir %{_sysconfdir}/sgml
%define xml_config_dir /var/lib/xml
%define xml_sysconf_dir %{_sysconfdir}/xml
%prep
%setup -n %{name} -c -T
cp -p $RPM_SOURCE_DIR/%{name}-README.SuSE README.SuSE
%{INSTALL_DIR} dtd/4.{1,2,3,4,5} 4.{1,2,3,4,5}xml
echo "**** %{S:410}"
pushd dtd/4.1
unzip -q -a %{S:410}
popd
pushd 4.1xml
unzip -q -a %{S:411}
popd
pushd dtd/4.2
unzip -q -a %{S:420}
popd
pushd 4.2xml
unzip -q -a %{S:421}
popd
pushd dtd/4.3
unzip -q -a %{S:430}
popd
pushd 4.3xml
unzip -q -a %{S:431}
popd
pushd dtd/4.4
unzip -q -a %{S:440}
%patch3 -p 0
popd
pushd 4.4xml
unzip -q -a %{S:441}
popd
pushd dtd/4.5
unzip -q -a %{S:450}
popd
pushd 4.5xml
unzip -q -a %{S:451}
popd
%patch -p 1 -P 1 -p 0
%patch2 -p 1
# CATALOG.* files
cp %{S:7} %{S:414} %{S:424} %{S:434} %{S:444} %{S:454} .
chmod -R a+rX,g-w,o-w .
find . -type f | xargs chmod a-x
%setup -q -n docbook-4.x
%patch1 -p1
%patch2 -p1
sed 's|__CATALOG__|%{_datadir}/%{name}/%{name}.xml|' %{SOURCE1} > core-catalog
sed 's|__DIR__|%{_datadir}/%{name}|' %{SOURCE2} > %{name}.xml
sed 's|__DIR__|%{_datadir}/%{name}|' %{SOURCE3} > %{name}.sgml
%build
CATALOG=docbook_41.xml
# # build root catalog fragment
xmlcatbin=/usr/bin/xmlcatalog
$xmlcatbin --create --noout $CATALOG
docbookdir=%{xml_docbook_dtd_dir}/4.1
$xmlcatbin --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \
"file://$docbookdir/dbpoolx.mod" $CATALOG
$xmlcatbin --noout --add "public" \
"-//OASIS//DTD DocBook XML V4.1.2//EN" \
"file://$docbookdir/docbookx.dtd" $CATALOG
$xmlcatbin --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \
"file://$docbookdir/dbcentx.mod" $CATALOG
$xmlcatbin --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \
"file://$docbookdir/dbnotnx.mod" $CATALOG
$xmlcatbin --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \
"file://$docbookdir/dbgenent.mod" $CATALOG
$xmlcatbin --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \
"file://$docbookdir/dbhierx.mod" $CATALOG
$xmlcatbin --noout --add "public" \
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
"file://$docbookdir/soextblx.dtd" $CATALOG
$xmlcatbin --noout --add "public" \
"-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
"file://$docbookdir/calstblx.dtd" $CATALOG
$xmlcatbin --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/4.1.2" \
"file://$docbookdir" $CATALOG
$xmlcatbin --noout --add "rewriteSystem" \
"http://www.docbook.org/xml/4.1.2" \
"file://$docbookdir" $CATALOG
$xmlcatbin --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/4.1.2" \
"file://$docbookdir" $CATALOG
# === iso
isodir=$docbookdir/ent
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Publishing//EN//XML" \
"file://$isodir/iso-pub.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Greek Letters//EN//XML" \
"file://$isodir/iso-grk1.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" \
"file://$isodir/iso-box.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" \
"file://$isodir/iso-grk3.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" \
"file://$isodir/iso-amsn.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" \
"file://$isodir/iso-num.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" \
"file://$isodir/iso-grk4.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" \
"file://$isodir/iso-dia.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" \
"file://$isodir/iso-grk2.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" \
"file://$isodir/iso-amsa.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" \
"file://$isodir/iso-amso.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" \
"file://$isodir/iso-cyr1.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES General Technical//EN//XML" \
"file://$isodir/iso-tech.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" \
"file://$isodir/iso-amsc.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" \
"file://$isodir/iso-lat1.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" \
"file://$isodir/iso-amsb.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" \
"file://$isodir/iso-lat2.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" \
"file://$isodir/iso-amsr.ent" $CATALOG
$xmlcatbin --noout --add "public" \
"ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" \
"file://$isodir/iso-cyr2.ent" $CATALOG
# ====
%define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml
CATALOG=etc/xml/$CATALOG
rm -f %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp
for v in 4.2 4.3 4.4 4.5; do
cat42=%{xml_docbook_dtd_dir}/$v/catalog.xml
for s in \
"-//OASIS//DTD DocBook XML V${v}//EN" \
"-//OASIS//DTD DocBook CALS Table Model V${v}//EN" \
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
"-//OASIS//ELEMENTS DocBook Information Pool V${v}//EN" \
"-//OASIS//ELEMENTS DocBook Document Hierarchy V${v}//EN" \
"-//OASIS//ENTITIES DocBook Additional General Entities V${v}//EN" \
"-//OASIS//ENTITIES DocBook Notations V${v}//EN" \
"-//OASIS//ENTITIES DocBook Character Entities V${v}//EN"
do
$xmlcatbin --noout --add "delegatePublic" "$s" \
"file://$cat42" %{FOR_ROOT_CAT}.tmp
done
case $v in
4.[345])
$xmlcatbin --noout --add "delegatePublic" \
"-//OASIS//ELEMENTS DocBook XML HTML Tables V${v}//EN" \
"file://$cat42" %{FOR_ROOT_CAT}.tmp
;;
*)
true
esac
$xmlcatbin --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/xml/${v}" \
"file://$cat42" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "delegateSystem" \
"http://www.docbook.org/xml/${v}" \
"file://$cat42" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/xml/${v}" \
"file://$cat42" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/${v}" \
"file://%{xml_docbook_dtd_dir}/${v}" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "rewriteSystem" \
"http://www.docbook.org/xml/${v}" \
"file://%{xml_docbook_dtd_dir}/${v}" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "delegatePublic" \
"ISO 8879:1986" \
"file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
done
# 41xml
for s in \
"-//OASIS//DTD DocBook XML V4.1" \
"-//OASIS//ELEMENTS DocBook Information Pool V4.1" \
"-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1" \
"-//OASIS//ENTITIES DocBook Additional General Entities V4.1" \
"-//OASIS//ENTITIES DocBook Notations V4.1" \
"-//OASIS//ENTITIES DocBook Character Entities V4.1"
do
$xmlcatbin --noout --add "delegatePublic" "$s" \
"file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
done
$xmlcatbin --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/xml/4.1" \
"file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/xml/4.1" \
"file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
# Create tag
sed '/<catalog/a\
<group id="%{name}-%{version}">
/<\/catalog/i\
</group>' \
%{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT}
%install
%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_config_dir}
%{INSTALL_DIR} $RPM_BUILD_ROOT%{xml_config_dir}
%{INSTALL_DATA} CATALOG.* $RPM_BUILD_ROOT%{sgml_config_dir}
# for CATALOG.* links
%define my_all_cat docbook_4 db41xml db42xml db43xml db44xml db45xml
for v in 4.1 4.2 4.3 4.4 4.5; do
vl=${v/\.}
%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_docbook_dtd_dir}/$v
%{INSTALL_DATA} dtd/${v}/* $RPM_BUILD_ROOT%{sgml_docbook_dtd_dir}/${v}
%{INSTALL_DIR} $RPM_BUILD_ROOT%{xml_docbook_dtd_dir}/$v
cp -a ${v}xml/* $RPM_BUILD_ROOT%{xml_docbook_dtd_dir}/$v
ln -s %{xml_docbook_dtd_dir}/$v $RPM_BUILD_ROOT%{sgml_docbook_dtd_dir}/${v}xml
ln -sf %{sgml_config_dir}/CATALOG.db${vl}xml \
$RPM_BUILD_ROOT%{sgml_dir}/CATALOG.db${vl}xml
done
ln -sf %{sgml_docbook_dtd_dir}/4.1 $RPM_BUILD_ROOT%{sgml_dir}/%{name}.1
ln -sf %{sgml_config_dir}/CATALOG.%{name} \
$RPM_BUILD_ROOT%{sgml_dir}/CATALOG.%{name}
ln -sf %{sgml_config_dir}/CATALOG.%{name} \
$RPM_BUILD_ROOT%{sgml_dir}/CATALOG.docbk41
cat_dir=%{buildroot}/etc/xml
%{INSTALL_DIR} $cat_dir
%{INSTALL_DATA} %{FOR_ROOT_CAT} docbook_41.xml $cat_dir
# rng
%{INSTALL_DIR} $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/{4.3,4.4} \
$RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/{4.3,4.4}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.2 %{S:422}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.3 %{S:432}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.4 %{S:442}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.5 %{S:452}
# w3c schema
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.2 %{S:422}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.3 %{S:433}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.4 %{S:443}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.5 %{S:453}
# cleanup
%fdupes $RPM_BUILD_ROOT
%{__mkdir} -p %{buildroot}%{_datadir}/%{name}/
%{__cp} -R * %{buildroot}%{_datadir}/%{name}/
%fdupes %{buildroot}
%post
if [ -x %{regcat} ]; then
for c in %{my_all_cat}; do
%{regcat} -a %{sgml_dir}/CATALOG.$c \
>/dev/null 2>&1 || true
done
fi
if [ -x /usr/bin/edit-xml-catalog ]; then
/usr/bin/edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--add /etc/xml/%{FOR_ROOT_CAT}
fi
xml-group-manager -a %{name} %{_datadir}/%{name}/core-catalog
sgml-register-catalog -a %{_datadir}/%{name}/%{name}.sgml
%postun
if [ "$1" = "0" -a -x %{regcat} ]; then
for c in %{my_all_cat}; do
%{regcat} -r %{sgml_dir}/CATALOG.$c \
>/dev/null 2>&1 || true
done
fi
# remove entries only on removal of file
if [ ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then
/usr/bin/edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--del %{name}-%{version}
fi
xml-group-manager -d %{name}
sgml-register-catalog -r %{_datadir}/%{name}/%{name}.sgml
%files
%defattr(-, root, root)
%config %{sgml_config_dir}/CATALOG.*
%doc README.SuSE
%{sgml_dir}/CATALOG.*
%{sgml_docbook_dtd_dir}/4.1
%{sgml_docbook_dtd_dir}/4.2
%{sgml_docbook_dtd_dir}/4.3
%{sgml_docbook_dtd_dir}/4.4
%{sgml_docbook_dtd_dir}/4.5
#
%{sgml_docbook_dtd_dir}/4.1xml
%{sgml_docbook_dtd_dir}/4.2xml
%{sgml_docbook_dtd_dir}/4.3xml
%{sgml_docbook_dtd_dir}/4.4xml
%{sgml_docbook_dtd_dir}/4.5xml
#
%{xml_docbook_dtd_dir}/4.1
%{xml_docbook_dtd_dir}/4.2
%{xml_docbook_dtd_dir}/4.3
%{xml_docbook_dtd_dir}/4.4
%{xml_docbook_dtd_dir}/4.5
#
%{xml_docbook_rng_dir}/4.2
%{xml_docbook_rng_dir}/4.3
%{xml_docbook_rng_dir}/4.4
%{xml_docbook_rng_dir}/4.5
#
%{xml_docbook_xsd_dir}/4.2
%{xml_docbook_xsd_dir}/4.3
%{xml_docbook_xsd_dir}/4.4
%{xml_docbook_xsd_dir}/4.5
#
%config %{xml_sysconf_dir}/docbook_41.xml
%config %{xml_sysconf_dir}/%{FOR_ROOT_CAT}
%dir %{sgml_dir}/docbook/dtd
%{sgml_dir}/docbook_4.1
%dir %{xml_docbook_dir}/schema
%dir %{xml_docbook_dtd_dir}
%dir %{xml_docbook_rng_dir}
%dir %{xml_docbook_xsd_dir}
%{_datadir}/%{name}
%changelog