Blame SPECS/docbook-dtds.spec

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