Blame SPECS/docbook-dtds.spec

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