b58e53
%global openjadever 1.3.2
b58e53
%global version_list "{3,4}.{0,1}-sgml 4.1.2-xml 4.{2,3,4,5}-{sgml,xml} 4.{2,3,4,5}-rng 4.{2,3,4,5}-xsd"
b58e53
%global catalog_list "{3,4}.{0,1}-sgml 4.1.2-xml 4.{2,3,4,5}-{sgml,xml}"
b58e53
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
b58e53
b58e53
Name: docbook-dtds
b58e53
Version: 1.0
b58e53
Release: 79%{?dist}
b58e53
b58e53
Summary: SGML and XML document type definitions for DocBook
b58e53
b58e53
License: Copyright only
b58e53
URL: http://www.oasis-open.org/docbook/
b58e53
b58e53
Obsoletes: docbook-dtd30-sgml < %{version}-%{release}
b58e53
Obsoletes: docbook-dtd31-sgml < %{version}-%{release}
b58e53
Obsoletes: docbook-dtd40-sgml < %{version}-%{release}
b58e53
Obsoletes: docbook-dtd41-sgml < %{version}-%{release}
b58e53
Obsoletes: docbook-dtd412-xml < %{version}-%{release}
b58e53
Provides: docbook-dtd-xml = %{version}-%{release}
b58e53
Provides: docbook-dtd-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd30-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd31-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd40-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd41-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd412-xml = %{version}-%{release}
b58e53
Provides: docbook-dtd42-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd42-xml = %{version}-%{release}
b58e53
Provides: docbook-dtd43-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd43-xml = %{version}-%{release}
b58e53
Provides: docbook-dtd44-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd44-xml = %{version}-%{release}
b58e53
Provides: docbook-dtd45-sgml = %{version}-%{release}
b58e53
Provides: docbook-dtd45-xml = %{version}-%{release}
b58e53
b58e53
Requires(post): /usr/bin/xmlcatalog
b58e53
Requires(postun): /usr/bin/xmlcatalog
b58e53
Requires(post): %{_bindir}/chmod
b58e53
Requires(post): sed
b58e53
Requires(postun): sed
b58e53
Requires: sgml-common
b58e53
Requires: xml-common
b58e53
b58e53
b58e53
BuildArch: noarch
b58e53
Source0: http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
b58e53
Source1: http://www.oasis-open.org/docbook/sgml/3.1/docbk31.zip
b58e53
Source2: http://www.oasis-open.org/docbook/sgml/4.0/docbk40.zip
b58e53
Source3: http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
b58e53
Source4: http://www.oasis-open.org/docbook/xml/4.1.2/docbkx412.zip
b58e53
Source5: http://www.oasis-open.org/docbook/sgml/4.2/docbook-4.2.zip
b58e53
Source6: http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
b58e53
Source7: http://www.docbook.org/sgml/4.3/docbook-4.3.zip
b58e53
Source8: http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
b58e53
Source9: http://www.docbook.org/sgml/4.4/docbook-4.4.zip
b58e53
Source10: http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip
b58e53
Source11: http://www.docbook.org/sgml/4.5/docbook-4.5.zip
b58e53
Source12: http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
b58e53
Source13: http://www.docbook.org/rng/4.2/docbook-rng-4.2.zip
b58e53
Source14: http://www.docbook.org/rng/4.3/docbook-rng-4.3.zip
b58e53
Source15: http://www.docbook.org/rng/4.4/docbook-rng-4.4.zip
b58e53
#compressed from http://www.docbook.org/rng/4.5/ upstream archive unavailable
b58e53
Source16: docbook-rng-4.5.zip
b58e53
Source17: http://www.docbook.org/xsd/4.2/docbook-xsd-4.2.zip
b58e53
Source18: http://www.docbook.org/xsd/4.3/docbook-xsd-4.3.zip
b58e53
Source19: http://www.docbook.org/xsd/4.4/docbook-xsd-4.4.zip
b58e53
#compressed from http://www.docbook.org/xsd/4.5/ upstream archive unavailable
b58e53
Source20: docbook-xsd-4.5.zip
b58e53
#fix old catalog files
b58e53
Patch0: docbook-dtd30-sgml-1.0.catalog.patch
b58e53
Patch1: docbook-dtd31-sgml-1.0.catalog.patch
b58e53
Patch2: docbook-dtd40-sgml-1.0.catalog.patch
b58e53
Patch3: docbook-dtd41-sgml-1.0.catalog.patch
b58e53
Patch4: docbook-dtd42-sgml-1.0.catalog.patch
b58e53
#fix euro sign in 4.2 dtds
b58e53
Patch5: docbook-4.2-euro.patch
b58e53
#Fix ISO entities in 4.3/4.4/4.5 SGML
b58e53
Patch6: docbook-dtds-ents.patch
b58e53
#Use system rewrite for web URL's in sgml catalogs to prevent reading from the network(#478680)
b58e53
Patch7: docbook-sgml-systemrewrite.patch
b58e53
#use XML at the end of public identificators of XML 4.1.2 ISO entities
b58e53
Patch8: docbook-dtd412-entities.patch
b58e53
BuildRequires: unzip
b58e53
b58e53
%description
b58e53
The DocBook Document Type Definition (DTD) describes the syntax of
b58e53
technical documentation texts (articles, books and manual pages).
b58e53
This syntax is XML-compliant and is developed by the OASIS consortium.
b58e53
This package contains SGML and XML versions of the DocBook DTD.
b58e53
b58e53
b58e53
%prep
b58e53
%setup -c -T
b58e53
eval mkdir %{version_list}
b58e53
# DocBook V3.0
b58e53
cd 3.0-sgml
b58e53
unzip %{SOURCE0}
b58e53
%patch0 -p0 -b docbook.cat
b58e53
cd ..
b58e53
b58e53
# DocBook V3.1
b58e53
cd 3.1-sgml
b58e53
unzip %{SOURCE1}
b58e53
%patch1 -p0 -b docbook.cat
b58e53
cd ..
b58e53
b58e53
# DocBook V4.0
b58e53
cd 4.0-sgml
b58e53
unzip %{SOURCE2}
b58e53
%patch2 -p0 -b docbook.cat
b58e53
cd ..
b58e53
b58e53
# DocBook V4.1
b58e53
cd 4.1-sgml
b58e53
unzip %{SOURCE3}
b58e53
%patch3 -p0 -b docbook.cat
b58e53
cd ..
b58e53
b58e53
# DocBook XML V4.1.2
b58e53
cd 4.1.2-xml
b58e53
unzip %{SOURCE4}
b58e53
cd ..
b58e53
b58e53
# DocBook V4.2
b58e53
cd 4.2-sgml
b58e53
unzip %{SOURCE5}
b58e53
%patch4 -p0 -b docbook.cat
b58e53
cd ..
b58e53
b58e53
# DocBook XML V4.2
b58e53
cd 4.2-xml
b58e53
unzip %{SOURCE6}
b58e53
cd ..
b58e53
b58e53
# DocBook V4.3
b58e53
cd 4.3-sgml
b58e53
unzip %{SOURCE7}
b58e53
cd ..
b58e53
b58e53
# DocBook XML V4.3
b58e53
cd 4.3-xml
b58e53
unzip %{SOURCE8}
b58e53
cd ..
b58e53
b58e53
# DocBook V4.4
b58e53
cd 4.4-sgml
b58e53
unzip %{SOURCE9}
b58e53
cd ..
b58e53
b58e53
# DocBook XML V4.4
b58e53
cd 4.4-xml
b58e53
unzip %{SOURCE10}
b58e53
cd ..
b58e53
b58e53
# DocBook v4.5
b58e53
cd 4.5-sgml
b58e53
unzip %{SOURCE11}
b58e53
cd ..
b58e53
b58e53
# DocBook XML v4.5
b58e53
cd 4.5-xml
b58e53
unzip %{SOURCE12}
b58e53
cd ..
b58e53
b58e53
# Docbook RNG v4.2
b58e53
cd 4.2-rng
b58e53
unzip %{SOURCE13}
b58e53
cd ..
b58e53
b58e53
# Docbook RNG v4.3
b58e53
cd 4.3-rng
b58e53
unzip %{SOURCE14}
b58e53
cd ..
b58e53
b58e53
# Docbook RNG v4.4
b58e53
cd 4.4-rng
b58e53
unzip %{SOURCE15}
b58e53
cd ..
b58e53
b58e53
# Docbook RNG v4.5
b58e53
cd 4.5-rng
b58e53
unzip %{SOURCE16}
b58e53
cd ..
b58e53
b58e53
# Docbook XSD v4.2
b58e53
cd 4.2-xsd
b58e53
unzip %{SOURCE17}
b58e53
cd ..
b58e53
b58e53
# Docbook XSD v4.3
b58e53
cd 4.3-xsd
b58e53
unzip %{SOURCE18}
b58e53
cd ..
b58e53
b58e53
# Docbook XSD v4.4
b58e53
cd 4.4-xsd
b58e53
unzip %{SOURCE19}
b58e53
cd ..
b58e53
b58e53
# Docbook XSD v4.5
b58e53
cd 4.5-xsd
b58e53
unzip %{SOURCE20}
b58e53
cd ..
b58e53
b58e53
# Fix € in SGML.
b58e53
%patch5 -p1
b58e53
b58e53
# Fix ISO entities in 4.3/4.4/4.5 SGML
b58e53
%patch6 -p1
b58e53
b58e53
# Rewrite SYSTEM to use local catalog instead web ones (#478680)
b58e53
%patch7 -p1
b58e53
b58e53
# Add XML to the end of public identificators of 4.1.2 XML entities
b58e53
%patch8 -p1
b58e53
b58e53
# Increase NAMELEN (bug #36058, bug #159382).
b58e53
sed -e's,\(NAMELEN\s\+\)44\(\s\*\)\?,\1256,' -i.namelen */docbook.dcl
b58e53
b58e53
# fix of \r\n issue from rpmlint
b58e53
sed -i 's/\r//' */*.txt
b58e53
b58e53
b58e53
if [ `id -u` -eq 0 ]; then
b58e53
  chown -R root:root .
b58e53
  chmod -R a+rX,g-w,o-w .
b58e53
fi
b58e53
b58e53
b58e53
%build
b58e53
b58e53
b58e53
%install
b58e53
# Symlinks
b58e53
mkdir -p $RPM_BUILD_ROOT/etc/sgml
b58e53
for fmt in sgml xml; do
b58e53
  ln -s $fmt-docbook-4.5.cat \
b58e53
     $RPM_BUILD_ROOT/etc/sgml/$fmt-docbook.cat
b58e53
done
b58e53
b58e53
eval set %{version_list}
b58e53
for dir
b58e53
do
b58e53
  cd $dir
b58e53
  fmt=${dir#*-} ver=${dir%%-*}
b58e53
  case $fmt in
b58e53
    sgml)   DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/$fmt-dtd-$ver ;;
b58e53
    xml)    DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/$fmt-dtd-$ver ;;
b58e53
    rng)    DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/$fmt-$ver ;;
b58e53
    xsd)    DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/$fmt-$ver ;;
b58e53
  esac
b58e53
  case $fmt in
b58e53
    sgml)   mkdir -p $DESTDIR ; install *.dcl $DESTDIR ;;
b58e53
    xml)    mkdir -p $DESTDIR/ent ; install ent/* $DESTDIR/ent ;;
b58e53
    rng)    mkdir -p $DESTDIR ; install *.r* $DESTDIR ;;
b58e53
    xsd)    mkdir -p $DESTDIR ; install *.xsd $DESTDIR;;
b58e53
  esac
b58e53
  cd ..
b58e53
done
b58e53
b58e53
eval set %{catalog_list}
b58e53
for dir
b58e53
do
b58e53
  cd $dir
b58e53
  fmt=${dir#*-} ver=${dir%%-*}
b58e53
  DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/$fmt-dtd-$ver
b58e53
  install *.dtd *.mod $DESTDIR
b58e53
  install docbook.cat $DESTDIR/catalog
b58e53
  cd ..
b58e53
  # File for %%ghost
b58e53
  touch $RPM_BUILD_ROOT/etc/sgml/$fmt-docbook-$ver.cat
b58e53
done
b58e53
b58e53
#workaround the missing support for --parents hack in rpm 4.11+
b58e53
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}
b58e53
for i in */*.txt */ChangeLog */README
b58e53
do
b58e53
  cp -pr --parents $i $RPM_BUILD_ROOT%{_pkgdocdir}
