auto-import changelog data from docbook-dtds-1.0-13.src.rpm
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
This commit is contained in:
parent
6ed60d27b5
commit
7063ecb7c7
@ -3,3 +3,5 @@ docbk31.zip
|
||||
docbk40.zip
|
||||
docbk41.zip
|
||||
docbkx412.zip
|
||||
docbook-4.2.zip
|
||||
docbook-xml-4.2.zip
|
||||
|
68
docbook-dtd42-sgml-1.0.catalog.patch
Normal file
68
docbook-dtd42-sgml-1.0.catalog.patch
Normal file
@ -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 ................................. --
|
||||
-- ...................................................................... --
|
@ -1,6 +1,6 @@
|
||||
Name: docbook-dtds
|
||||
Version: 1.0
|
||||
Release: 8
|
||||
Release: 13
|
||||
Group: Applications/Text
|
||||
|
||||
Summary: XML document type definition for DocBook 4.1.2
|
||||
@ -16,8 +16,10 @@ Provides: docbook-dtd-xml docbook-dtd-sgml
|
||||
Provides: docbook-dtd30-sgml docbook-dtd31-sgml
|
||||
Provides: docbook-dtd40-sgml docbook-dtd41-sgml
|
||||
Provides: docbook-dtd412-xml
|
||||
Provides: docbook-dtd42-sgml docbook-dtd42-xml
|
||||
|
||||
PreReq: xml-common fileutils
|
||||
PreReq: textutils grep perl
|
||||
PreReq: 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
|
||||
@ -36,10 +38,13 @@ 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
|
||||
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
|
||||
BuildRequires: unzip
|
||||
|
||||
%define openjadever 1.3.1
|
||||
@ -90,6 +95,19 @@ cd 4.1.2-xml
|
||||
unzip %{SOURCE4}
|
||||
cd ..
|
||||
|
||||
# DocBook V4.2
|
||||
mkdir 4.2-sgml
|
||||
cd 4.2-sgml
|
||||
unzip %{SOURCE5}
|
||||
patch -b docbook.cat %{PATCH4}
|
||||
cd ..
|
||||
|
||||
# DocBook XML V4.2
|
||||
mkdir 4.2-xml
|
||||
cd 4.2-xml
|
||||
unzip %{SOURCE6}
|
||||
cd ..
|
||||
|
||||
if [ `id -u` -eq 0 ]; then
|
||||
chown -R root.root .
|
||||
chmod -R a+rX,g-w,o-w .
|
||||
@ -152,11 +170,31 @@ install *.mod $DESTDIR
|
||||
install ent/* $DESTDIR/ent
|
||||
cd ..
|
||||
|
||||
# DocBook V4.2
|
||||
cd 4.2-sgml
|
||||
DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/sgml-dtd-4.2-%{version}-%{release}
|
||||
mkdir -p $DESTDIR
|
||||
install *.dcl $DESTDIR
|
||||
install docbook.cat $DESTDIR/catalog
|
||||
install *.dtd $DESTDIR
|
||||
install *.mod $DESTDIR
|
||||
cd ..
|
||||
|
||||
# DocBook XML V4.2
|
||||
cd 4.2-xml
|
||||
DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/xml-dtd-4.2-%{version}-%{release}
|
||||
mkdir -p $DESTDIR/ent
|
||||
install docbook.cat $DESTDIR/catalog
|
||||
install *.dtd $DESTDIR
|
||||
install *.mod $DESTDIR
|
||||
install ent/* $DESTDIR/ent
|
||||
cd ..
|
||||
|
||||
# Symlinks
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/sgml
|
||||
ln -s sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
ln -s sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
$RPM_BUILD_ROOT/etc/sgml/sgml-docbook.cat
|
||||
ln -s xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
ln -s xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
$RPM_BUILD_ROOT/etc/sgml/xml-docbook.cat
|
||||
|
||||
|
||||
@ -173,14 +211,16 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/sgml/docbook/sgml-dtd-3.1-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.0-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.1-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.2-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/xml-dtd-4.1.2-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/xml-dtd-4.2-%{version}-%{release}
|
||||
/etc/sgml/sgml-docbook.cat
|
||||
/etc/sgml/xml-docbook.cat
|
||||
|
||||
|
||||
%post
|
||||
## Clean up pre-docbook-dtds mess caused by broken trigger.
|
||||
for v in 3.0 3.1 4.0 4.1
|
||||
for v in 3.0 3.1 4.0 4.1 4.2
|
||||
do
|
||||
if [ -f /etc/sgml/sgml-docbook-$v.cat ]
|
||||
then
|
||||
@ -235,6 +275,22 @@ done
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/xml-dtd-4.1.2-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook V4.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.2-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook XML V4.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/xml-dtd-4.2-%{version}-%{release}/catalog
|
||||
|
||||
# The following lines are for the case in which the style sheets
|
||||
# were installed after another DTD but before this DTD
|
||||
STYLESHEETS=$(echo /usr/share/sgml/docbook/dsssl-stylesheets-*)
|
||||
@ -279,6 +335,40 @@ if [ "$STYLESHEETS" != "*" ]; then
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook V4.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook XML V4.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
fi
|
||||
|
||||
# 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.
|
||||
CATALOG=/etc/sgml/catalog
|
||||
SGML=$(cat -n ${CATALOG} | grep sgml-docbook | head -1 | (read n line;echo $n))
|
||||
XML=$(cat -n ${CATALOG} | grep xml-docbook | head -1 | (read n line; echo $n))
|
||||
# Do they need switching around?
|
||||
if [ "${XML}" -lt "${SGML}" ]
|
||||
then
|
||||
# Switch those two lines around.
|
||||
XML=$((XML - 1))
|
||||
SGML=$((SGML - 1))
|
||||
perl -e "@_=<>;@_[$XML, $SGML]=@_[$SGML, $XML];print @_" \
|
||||
${CATALOG} > ${CATALOG}.rpmtmp
|
||||
mv -f ${CATALOG}.rpmtmp ${CATALOG}
|
||||
fi
|
||||
|
||||
##
|
||||
@ -287,9 +377,9 @@ fi
|
||||
|
||||
CATALOG=/usr/share/sgml/docbook/xmlcatalog
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
if [ -w $CATALOG ]
|
||||
then
|
||||
# DocBook XML V4.1.2
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Publishing//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-pub.ent" $CATALOG
|
||||
@ -377,6 +467,95 @@ then
|
||||
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://www.oasis-open.org/docbook/xml/4.1.2" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}" $CATALOG
|
||||
|
||||
# DocBook XML V4.2
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Publishing//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-pub.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Greek Letters//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-grkl.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbpoolx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Box and Line Drawing//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-box.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML V4.2//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/docbookx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Greek Symbols//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-grk3.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsn.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-num.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbcentx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-grk4.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Notations V4.2//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbnotnx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Diacritical Marks//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-dia.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Monotoniko Greek//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-grk2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbgenent.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.2//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbhierx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsa.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amso.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Russian Cyrillic//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-cyrl.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES General Technical//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-tech.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsc.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/soextblx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML CALS Table Model V4.2//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/calstblx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Latin 1//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-lat1.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsb.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Latin 2//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-lat2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsr.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-cyr2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://www.oasis-open.org/docbook/xml/4.2" \
|
||||
"xml-dtd-4.2-%{version}-%{release}" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://www.oasis-open.org/docbook/xml/4.2" \
|
||||
"xml-dtd-4.2-%{version}-%{release}" $CATALOG
|
||||
fi
|
||||
|
||||
# Finally, make sure everything in /etc/sgml is readable!
|
||||
@ -428,6 +607,22 @@ fi
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/xml-dtd-4.1.2-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook V4.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.2-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook XML V4.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/xml-dtd-4.2-%{version}-%{release}/catalog
|
||||
|
||||
# The following lines are for the case in which the style sheets
|
||||
# were not uninstalled because there is still another DTD
|
||||
STYLESHEETS=$(echo /usr/share/sgml/docbook/dsssl-stylesheets-*)
|
||||
@ -472,17 +667,33 @@ if [ "$STYLESHEETS" != "*" ]; then
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook V4.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook XML V4.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
fi
|
||||
|
||||
##
|
||||
## XML catalog
|
||||
##
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
CATALOG=/usr/share/sgml/docbook/xmlcatalog
|
||||
|
||||
if [ -w $CATALOG ]
|
||||
then
|
||||
# DocBook XML V4.1.2
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-pub.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
@ -539,9 +750,82 @@ then
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-cyr2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}" $CATALOG
|
||||
|
||||
# DocBook XML V4.2
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-pub.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-grkl.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbpoolx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-box.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/docbookx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-grk3.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsn.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-num.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbcentx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-grk4.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbnotnx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-dia.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-grk2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbgenent.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/dbhierx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsa.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amso.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-cyrl.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-tech.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsc.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/soextblx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/calstblx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-lat1.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsb.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-lat2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-amsr.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}/ent/iso-cyr2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.2-%{version}-%{release}" $CATALOG
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* 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).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user