auto-import changelog data from docbook-dtds-1.0-7.src.rpm
Tue Mar 12 2002 Tim Waugh <twaugh@redhat.com> 1.0-7 - Make sure that the config files are readable. Fri Mar 08 2002 Tim Waugh <twaugh@redhat.com> 1.0-6 - Make %post scriptlet quiet (bug #60820). Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-5 - Make sure to clean up old catalog files. Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-3 - Rebuild in new environment. Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.0-2 - Prepare for openjade 1.3.1. Thu Jan 17 2002 Tim Waugh <twaugh@redhat.com> 1.0-1 - Merged all the DTD packages into one (bug #58448). - Use /usr/share/sgml exclusively. - Prevent catalog files from disappearing on upgrade (bug #58463). Wed Jan 09 2002 Tim Powers <timp@redhat.com> - automated rebuild Mon Nov 05 2001 Tim Waugh <twaugh@redhat.com> 1.0-8 - Hmm, still need to depend on sgml-common for /etc/sgml. Mon Nov 05 2001 Tim Waugh <twaugh@redhat.com> 1.0-7 - Use xmlcatalog (libxml2) instead of install-catalog (sgml-common) in scriptlets. - Conflict with install-catalog if it can't handle quotes in catalogs. - Use release number in centralized catalog name, so that the scriptlets work properly. Wed Oct 10 2001 Tim Waugh <twaugh@redhat.com> 1.0-6 - Change some Requires: to PreReq:s (bug #54507). Mon Oct 08 2001 Tim Waugh <twaugh@redhat.com> 1.0-5 - Use release number in the installed directory name, so that the package scripts work. Sat Oct 06 2001 Tim Waugh <twaugh@redhat.com> 1.0-4 - Restore the /etc/sgml/catalog manipulation again. - Oops, fix DTD path. Sat Oct 06 2001 Tim Waugh <twaugh@redhat.com> 1.0-2 - Require xml-common. Use xmlcatalog. - Move files to /usr/share/xml. Tue Jun 12 2001 Tim Waugh <twaugh@redhat.com> 1.0-1 - Build for Red Hat Linux. Sat Jun 09 2001 Chris Runge <crunge@pobox.com> - Provides: docbook-dtd-xml (not docbook-dtd-sgml) - undo catalog patch and dbcentx patch (this resulted in an effectively broken DTD when the document was processed with XSL stylesheets); added a symbolic link to retain docbook.cat -> catalog; added ent - added ChangeLog to doc Fri Jun 08 2001 Chris Runge <crunge@pobox.com> - created a 4.1.2 version - update required a change to OTHERCAT in postun - update required a change to the Makefile patch (no dbgenent.ent any more, apparently) Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com> - Scripts require fileutils. - Make scripts quieter. Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com> - Don't play so many macro games. - Don't use 'rpm' in post scripts. - Be sure to own xml-dtd-4.1 directory. Sun Jan 14 2001 Tim Waugh <twaugh@redhat.com> - Change requirement on /usr/bin/install-catalog to sgml-common. Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com> - Change group. - Use %{_tmppath}. - Correct typo. - rm before install - openjade not jade. - Build requires unzip. - Require install-catalog for post and postun. - Change Copyright: to License:. - Remove Packager: line. Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com> - Based on Eric Bischoff's new-trials packages.
This commit is contained in:
parent
c43040a08d
commit
94a3133f58
@ -0,0 +1,5 @@
|
||||
docbk30.zip
|
||||
docbk31.zip
|
||||
docbk40.zip
|
||||
docbk41.zip
|
||||
docbkx412.zip
|
41
docbook-dtd30-sgml-1.0.catalog.patch
Normal file
41
docbook-dtd30-sgml-1.0.catalog.patch
Normal file
@ -0,0 +1,41 @@
|
||||
--- docbook.cat Tue Dec 10 16:35:22 1996
|
||||
+++ catalog Mon Jun 5 11:08:34 2000
|
||||
@@ -27,7 +27,7 @@
|
||||
-- ...................................................................... --
|
||||
-- SGML declaration associated with DocBook ............................. --
|
||||
|
||||
-DTDDECL "-//Davenport//DTD DocBook V3.0//EN" "docbook.dcl"
|
||||
+SGMLDECL "docbook.dcl"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
@@ -41,29 +41,6 @@
|
||||
PUBLIC "-//Davenport//ELEMENTS DocBook Information Pool V3.0//EN" "dbpool.mod"
|
||||
PUBLIC "-//Davenport//ELEMENTS DocBook Document Hierarchy V3.0//EN" "dbhier.mod"
|
||||
PUBLIC "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" "dbgenent.mod"
|
||||
-
|
||||
- -- ...................................................................... --
|
||||
- -- ISO entity sets ...................................................... --
|
||||
-
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
|
||||
|
||||
-- End of catalog data for DocBook V3.0 ................................. --
|
||||
-- ...................................................................... --
|
41
docbook-dtd31-sgml-1.0.catalog.patch
Normal file
41
docbook-dtd31-sgml-1.0.catalog.patch
Normal file
@ -0,0 +1,41 @@
|
||||
--- docbook.cat Tue Feb 2 06:53:32 1999
|
||||
+++ catalog Thu May 25 11:45:01 2000
|
||||
@@ -19,7 +19,7 @@
|
||||
-- ...................................................................... --
|
||||
-- SGML declaration associated with DocBook ............................. --
|
||||
|
||||
-DTDDECL "-//OASIS//DTD DocBook V3.1//EN" "docbook.dcl"
|
||||
+SGMLDECL "docbook.dcl"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
@@ -35,29 +35,6 @@
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V3.1//EN" "dbgenent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V3.1//EN" "dbnotn.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V3.1//EN" "dbcent.mod"
|
||||
-
|
||||
- -- ...................................................................... --
|
||||
- -- ISO entity sets ...................................................... --
|
||||
-
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
|
||||
|
||||
-- End of catalog data for DocBook V3.1 ................................. --
|
||||
-- ...................................................................... --
|
41
docbook-dtd40-sgml-1.0.catalog.patch
Normal file
41
docbook-dtd40-sgml-1.0.catalog.patch
Normal file
@ -0,0 +1,41 @@
|
||||
--- docbook.cat Mon May 22 22:38:05 2000
|
||||
+++ catalog Mon May 22 22:12:36 2000
|
||||
@@ -19,7 +19,7 @@
|
||||
-- ...................................................................... --
|
||||
-- SGML declaration associated with DocBook ............................. --
|
||||
|
||||
-DTDDECL "-//OASIS//DTD DocBook V4.0//EN" "docbook.dcl"
|
||||
+SGMLDECL "docbook.dcl"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
@@ -35,29 +35,6 @@
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.0//EN" "dbgenent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.0//EN" "dbnotn.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.0//EN" "dbcent.mod"
|
||||
-
|
||||
- -- ...................................................................... --
|
||||
- -- ISO entity sets ...................................................... --
|
||||
-
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
|
||||
|
||||
-- End of catalog data for DocBook V4.0 ................................. --
|
||||
-- ...................................................................... --
|
41
docbook-dtd41-sgml-1.0.catalog.patch
Normal file
41
docbook-dtd41-sgml-1.0.catalog.patch
Normal file
@ -0,0 +1,41 @@
|
||||
--- docbook.cat Mon May 22 22:38:05 2000
|
||||
+++ catalog Mon May 22 22:12:36 2000
|
||||
@@ -19,7 +19,7 @@
|
||||
-- ...................................................................... --
|
||||
-- SGML declaration associated with DocBook ............................. --
|
||||
|
||||
-DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "docbook.dcl"
|
||||
+SGMLDECL "docbook.dcl"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
@@ -35,29 +35,6 @@
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" "dbgenent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" "dbcent.mod"
|
||||
-
|
||||
- -- ...................................................................... --
|
||||
- -- ISO entity sets ...................................................... --
|
||||
-
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
|
||||
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
|
||||
|
||||
-- End of catalog data for DocBook V4.1 ................................. --
|
||||
-- ...................................................................... --
|
626
docbook-dtds.spec
Normal file
626
docbook-dtds.spec
Normal file
@ -0,0 +1,626 @@
|
||||
Name: docbook-dtds
|
||||
Version: 1.0
|
||||
Release: 7
|
||||
Group: Applications/Text
|
||||
|
||||
Summary: XML document type definition for DocBook 4.1.2
|
||||
|
||||
License: Distributable
|
||||
URL: http://www.oasis-open.org/docbook/
|
||||
|
||||
Obsoletes: docbook-dtd30-sgml docbook-dtd31-sgml
|
||||
Obsoletes: docbook-dtd40-sgml docbook-dtd41-sgml
|
||||
Obsoletes: docbook-dtd412-xml
|
||||
|
||||
Provides: docbook-dtd-xml docbook-dtd-sgml
|
||||
Provides: docbook-dtd30-sgml docbook-dtd31-sgml
|
||||
Provides: docbook-dtd40-sgml docbook-dtd41-sgml
|
||||
Provides: docbook-dtd412-xml
|
||||
|
||||
PreReq: xml-common fileutils
|
||||
PreReq: libxml2 >= 2.4.8
|
||||
# If upgrading, the old package's postun scriptlet may use install-catalog
|
||||
# to remove its entries. xmlcatalog (which this package uses) adds quotes
|
||||
# to the catalog files, and install-catalog only handles this in 0.6.3-4 or
|
||||
# later.
|
||||
PreReq: sgml-common >= 0.6.3-4
|
||||
# We provide the directory layout expected by 0.6.3-5 or later of
|
||||
# xml-common. Earlier versions won't understand.
|
||||
PreReq: xml-common >= 0.6.3-8
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
|
||||
BuildArch: noarch
|
||||
Source0: http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
|
||||
Source1: http://www.oasis-open.org/docbook/sgml/3.1/docbk31.zip
|
||||
Source2: http://www.oasis-open.org/docbook/sgml/4.0/docbk40.zip
|
||||
Source3: http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
|
||||
Source4: http://www.oasis-open.org/docbook/xml/4.1.2/docbkx412.zip
|
||||
Patch0: docbook-dtd30-sgml-1.0.catalog.patch
|
||||
Patch1: docbook-dtd31-sgml-1.0.catalog.patch
|
||||
Patch2: docbook-dtd40-sgml-1.0.catalog.patch
|
||||
Patch3: docbook-dtd41-sgml-1.0.catalog.patch
|
||||
BuildRequires: unzip
|
||||
|
||||
%define openjadever 1.3.1
|
||||
Conflicts: openjade < %{openjadever}
|
||||
Conflicts: openjade > %{openjadever}
|
||||
|
||||
%description
|
||||
The DocBook Document Type Definition (DTD) describes the syntax of
|
||||
technical documentation texts (articles, books and manual pages).
|
||||
This syntax is XML-compliant and is developed by the OASIS consortium.
|
||||
This package contains SGML and XML versions of the DocBook DTD up to
|
||||
and including version 4.1.2.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -c -T
|
||||
# DocBook V3.0
|
||||
mkdir 3.0-sgml
|
||||
cd 3.0-sgml
|
||||
unzip %{SOURCE0}
|
||||
patch -b docbook.cat %{PATCH0}
|
||||
cd ..
|
||||
|
||||
# DocBook V3.1
|
||||
mkdir 3.1-sgml
|
||||
cd 3.1-sgml
|
||||
unzip %{SOURCE1}
|
||||
patch -b docbook.cat %{PATCH1}
|
||||
cd ..
|
||||
|
||||
# DocBook V4.0
|
||||
mkdir 4.0-sgml
|
||||
cd 4.0-sgml
|
||||
unzip %{SOURCE2}
|
||||
patch -b docbook.cat %{PATCH2}
|
||||
cd ..
|
||||
|
||||
# DocBook V4.1
|
||||
mkdir 4.1-sgml
|
||||
cd 4.1-sgml
|
||||
unzip %{SOURCE3}
|
||||
patch -b docbook.cat %{PATCH3}
|
||||
cd ..
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
mkdir 4.1.2-xml
|
||||
cd 4.1.2-xml
|
||||
unzip %{SOURCE4}
|
||||
cd ..
|
||||
|
||||
if [ `id -u` -eq 0 ]; then
|
||||
chown -R root.root .
|
||||
chmod -R a+rX,g-w,o-w .
|
||||
fi
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# DocBook V3.0
|
||||
cd 3.0-sgml
|
||||
DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/sgml-dtd-3.0-%{version}-%{release}
|
||||
mkdir -p $DESTDIR
|
||||
install *.dcl $DESTDIR
|
||||
install docbook.cat $DESTDIR/catalog
|
||||
install *.dtd $DESTDIR
|
||||
install *.mod $DESTDIR
|
||||
cd ..
|
||||
|
||||
# DocBook V3.1
|
||||
cd 3.1-sgml
|
||||
DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/sgml-dtd-3.1-%{version}-%{release}
|
||||
mkdir -p $DESTDIR
|
||||
install *.dcl $DESTDIR
|
||||
install docbook.cat $DESTDIR/catalog
|
||||
install *.dtd $DESTDIR
|
||||
install *.mod $DESTDIR
|
||||
cd ..
|
||||
|
||||
# DocBook V4.0
|
||||
cd 4.0-sgml
|
||||
DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/sgml-dtd-4.0-%{version}-%{release}
|
||||
mkdir -p $DESTDIR
|
||||
install *.dcl $DESTDIR
|
||||
install docbook.cat $DESTDIR/catalog
|
||||
install *.dtd $DESTDIR
|
||||
install *.mod $DESTDIR
|
||||
cd ..
|
||||
|
||||
# DocBook V4.1
|
||||
cd 4.1-sgml
|
||||
DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/sgml-dtd-4.1-%{version}-%{release}
|
||||
mkdir -p $DESTDIR
|
||||
install *.dcl $DESTDIR
|
||||
install docbook.cat $DESTDIR/catalog
|
||||
install *.dtd $DESTDIR
|
||||
install *.mod $DESTDIR
|
||||
cd ..
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
cd 4.1.2-xml
|
||||
DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/docbook/xml-dtd-4.1.2-%{version}-%{release}
|
||||
mkdir -p $DESTDIR/ent
|
||||
install docbook.cat $DESTDIR/catalog
|
||||
install *.dtd $DESTDIR
|
||||
install *.mod $DESTDIR
|
||||
install ent/* $DESTDIR/ent
|
||||
cd ..
|
||||
|
||||
# Symlinks
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/sgml
|
||||
ln -s sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
$RPM_BUILD_ROOT/etc/sgml/sgml-docbook.cat
|
||||
ln -s xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
$RPM_BUILD_ROOT/etc/sgml/xml-docbook.cat
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr (-,root,root)
|
||||
%doc 3.1-sgml/ChangeLog
|
||||
%doc 4.1-sgml/ChangeLog
|
||||
%doc */*.txt
|
||||
/usr/share/sgml/docbook/sgml-dtd-3.0-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/sgml-dtd-3.1-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.0-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.1-%{version}-%{release}
|
||||
/usr/share/sgml/docbook/xml-dtd-4.1.2-%{version}-%{release}
|
||||
/etc/sgml/sgml-docbook.cat
|
||||
/etc/sgml/xml-docbook.cat
|
||||
|
||||
|
||||
%post
|
||||
## Clean up pre-docbook-dtds mess caused by broken trigger.
|
||||
for v in 3.0 3.1 4.0 4.1
|
||||
do
|
||||
if [ -f /etc/sgml/sgml-docbook-$v.cat ]
|
||||
then
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-$v.cat \
|
||||
/usr/share/sgml/openjade-1.3.1/catalog 2>/dev/null
|
||||
fi
|
||||
done
|
||||
|
||||
##
|
||||
## SGML catalog
|
||||
##
|
||||
|
||||
# Update the centralized catalog corresponding to this version of the DTD
|
||||
# DocBook V3.0
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-3.0-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook V3.1
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-3.1-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook V4.0
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.0-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook V4.1
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.1-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/xml-dtd-4.1.2-%{version}-%{release}/catalog
|
||||
|
||||
# The following lines are for the case in which the style sheets
|
||||
# were installed after another DTD but before this DTD
|
||||
STYLESHEETS=$(echo /usr/share/sgml/docbook/dsssl-stylesheets-*)
|
||||
STYLESHEETS=${STYLESHEETS##*/dsssl-stylesheets-}
|
||||
if [ "$STYLESHEETS" != "*" ]; then
|
||||
# DocBook V3.0
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook V3.1
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook V4.0
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook V4.1
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --add \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
fi
|
||||
|
||||
##
|
||||
## XML catalog
|
||||
##
|
||||
|
||||
CATALOG=/usr/share/sgml/docbook/xmlcatalog
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Publishing//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-pub.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Greek Letters//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-grkl.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbpoolx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Box and Line Drawing//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-box.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML V4.1.2//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/docbookx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Greek Symbols//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-grk3.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsn.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-num.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbcentx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-grk4.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbnotnx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Diacritical Marks//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-dia.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Monotoniko Greek//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-grk2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbgenent.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbhierx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsa.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amso.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Russian Cyrillic//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-cyrl.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES General Technical//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-tech.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsc.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/soextblx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/calstblx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Latin 1//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-lat1.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsb.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Latin 2//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-lat2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsr.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "public" \
|
||||
"ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-cyr2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://www.oasis-open.org/docbook/xml/4.1.2" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://www.oasis-open.org/docbook/xml/4.1.2" \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}" $CATALOG
|
||||
|
||||
# Finally, make sure everything in /etc/sgml is readable!
|
||||
/bin/chmod a+r /etc/sgml/*
|
||||
|
||||
%postun
|
||||
##
|
||||
## SGML catalog
|
||||
##
|
||||
|
||||
# Update the centralized catalog corresponding to this version of the DTD
|
||||
# DocBook V3.0
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-3.0-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook V3.1
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-3.1-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook V4.0
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.0-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook V4.1
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/sgml-dtd-4.1-%{version}-%{release}/catalog
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/xml-dtd-4.1.2-%{version}-%{release}/catalog
|
||||
|
||||
# The following lines are for the case in which the style sheets
|
||||
# were not uninstalled because there is still another DTD
|
||||
STYLESHEETS=$(echo /usr/share/sgml/docbook/dsssl-stylesheets-*)
|
||||
STYLESHEETS=${STYLESHEETS##*/dsssl-stylesheets-}
|
||||
if [ "$STYLESHEETS" != "*" ]; then
|
||||
# DocBook V3.0
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook V3.1
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook V4.0
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook V4.1
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/openjade-%{openjadever}/catalog
|
||||
/usr/bin/xmlcatalog --sgml --noout --del \
|
||||
/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat \
|
||||
/usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog
|
||||
fi
|
||||
|
||||
##
|
||||
## XML catalog
|
||||
##
|
||||
|
||||
# DocBook XML V4.1.2
|
||||
CATALOG=/usr/share/sgml/docbook/xmlcatalog
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-pub.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-grkl.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbpoolx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-box.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/docbookx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-grk3.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsn.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-num.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbcentx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-grk4.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbnotnx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-dia.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-grk2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbgenent.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/dbhierx.mod" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsa.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amso.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-cyrl.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-tech.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsc.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/soextblx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/calstblx.dtd" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-lat1.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsb.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-lat2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-amsr.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}/ent/iso-cyr2.ent" $CATALOG
|
||||
/usr/bin/xmlcatalog --noout --del \
|
||||
"xml-dtd-4.1.2-%{version}-%{release}" $CATALOG
|
||||
|
||||
%changelog
|
||||
* Tue Mar 12 2002 Tim Waugh <twaugh@redhat.com> 1.0-7
|
||||
- Make sure that the config files are readable.
|
||||
|
||||
* Fri Mar 8 2002 Tim Waugh <twaugh@redhat.com> 1.0-6
|
||||
- Make %%post scriptlet quiet (bug #60820).
|
||||
|
||||
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-5
|
||||
- Make sure to clean up old catalog files.
|
||||
|
||||
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0-3
|
||||
- Rebuild in new environment.
|
||||
|
||||
* Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.0-2
|
||||
- Prepare for openjade 1.3.1.
|
||||
|
||||
* Thu Jan 17 2002 Tim Waugh <twaugh@redhat.com> 1.0-1
|
||||
- Merged all the DTD packages into one (bug #58448).
|
||||
- Use /usr/share/sgml exclusively.
|
||||
- Prevent catalog files from disappearing on upgrade (bug #58463).
|
||||
|
||||
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 1.0-8
|
||||
- Hmm, still need to depend on sgml-common for /etc/sgml.
|
||||
|
||||
* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 1.0-7
|
||||
- Use xmlcatalog (libxml2) instead of install-catalog (sgml-common) in
|
||||
scriptlets.
|
||||
- Conflict with install-catalog if it can't handle quotes in catalogs.
|
||||
- Use release number in centralized catalog name, so that the scriptlets
|
||||
work properly.
|
||||
|
||||
* Wed Oct 10 2001 Tim Waugh <twaugh@redhat.com> 1.0-6
|
||||
- Change some Requires: to PreReq:s (bug #54507).
|
||||
|
||||
* Mon Oct 8 2001 Tim Waugh <twaugh@redhat.com> 1.0-5
|
||||
- Use release number in the installed directory name, so that the
|
||||
package scripts work.
|
||||
|
||||
* Sat Oct 6 2001 Tim Waugh <twaugh@redhat.com> 1.0-4
|
||||
- Restore the /etc/sgml/catalog manipulation again.
|
||||
- Oops, fix DTD path.
|
||||
|
||||
* Sat Oct 6 2001 Tim Waugh <twaugh@redhat.com> 1.0-2
|
||||
- Require xml-common. Use xmlcatalog.
|
||||
- Move files to /usr/share/xml.
|
||||
|
||||
* Tue Jun 12 2001 Tim Waugh <twaugh@redhat.com> 1.0-1
|
||||
- Build for Red Hat Linux.
|
||||
|
||||
* Sat Jun 09 2001 Chris Runge <crunge@pobox.com>
|
||||
- Provides: docbook-dtd-xml (not docbook-dtd-sgml)
|
||||
- undo catalog patch and dbcentx patch (this resulted in an effectively
|
||||
broken DTD when the document was processed with XSL stylesheets); added a
|
||||
symbolic link to retain docbook.cat -> catalog; added ent
|
||||
- added ChangeLog to doc
|
||||
|
||||
* Fri Jun 08 2001 Chris Runge <crunge@pobox.com>
|
||||
- created a 4.1.2 version
|
||||
- update required a change to OTHERCAT in postun
|
||||
- update required a change to the Makefile patch (no dbgenent.ent any more,
|
||||
apparently)
|
||||
|
||||
* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Scripts require fileutils.
|
||||
- Make scripts quieter.
|
||||
|
||||
* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Don't play so many macro games.
|
||||
- Don't use 'rpm' in post scripts.
|
||||
- Be sure to own xml-dtd-4.1 directory.
|
||||
|
||||
* Sun Jan 14 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Change requirement on /usr/bin/install-catalog to sgml-common.
|
||||
|
||||
* Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Change group.
|
||||
- Use %%{_tmppath}.
|
||||
- Correct typo.
|
||||
- rm before install
|
||||
- openjade not jade.
|
||||
- Build requires unzip.
|
||||
- Require install-catalog for post and postun.
|
||||
- Change Copyright: to License:.
|
||||
- Remove Packager: line.
|
||||
|
||||
* Tue Jan 09 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Based on Eric Bischoff's new-trials packages.
|
Loading…
Reference in New Issue
Block a user