OBS User unknown 2007-02-15 16:50:48 +00:00 committed by Git OBS Bridge
parent aa8ddec137
commit 01e94d0110
7 changed files with 182 additions and 10 deletions

119
CATALOG.db45xml Normal file
View File

@ -0,0 +1,119 @@
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 ............................. --
-- ...................................................................... --

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 15 11:11:01 CET 2007 - toms@suse.de
- Added DocBook v4.5 XML and SGML DTD
- Added RELAX NG and W3C schema for 4.3 and 4.4
-------------------------------------------------------------------
Mon Jan 15 13:14:08 CET 2007 - ke@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package docbook_4 (Version 4.4)
# spec file for package docbook_4 (Version 4.5)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -23,8 +23,8 @@ PreReq: %{regcat} /usr/bin/xmlcatalog sgml-skel
PreReq: sed grep awk
Autoreqprov: on
Summary: DocBook DTD Version 4.x
Version: 4.4
Release: 47
Version: 4.5
Release: 1
Source0: http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
Source1: http://www.oasis-open.org/docbook/xml/4.1/docbkx412.zip
Source2: docbook_4-README.SuSE
@ -38,9 +38,16 @@ Source9: http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
Source10: http://www.docbook.org/rng/4.3/docbook-rng-4.3.zip
Source11: http://www.docbook.org/xsd/4.3/docbook-xsd-4.3.zip
Source12: CATALOG.db43xml
#
Source20: http://www.oasis-open.org/docbook/sgml/4.4/docbook-4.4.zip
Source21: http://www.oasis-open.org/docbook/xml/4.4/docbook-xml-4.4.zip
Source22: CATALOG.db44xml
Source23: http://www.docbook.org/rng/4.4/docbook-rng-4.4.zip
Source24: http://www.docbook.org/xsd/4.4/docbook-xsd-4.4.zip
#
Source30: http://www.oasis-open.org/docbook/sgml/4.5/docbook-4.5.zip
Source31: http://www.oasis-open.org/docbook/xml/4.5/docbook-xml-4.5.zip
Source32: CATALOG.db45xml
Patch0: docbook-4-3-cat.diff
Patch1: docbook-4-3.diff
Patch2: docbook-4-3-xml-cat.diff
@ -84,7 +91,7 @@ Authors:
%prep
%setup -n %{name} -c -T
cp -p $RPM_SOURCE_DIR/%{name}-README.SuSE README.SuSE
%{INSTALL_DIR} dtd/4.{1,2,3,4} 4.{1,2,3,4}xml
%{INSTALL_DIR} dtd/4.{1,2,3,4,5} 4.{1,2,3,4,5}xml
pushd dtd/4.1
unzip -q -a %{SOURCE0}
popd
@ -110,10 +117,16 @@ popd
pushd 4.4xml
unzip -q -a %{SOURCE21}
popd
pushd dtd/4.5
unzip -q -a %{SOURCE30}
popd
pushd 4.5xml
unzip -q -a %{SOURCE31}
popd
%patch -p 1 -P 1 -p 0
%patch2 -p 1
# CATALOG.* files
cp %{S:5} %{S:6} %{S:7} %{S:12} %{S:22} .
cp %{S:5} %{S:6} %{S:7} %{S:12} %{S:22} %{S:32} .
chmod -R a+rX,g-w,o-w .
find . -type f | xargs chmod a-x
@ -217,7 +230,7 @@ $xmlcatbin --noout --add "public" \
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; do
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" \
@ -233,7 +246,7 @@ for v in 4.2 4.3 4.4; do
"file://$cat42" %{FOR_ROOT_CAT}.tmp
done
case $v in
4.[34])
4.[345])
$xmlcatbin --noout --add "delegatePublic" \
"-//OASIS//ELEMENTS DocBook XML HTML Tables V${v}//EN" \
"file://$cat42" %{FOR_ROOT_CAT}.tmp
@ -288,8 +301,8 @@ fi
%{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
for v in 4.1 4.2 4.3 4.4; do
%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}
@ -308,8 +321,13 @@ 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
%{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.3 %{S:10}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_rng_dir}/4.4 %{S:23}
# w3c schema
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.3 %{S:11}
unzip -q -a -d $RPM_BUILD_ROOT%{xml_docbook_xsd_dir}/4.4 %{S:24}
%post
if [ -x %{regcat} ]; then
@ -347,15 +365,28 @@ rm -fr $RPM_BUILD_ROOT
%{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.3
%{xml_docbook_rng_dir}/4.4
#%{xml_docbook_rng_dir}/4.5
#
%{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
@ -365,8 +396,12 @@ rm -fr $RPM_BUILD_ROOT
%dir %{xml_docbook_dir}/schema
%dir %{xml_docbook_dtd_dir}
%dir %{xml_docbook_rng_dir}
%dir %{xml_docbook_xsd_dir}
%changelog -n docbook_4
* Thu Feb 15 2007 - toms@suse.de
- Added DocBook v4.5 XML and SGML DTD
- Added RELAX NG and W3C schema for 4.3 and 4.4
* Mon Jan 15 2007 - ke@suse.de
- PreReq sgml-skel instead of file name.
* Fri Jan 12 2007 - dmueller@suse.de