#
# docbook-dtds.spec %preun
#
Version=1.0
Release=30.1
##
## SGML catalog
##
# Update the centralized catalog corresponding to this version of the DTD
# DocBook V3.0
# DocBook V3.1
# DocBook V4.0
# DocBook V4.1
# DocBook XML V4.1.2
# DocBook V4.2
# DocBook XML V4.2
# DocBook V4.3
# DocBook XML V4.3
# DocBook V4.4
# added by laca:
# DocBook XML V4.4
# added by laca:
# 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.
# Do they need switching around?
then
# Switch those two lines around.
fi
##
## XML catalog
##
if [ -w $CATALOG ]
then
# DocBook XML V4.1.2
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-pub.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-grk1.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/dbpoolx.mod" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-box.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/docbookx.dtd" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-grk3.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-amsn.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-num.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/dbcentx.mod" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-grk4.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/dbnotnx.mod" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-dia.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-grk2.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/dbgenent.mod" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/dbhierx.mod" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-amsa.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-amso.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-cyrl.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-tech.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-amsc.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/soextblx.dtd" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/calstblx.dtd" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-lat1.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-amsb.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-lat2.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-amsr.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}/ent/iso-cyr2.ent" $CATALOG
"xml-dtd-4.1.2-${Version}-${Release}" $CATALOG
# DocBook XML V4.2
"xml-dtd-4.2-${Version}-${Release}/ent/iso-pub.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-grk1.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/dbpoolx.mod" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-box.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/docbookx.dtd" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-grk3.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-amsn.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-num.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/dbcentx.mod" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-grk4.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/dbnotnx.mod" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-dia.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-grk2.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/dbgenent.mod" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/dbhierx.mod" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-amsa.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-amso.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-cyrl.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-tech.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-amsc.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/soextblx.dtd" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/calstblx.dtd" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-lat1.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-amsb.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-lat2.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-amsr.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}/ent/iso-cyr2.ent" $CATALOG
"xml-dtd-4.2-${Version}-${Release}" $CATALOG
# DocBook XML V4.3
"xml-dtd-4.3-${Version}-${Release}/ent/iso-pub.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-grk1.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/dbpoolx.mod" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-box.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/docbookx.dtd" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-grk3.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-amsn.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-num.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/dbcentx.mod" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-grk4.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/dbnotnx.mod" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-dia.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-grk2.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/dbgenent.mod" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/dbhierx.mod" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-amsa.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-amso.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-cyrl.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-tech.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-amsc.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/soextblx.dtd" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/calstblx.dtd" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-lat1.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-amsb.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-lat2.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-amsr.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}/ent/iso-cyr2.ent" $CATALOG
"xml-dtd-4.3-${Version}-${Release}" $CATALOG
# DocBook XML V4.4
"xml-dtd-4.4-${Version}-${Release}/ent/iso-pub.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-grk1.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/dbpoolx.mod" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-box.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/docbookx.dtd" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-grk3.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-amsn.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-num.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/dbcentx.mod" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-grk4.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/dbnotnx.mod" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-dia.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-grk2.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/dbgenent.mod" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/dbhierx.mod" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-amsa.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-amso.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-cyrl.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-tech.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-amsc.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/soextblx.dtd" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/calstblx.dtd" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-lat1.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-amsb.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-lat2.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-amsr.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}/ent/iso-cyr2.ent" $CATALOG
"xml-dtd-4.4-${Version}-${Release}" $CATALOG
fi
#
# docbook-style-dsssl.spec %preun
#
Version=1.79
Release=1
do /usr/bin/install-catalog --remove $centralized /usr/share/sgml/openjade/catalog > /dev/null 2>/dev/null
/usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-${Version}/catalog > /dev/null 2>/dev/null
done
#
# docbook-style-xsl.spec %postun
#
Release=5.1