Blame SPECS/docbook-dtds.spec

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