b58e53
done
b58e53
b58e53
b58e53
%files
b58e53
#in upstream tarballs there is a lot of files with 0755 permissions
b58e53
#but they don't need to be, 0644 is enough for every file in tarball
b58e53
%{_pkgdocdir}
b58e53
/usr/share/sgml/docbook/*ml-dtd-*
b58e53
/usr/share/sgml/docbook/rng-*
b58e53
/usr/share/sgml/docbook/xsd-*
b58e53
%config(noreplace) /etc/sgml/*ml-docbook.cat
b58e53
%ghost %config(noreplace) /etc/sgml/*ml-docbook-*.cat
b58e53
b58e53
%post
b58e53
catcmd='/usr/bin/xmlcatalog --noout'
b58e53
xmlcatalog=/usr/share/sgml/docbook/xmlcatalog
b58e53
b58e53
## Clean up pre-docbook-dtds mess caused by broken trigger.
b58e53
for v in 3.0 3.1 4.0 4.1 4.2
b58e53
do
b58e53
  if [ -f /etc/sgml/sgml-docbook-$v.cat ]
b58e53
  then
b58e53
    $catcmd --sgml --del /etc/sgml/sgml-docbook-$v.cat \
b58e53
      /usr/share/sgml/openjade-1.3.1/catalog 2>/dev/null
b58e53
  fi
b58e53
done
b58e53
b58e53
# The STYLESHEETS/catalog command is for the case in which the style sheets
b58e53
# were installed after another DTD but before this DTD
b58e53
for STYLESHEETS in /usr/share/sgml/docbook/dsssl-stylesheets-*; do : ; done
b58e53
case $STYLESHEETS in
b58e53
  *-"*") STYLESHEETS= ;;
b58e53
esac
b58e53
eval set %{catalog_list}
b58e53
for dir
b58e53
do
b58e53
  fmt=${dir#*-} ver=${dir%%-*}
b58e53
  sgmldir=/usr/share/sgml/docbook/$fmt-dtd-$ver
b58e53
  ## SGML catalog
b58e53
  # Update the centralized catalog corresponding to this version of the DTD
b58e53
  for cat_dir in /usr/share/sgml/sgml-iso-entities-8879.1986 $sgmldir $STYLESHEETS; do
b58e53
    $catcmd --sgml --add /etc/sgml/$fmt-docbook-$ver.cat $cat_dir/catalog
b58e53
  done
b58e53
  ## XML catalog
b58e53
  if [ $fmt = xml -a -w $xmlcatalog ]; then
b58e53
    while read f desc; do
b58e53
      case $ver in 4.[45]) f=${f/-/} ;; esac
b58e53
      $catcmd --add public "$desc" $sgmldir/$f $xmlcatalog
b58e53
    done <
b58e53
      ent/iso-pub.ent	ISO 8879:1986//ENTITIES Publishing//EN
b58e53
      ent/iso-grk1.ent	ISO 8879:1986//ENTITIES Greek Letters//EN
b58e53
      dbpoolx.mod	-//OASIS//ELEMENTS DocBook XML Information Pool V$ver//EN
b58e53
      ent/iso-box.ent	ISO 8879:1986//ENTITIES Box and Line Drawing//EN
b58e53
      docbookx.dtd	-//OASIS//DTD DocBook XML V$ver//EN
b58e53
      ent/iso-grk3.ent	ISO 8879:1986//ENTITIES Greek Symbols//EN
b58e53
      ent/iso-amsn.ent	ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN
b58e53
      ent/iso-num.ent	ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN
b58e53
      dbcentx.mod	-//OASIS//ENTITIES DocBook XML Character Entities V$ver//EN
b58e53
      ent/iso-grk4.ent	ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN
b58e53
      dbnotnx.mod	-//OASIS//ENTITIES DocBook XML Notations V$ver//EN
b58e53
      ent/iso-dia.ent	ISO 8879:1986//ENTITIES Diacritical Marks//EN
b58e53
      ent/iso-grk2.ent	ISO 8879:1986//ENTITIES Monotoniko Greek//EN
b58e53
      dbgenent.mod	-//OASIS//ENTITIES DocBook XML Additional General Entities V$ver//EN
b58e53
      dbhierx.mod	-//OASIS//ELEMENTS DocBook XML Document Hierarchy V$ver//EN
b58e53
      ent/iso-amsa.ent	ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN
b58e53
      ent/iso-amso.ent	ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN
b58e53
      ent/iso-cyr1.ent	ISO 8879:1986//ENTITIES Russian Cyrillic//EN
b58e53
      ent/iso-tech.ent	ISO 8879:1986//ENTITIES General Technical//EN
b58e53
      ent/iso-amsc.ent	ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN
b58e53
      soextblx.dtd	-//OASIS//DTD XML Exchange Table Model 19990315//EN
b58e53
      calstblx.dtd	-//OASIS//DTD DocBook XML CALS Table Model V$ver//EN
b58e53
      ent/iso-lat1.ent	ISO 8879:1986//ENTITIES Added Latin 1//EN
b58e53
      ent/iso-amsb.ent	ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN
b58e53
      ent/iso-lat2.ent	ISO 8879:1986//ENTITIES Added Latin 2//EN
b58e53
      ent/iso-amsr.ent	ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN
b58e53
      ent/iso-cyr2.ent	ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN
b58e53
ENDENT
b58e53
    for f in System URI; do
b58e53
      $catcmd --add rewrite$f "http://www.oasis-open.org/docbook/xml/$ver" \
b58e53
	$sgmldir $xmlcatalog
b58e53
    done
b58e53
  fi
b58e53
done
b58e53
b58e53
# Historic versions of this scriptlet contained the following comment:
b58e53
# <quote>
b58e53
# Fix up SGML super catalog so that there isn't an XML DTD before an
b58e53
# SGML one.  We need to do this (*sigh*) because xmlcatalog messes up
b58e53
# the order of the lines, and SGML tools don't like to see XML things
b58e53
# they aren't expecting.
b58e53
# </quote>
b58e53
# But the code that followed just found the first XML DTD and the first
b58e53
# SGML DTD, swappinmg these two lines if the XML one preceded.
b58e53
# But that only ensures that there is an SGML DTD before all XML ones.
b58e53
# No one complained, so either this was enough, or the buggy SGML tools
b58e53
# are long dead, or their users do not use bugzilla.
b58e53
# Anyway, the following code, introduced in 1.0-46, does better: it ensures
b58e53
# that all XML DTDs are after all SGML ones, by moving them to the end.
b58e53
sed -ni '
b58e53
  /xml-docbook/ H
b58e53
  /xml-docbook/ !p
b58e53
  $ {
b58e53
          g
b58e53
          s/^\n//p
b58e53
  }
b58e53
  ' /etc/sgml/catalog
b58e53
b58e53
# Finally, make sure everything in /etc/sgml is readable!
b58e53
%{_bindir}/chmod a+r /etc/sgml/*
b58e53
b58e53
%postun
b58e53
# remove entries only on removal of package
b58e53
if [ "$1" = 0 ]; then
b58e53
  catcmd='/usr/bin/xmlcatalog --noout'
b58e53
  xmlcatalog=/usr/share/sgml/docbook/xmlcatalog
b58e53
  entities="
b58e53
ent/iso-pub.ent
b58e53
ent/iso-grk1.ent
b58e53
dbpoolx.mod
b58e53
ent/iso-box.ent
b58e53
docbookx.dtd
b58e53
ent/iso-grk3.ent
b58e53
ent/iso-amsn.ent
b58e53
ent/iso-num.ent
b58e53
dbcentx.mod
b58e53
ent/iso-grk4.ent
b58e53
dbnotnx.mod
b58e53
ent/iso-dia.ent
b58e53
ent/iso-grk2.ent
b58e53
dbgenent.mod
b58e53
dbhierx.mod
b58e53
ent/iso-amsa.ent
b58e53
ent/iso-amso.ent
b58e53
ent/iso-cyr1.ent
b58e53
ent/iso-tech.ent
b58e53
ent/iso-amsc.ent
b58e53
soextblx.dtd
b58e53
calstblx.dtd
b58e53
ent/iso-lat1.ent
b58e53
ent/iso-amsb.ent
b58e53
ent/iso-lat2.ent
b58e53
ent/iso-amsr.ent
b58e53
ent/iso-cyr2.ent
b58e53
  "
b58e53
  eval set %{catalog_list}
b58e53
  for dir
b58e53
  do
b58e53
    fmt=${dir#*-} ver=${dir%%-*}
b58e53
    sgmldir=/usr/share/sgml/docbook/$fmt-dtd-$ver
b58e53
    ## SGML catalog
b58e53
    # Update the centralized catalog corresponding to this version of the DTD
b58e53
    $catcmd --sgml --del /etc/sgml/catalog /etc/sgml/$fmt-docbook-$ver.cat >/dev/null
b58e53
    rm -f /etc/sgml/$fmt-docbook-$ver.cat
b58e53
    ## XML catalog
b58e53
    if [ $fmt = xml -a -w $xmlcatalog ]; then
b58e53
      for f in $entities; do
b58e53
        case $ver in 4.[45]) f=${f/-/} ;; esac
b58e53
        $catcmd --del $sgmldir/$f $xmlcatalog >/dev/null
b58e53
      done
b58e53
      $catcmd --del $sgmldir $xmlcatalog >/dev/null
b58e53
    fi
b58e53
  done
b58e53
b58e53
  # See the comment attached to this command in the %%post scriptlet.
b58e53
  sed -ni '
b58e53
  /xml-docbook/ H
b58e53
  /xml-docbook/ !p
b58e53
  $ {
b58e53
          g
b58e53
          s/^\n//p
b58e53
  }
b58e53
    ' /etc/sgml/catalog
b58e53
fi
b58e53
b58e53
%triggerin -- openjade >= %{openjadever}
b58e53
eval set %{catalog_list}
b58e53
for dir
b58e53
do
b58e53
  fmt=${dir#*-} ver=${dir%%-*}
b58e53
  /usr/bin/xmlcatalog --sgml --noout --add /etc/sgml/$fmt-docbook-$ver.cat \
b58e53
    /usr/share/sgml/openjade-%{openjadever}/catalog
b58e53
done
b58e53
b58e53
%triggerun -- openjade >= %{openjadever}
b58e53
[ $2 = 0 ] || exit 0
b58e53
eval set %{catalog_list}
b58e53
for dir
b58e53
do
b58e53
  fmt=${dir#*-} ver=${dir%%-*}
b58e53
  /usr/bin/xmlcatalog --sgml --noout --del /etc/sgml/$fmt-docbook-$ver.cat \
b58e53
    /usr/share/sgml/openjade-%{openjadever}/catalog
b58e53
done
b58e53
b58e53
%changelog
b58e53
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0-79
b58e53
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b58e53
  Related: rhbz#1991688
b58e53
b58e53
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.0-78
b58e53
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b58e53
b58e53
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-77
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b58e53
b58e53
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-76
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b58e53
b58e53
* Tue Feb 05 2020 Ondrej Vasik <ovasik@redhat.com> - 1.0-75
b58e53
- do not print an error when uninstalling and no other catalogs 
b58e53
  are present (#1357273)
b58e53
b58e53
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-74
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b58e53
b58e53
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-73
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b58e53
b58e53
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-72
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b58e53
b58e53
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-71
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b58e53
b58e53
* Mon Jun 11 2018 Ondrej Vasik <ovasik@redhat.com> - 1.0.70
b58e53
- drop replacement of DTDDECL statements for old sgml catalogs (#1489451)
b58e53
b58e53
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-69
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b58e53
b58e53
* Tue Oct 31 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.0-68
b58e53
- Use /usr/bin instead of /bin in Requires
b58e53
b58e53
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-67
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b58e53
b58e53
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-66
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b58e53
b58e53
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-65
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b58e53
b58e53
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-64
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b58e53
b58e53
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-63
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b58e53
b58e53
* Mon Aug 19 2013 Ondrej Vasik <ovasik@redhat.com> - 1.0-62
b58e53
- package Relax NG schema format (#839665)
b58e53
- package W3C XML (XSD) schema format
b58e53
b58e53
* Tue Aug 06 2013 Ondrej Vasik <ovasik@redhat.com> - 1.0-61
b58e53
- use pkgdocdir variable when available (#993727)
b58e53
b58e53
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-60
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b58e53
b58e53
* Thu Feb 21 2013 Ondrej Vasik <ovasik@redhat.com> - 1.0-59
b58e53
- workaround incompatible change in rpm (causing FTBFS)
b58e53
b58e53
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-58
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b58e53
b58e53
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-57
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b58e53
b58e53
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-56
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b58e53
b58e53
* Tue May 17 2011 Ondrej Vasik <ovasik@redhat.com> - 1.0-55
b58e53
- fix typo in 4.5 xml dtd catalog
b58e53
b58e53
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-54
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b58e53
b58e53
* Tue May 18 2010 Ondrej Vasik <ovasik@redhat.com> - 1.0-53
b58e53
- post and postun scriptlet requires sed (#593078)
b58e53
- use standard locations for catalog.xml(#591173)
b58e53
b58e53
* Wed Mar 03 2010 Ondrej Vasik <ovasik@redhat.com> - 1.0-52
b58e53
- remove explicit lib dependency (#225700)
b58e53
b58e53
* Wed Mar 03 2010 Ondrej Vasik <ovasik@redhat.com> - 1.0-51
b58e53
- fix Merge Review comments (#225700) - unversion requires,
b58e53
  fix buildroot
b58e53
b58e53
* Thu Dec 17 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-50
b58e53
- comment patches
b58e53
- License: Copyright only
b58e53
b58e53
* Tue Oct 27 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-49
b58e53
- do not obsolete self
b58e53
b58e53
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-48
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b58e53
b58e53
* Mon May 11 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-47
b58e53
- add requires(post) for /bin/chmod (#498680)
b58e53
b58e53
* Wed Apr  8 2009 Stepan Kasal <skasal@redhat.com> - 1.0-46
b58e53
- remove perl dependency (#462997)
b58e53
- make %%install and the scriptlets more compact
b58e53
b58e53
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-45
b58e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b58e53
b58e53
* Thu Feb 19 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0.44
b58e53
- fix ISO entities for 4.5 SGML, use XML at the end of
b58e53
  public identificators of XML 4.1.2 ISO entities
b58e53
b58e53
* Thu Feb 19 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-43
b58e53
- register sgml catalogs before xml catalogs in openjade
b58e53
  (#486257)
b58e53
b58e53
* Thu Feb 05 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-42
b58e53
- Use SYSTEM rewrite for web URL's in sgml catalogs to
b58e53
  prevent reading from the network(#478680)
b58e53
b58e53
* Fri Sep 26 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-41
b58e53
- Removed openjade requirement - registration reworked to
b58e53
  triggers(#234345)
b58e53
b58e53
* Wed Sep 24 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-40
b58e53
- Fix wrong filenames for xml-dtd-4.4 and xml-dtd-4.5
b58e53
  iso entities(#461206)
b58e53
- /ent/iso-cyr1.ent now correctly registered in xml catalog
b58e53
  (there was /ent/iso-cyrl.ent typo)
b58e53
- fixed broken unregistration of xml-dtds from catalog
b58e53
  (missing CAT_DIR variable)
b58e53
b58e53
* Fri Aug 29 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-39
b58e53
- rebuild with F9 spec file to fix some heavy-weight black
b58e53
  magic causing failures of sgml documents
b58e53
b58e53
* Fri Jul 11 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-38
b58e53
- fixed typo in post scriptlet(causing mishandling of DocBook
b58e53
  4.4 and 4.5 DTDs,#453513)
b58e53
b58e53
* Wed Jul 09 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-37
b58e53
- use full paths in xmlcatalog registration
b58e53
b58e53
* Tue May 13 2008 Ondrej Vasik <ovasik@redhat.com> - 1.0-36
b58e53
- changed License(#445008)
b58e53
b58e53
* Mon Nov 26 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-35
b58e53
- fixed bug causing typo in spec file(#397651)
b58e53
b58e53
* Tue Oct 23 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-34
b58e53
- corrected most of rpmlint issues
b58e53
- (PreReq, tab/spaces , wrong permissions on some files,
b58e53
-  wrong file end encoding of txt files, non config files
b58e53
-  in /etc, some requires issues, versioned provides and
b58e53
-  obsoletes, fixed license tag)
b58e53
b58e53
* Fri Oct 19 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-33
b58e53
- fixed wrong attributes for docs(#326581)
b58e53
b58e53
* Mon Oct  1 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-32
b58e53
- DocBook 4.5 SGML and XML.(#312941)
b58e53
- added dist tag
b58e53
b58e53
* Wed Jun 20 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0-31
b58e53
- .cat files touched and ghosted to be owned by package
b58e53
- (bug #193475)
b58e53
b58e53
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-30.1
b58e53
- rebuild
b58e53
b58e53
* Tue Dec 13 2005 Tim Waugh <twaugh@redhat.com> 1.0-30
b58e53
- Fix ISO entities in 4.3/4.4 SGML.
b58e53
b58e53
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
b58e53
- rebuilt
b58e53
b58e53
* Fri Oct 21 2005 Tim Waugh <twaugh@redhat.com> 1.0-29
b58e53
- Scriptlet fix (bug #171229).
b58e53
b58e53
* Thu Oct 13 2005 Tim Waugh <twaugh@redhat.com> 1.0-28
b58e53
- Fixed last fix (bug #159382).
b58e53
b58e53
* Thu Jun  2 2005 Tim Waugh <twaugh@redhat.com> 1.0-27
b58e53
- Increase NAMELEN (bug #36058, bug #159382).
b58e53
b58e53
* Tue Feb  1 2005 Tim Waugh <twaugh@redhat.com> 1.0-26
b58e53
- DocBook 4.4 SGML and XML.
b58e53
b58e53
* Mon Sep 13 2004 Tim Waugh <twaugh@redhat.com> 1.0-25
b58e53
- DocBook 4.3 SGML and XML (bug #131861).
b58e53
b58e53
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com> 1.0-24
b58e53
- Use ':' instead of '.' as separator for chown.
b58e53
b58e53
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
b58e53
- rebuilt
b58e53
b58e53
* Wed Aug  6 2003 Tim Waugh <twaugh@redhat.com> 1.0-22.1
b58e53
- Rebuilt.
b58e53
b58e53
* Wed Aug  6 2003 Tim Waugh <twaugh@redhat.com> 1.0-22
b58e53
- More work-arounds for buggy xmlcatalog.
b58e53
b58e53
* Tue Jul 15 2003 Tim Waugh <twaugh@redhat.com> 1.0-21.1
b58e53
- Rebuilt.
b58e53
b58e53
* Tue Jul 15 2003 Tim Waugh <twaugh@redhat.com> 1.0-21
b58e53
- Fix € in SGML tools.
b58e53
b58e53
* Wed May 28 2003 Tim Waugh <twaugh@redhat.com> 1.0-20
b58e53
- Fix summary and description (bug #73005).
b58e53
b58e53
* Fri Mar 28 2003 Tim Waugh <twaugh@redhat.com> 1.0-19
b58e53
- Use --parents in %%doc.
b58e53
- Fix %%postun scriptlet.
b58e53
b58e53
* Fri Mar 14 2003 Tim Waugh <twaugh@redhat.com> 1.0-18
b58e53
- Use Requires:, not Conflicts:, for openjade.
b58e53
- Require openjade 1.3.2.
b58e53
b58e53
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.0-17
b58e53
- rebuilt
b58e53
b58e53
* Fri Dec 20 2002 Tim Waugh <twaugh@redhat.com> 1.0-16
b58e53
- Fix typos in scriplets (bug #80109).
b58e53
b58e53
* Wed Nov 20 2002 Tim Powers <timp@redhat.com> 1.0-15
b58e53
- rebuild in current collinst
b58e53
b58e53
* Mon Jul 29 2002 Tim Waugh <twaugh@redhat.com> 1.0-14
b58e53
- Fix typo in XML catalog (Eric Raymond).
b58e53
b58e53
* Tue Jul 23 2002 Tim Waugh <twaugh@redhat.com> 1.0-13
b58e53
- Provide docbook-dtd42-sgml and docbook-dtd42-xml.
b58e53
b58e53
* Thu Jul 18 2002 Tim Waugh <twaugh@redhat.com> 1.0-12
b58e53
- Fix up SGML super catalog if necessary.
b58e53
b58e53
* Wed Jul 17 2002 Tim Waugh <twaugh@redhat.com> 1.0-11
b58e53
- Add DocBook V4.2.
b58e53
b58e53
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.0-10
b58e53
- automated rebuild
b58e53
b58e53
* Thu May 23 2002 Tim Powers <timp@redhat.com> 1.0-9
b58e53
- automated rebuild
b58e53
b58e53
* Thu Mar 14 2002 Tim Waugh <twaugh@redhat.com> 1.0-8
b58e53
- Allow for shared /usr/share (bug #61147).
b58e53
b58e53
* Tue Mar 12 2002 Tim Waugh <twaugh@redhat.com> 1.0-7
b58e53
- Make sure that the config files are readable.
b58e53
b58e53
* Fri Mar  8 2002 Tim Waugh <twaugh@redhat.com> 1.0-6
b58e53
- Make %%post scriptlet quiet (bug #60820).
b58e53
b58e53
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-5
b58e53
- Make sure to clean up old catalog files.
b58e53
b58e53
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-3
b58e53
- Rebuild in new environment.
b58e53
b58e53
* Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.0-2
b58e53
- Prepare for openjade 1.3.1.
b58e53
b58e53
* Thu Jan 17 2002 Tim Waugh <twaugh@redhat.com> 1.0-1
b58e53
- Merged all the DTD packages into one (bug #58448).
b58e53
- Use /usr/share/sgml exclusively.
b58e53
- Prevent catalog files from disappearing on upgrade (bug #58463).
b58e53
b58e53
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
b58e53
- automated rebuild
b58e53
b58e53
* Mon Nov  5 2001 Tim Waugh <twaugh@redhat.com> 1.0-8
b58e53
- Hmm, still need to depend on sgml-common for /etc/sgml.
b58e53
b58e53
* Mon Nov  5 2001 Tim Waugh <twaugh@redhat.com> 1.0-7
b58e53
- Use xmlcatalog (libxml2) instead of install-catalog (sgml-common) in
b58e53
  scriptlets.
b58e53
- Conflict with install-catalog if it can't handle quotes in catalogs.
b58e53
- Use release number in centralized catalog name, so that the scriptlets
b58e53
  work properly.
b58e53
b58e53
* Wed Oct 10 2001 Tim Waugh <twaugh@redhat.com> 1.0-6
b58e53
- Change some Requires: to PreReq:s (bug #54507).
b58e53
b58e53
* Mon Oct  8 2001 Tim Waugh <twaugh@redhat.com> 1.0-5
b58e53
- Use release number in the installed directory name, so that the
b58e53
  package scripts work.
b58e53
b58e53
* Sat Oct  6 2001 Tim Waugh <twaugh@redhat.com> 1.0-4
b58e53
- Restore the /etc/sgml/catalog manipulation again.
b58e53
- Oops, fix DTD path.
b58e53
b58e53
* Sat Oct  6 2001 Tim Waugh <twaugh@redhat.com> 1.0-2
b58e53
- Require xml-common.  Use xmlcatalog.
b58e53
- Move files to /usr/share/xml.
b58e53
b58e53
* Tue Jun 12 2001 Tim Waugh <twaugh@redhat.com> 1.0-1
b58e53
- Build for Red Hat Linux.
b58e53
b58e53
* Sat Jun 09 2001 Chris Runge <crunge@pobox.com>
b58e53
- Provides: docbook-dtd-xml (not docbook-dtd-sgml)
b58e53
- undo catalog patch and dbcentx patch (this resulted in an effectively
b58e53
  broken DTD when the document was processed with XSL stylesheets); added a
b58e53
  symbolic link to retain docbook.cat -> catalog; added ent
b58e53
- added ChangeLog to doc
b58e53
b58e53
* Fri Jun 08 2001 Chris Runge <crunge@pobox.com>
b58e53
- created a 4.1.2 version
b58e53
- update required a change to OTHERCAT in postun
b58e53
- update required a change to the Makefile patch (no dbgenent.ent any more,
b58e53
  apparently)
b58e53
b58e53
* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
b58e53
- Scripts require fileutils.
b58e53
- Make scripts quieter.
b58e53
b58e53
* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
b58e53
- Don't play so many macro games.
b58e53
- Don't use 'rpm' in post scripts.
b58e53
- Be sure to own xml-dtd-4.1 directory.
b58e53
b58e53
* Sun Jan 14 2001 Tim Waugh <twaugh@redhat.com>
b58e53
- Change requirement on /usr/bin/install-catalog to sgml-common.
b58e53
b58e53
* Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com>
b58e53
- Change group.
b58e53
- Use %%{_tmppath}.
b58e53
- Correct typo.
b58e53
- rm before install
b58e53
- openjade not jade.
b58e53
- Build requires unzip.
b58e53
- Require install-catalog for post and postun.
b58e53
- Change Copyright: to License:.
b58e53
- Remove Packager: line.
b58e53
b58e53
* Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com>
b58e53
- Based on Eric Bischoff's new-trials packages.