|
|
fe0759 |
Name: docbook5-schemas
|
|
|
fe0759 |
Version: 5.1
|
|
|
fe0759 |
Release: 5%{?dist}
|
|
|
fe0759 |
|
|
|
fe0759 |
Summary: Norman Walsh's schemas (DTD, Relax NG, W3C schema) for Docbook 5.X
|
|
|
fe0759 |
|
|
|
fe0759 |
License: Freely redistributable without restriction
|
|
|
fe0759 |
URL: http://www.oasis-open.org/docbook/
|
|
|
fe0759 |
|
|
|
fe0759 |
Provides: docbook5-dtd = %{version}-%{release}
|
|
|
fe0759 |
Provides: docbook5-rng = %{version}-%{release}
|
|
|
fe0759 |
Provides: docbook5-sch = %{version}-%{release}
|
|
|
fe0759 |
Provides: docbook5-xsd = %{version}-%{release}
|
|
|
fe0759 |
|
|
|
fe0759 |
Requires(post): libxml2 >= 2.4.8
|
|
|
fe0759 |
Requires(postun): libxml2 >= 2.4.8
|
|
|
fe0759 |
Requires: xml-common >= 0.6.3-24
|
|
|
fe0759 |
BuildRequires: perl-generators
|
|
|
fe0759 |
BuildRequires: unzip
|
|
|
fe0759 |
BuildRequires: libxml2 >= 2.4.8
|
|
|
fe0759 |
|
|
|
fe0759 |
BuildArch: noarch
|
|
|
fe0759 |
|
|
|
fe0759 |
Source0: http://www.docbook.org/xml/5.0/docbook-5.0.zip
|
|
|
fe0759 |
Source1: http://www.docbook.org/xml/5.1/docbook-v5.1-os.zip
|
|
|
fe0759 |
|
|
|
fe0759 |
%description
|
|
|
fe0759 |
Docbook 5.X is a complete rewrite of Docbook in RELAX NG and not compatible
|
|
|
fe0759 |
with previous Docbook versions. This package contains Relax NG , DTD and W3C
|
|
|
fe0759 |
schema for Docbook 5.X. Syntax of those schemas is XML-compliant and is
|
|
|
fe0759 |
developed by the OASIS consortium.
|
|
|
fe0759 |
|
|
|
fe0759 |
%prep
|
|
|
fe0759 |
%setup -c -T
|
|
|
fe0759 |
mkdir 5.0
|
|
|
fe0759 |
mkdir 5.1
|
|
|
fe0759 |
|
|
|
fe0759 |
#Unzip Docbook 5.0 specification
|
|
|
fe0759 |
cd 5.0
|
|
|
fe0759 |
unzip %{SOURCE0}
|
|
|
fe0759 |
mv docbook-5.0/* .
|
|
|
fe0759 |
#Prepare docs to right place
|
|
|
fe0759 |
mv docs/ ../
|
|
|
fe0759 |
mv README ../
|
|
|
fe0759 |
mv ChangeLog ../
|
|
|
fe0759 |
cd ..
|
|
|
fe0759 |
|
|
|
fe0759 |
#Unzip Docbook 5.1 specification
|
|
|
fe0759 |
cd 5.1
|
|
|
fe0759 |
unzip %{SOURCE1}
|
|
|
fe0759 |
mv schemas/rng .
|
|
|
fe0759 |
mv schemas/sch .
|
|
|
fe0759 |
mv schemas/catalog.xml .
|
|
|
fe0759 |
mv schemas/docbook.nvdl .
|
|
|
fe0759 |
cd ..
|
|
|
fe0759 |
|
|
|
fe0759 |
%build
|
|
|
fe0759 |
CATALOG=docbook-5.xml
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --create --noout $CATALOG
|
|
|
fe0759 |
for v in 5.0
|
|
|
fe0759 |
do
|
|
|
fe0759 |
# DTD
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "public" \
|
|
|
fe0759 |
"-//OASIS//DTD DocBook XML ${v}//EN" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/docbook.dtd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "system" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/dtd/docbook.dtd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/docbook.dtd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "system" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/dtd/docbook.dtd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/docbook.dtd" ${CATALOG}
|
|
|
fe0759 |
# XSD
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/xsd/docbook.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/docbook.xsd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/xsd/docbook.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/docbook.xsd" ${CATALOG}
|
|
|
fe0759 |
# XSD + XInclude
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/xsd/docbookxi.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/docbookxi.xsd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/xsd/docbookxi.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/docbookxi.xsd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/xsd/xi.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xi.xsd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/xsd/xi.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xi.xsd" ${CATALOG}
|
|
|
fe0759 |
# XLink + XML
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/xsd/xlink.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xlink.xsd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/xsd/xlink.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xlink.xsd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/xsd/xml.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xml.xsd" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/xsd/xml.xsd" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xml.xsd" ${CATALOG}
|
|
|
fe0759 |
done
|
|
|
fe0759 |
for v in 5.0 5.1
|
|
|
fe0759 |
do
|
|
|
fe0759 |
# RNG
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/rng/docbook.rng" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbook.rng" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/rng/docbook.rng" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbook.rng" ${CATALOG}
|
|
|
fe0759 |
# RNG+XInclude
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/rng/docbookxi.rng" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbookxi.rng" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/rng/docbookxi.rng" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbookxi.rng" ${CATALOG}
|
|
|
fe0759 |
# RNC
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/rnc/docbook.rnc" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbook.rnc" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/rng/docbook.rnc" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbook.rnc" ${CATALOG}
|
|
|
fe0759 |
# RNC+XInclude
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/rnc/docbookxi.rnc" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbookxi.rnc" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/rng/docbookxi.rnc" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbookxi.rnc" ${CATALOG}
|
|
|
fe0759 |
# Schematron
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/sch/docbook.sch" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/sch/${v}/docbook.sch" ${CATALOG}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/sch/docbook.sch" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/sch/${v}/docbook.sch" ${CATALOG}
|
|
|
fe0759 |
done
|
|
|
fe0759 |
# ---------------------
|
|
|
fe0759 |
# Build XML catalog files for each Schema
|
|
|
fe0759 |
for v in 5.0 5.1
|
|
|
fe0759 |
do
|
|
|
fe0759 |
for s in rng sch; do
|
|
|
fe0759 |
cat=${v}/${s}/catalog.xml
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --create ${cat}
|
|
|
fe0759 |
case $s in
|
|
|
fe0759 |
sch)
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/docbook.${s}" \
|
|
|
fe0759 |
"docbook.${s}" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbook.${s}" \
|
|
|
fe0759 |
"docbook.${s}" ${cat}
|
|
|
fe0759 |
;;
|
|
|
fe0759 |
rng)
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/docbook.${s}" \
|
|
|
fe0759 |
"docbook.${s}" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbook.${s}" \
|
|
|
fe0759 |
"docbook.${s}" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/docbookxi.${s}" \
|
|
|
fe0759 |
"docbookxi.${s}" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbookxi.${s}" \
|
|
|
fe0759 |
"docbookxi.${s}" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/docbook.rnc" \
|
|
|
fe0759 |
"docbook.rnc" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbook.rnc" \
|
|
|
fe0759 |
"docbook.rnc" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/docbookxi.rnc" \
|
|
|
fe0759 |
"docbookxi.rnc" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbookxi.rnc" \
|
|
|
fe0759 |
"docbookxi.rnc" ${cat}
|
|
|
fe0759 |
;;
|
|
|
fe0759 |
esac
|
|
|
fe0759 |
done
|
|
|
fe0759 |
done
|
|
|
fe0759 |
for v in 5.0
|
|
|
fe0759 |
do
|
|
|
fe0759 |
for s in dtd xsd; do
|
|
|
fe0759 |
cat=${v}/${s}/catalog.xml
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --create ${cat}
|
|
|
fe0759 |
case $s in
|
|
|
fe0759 |
dtd)
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "public" \
|
|
|
fe0759 |
"-//OASIS//DTD DocBook XML ${v}//EN" \
|
|
|
fe0759 |
"docbook.dtd" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "system" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/dtd/docbook.dtd" \
|
|
|
fe0759 |
"docbook.dtd" ${cat}
|
|
|
fe0759 |
;;
|
|
|
fe0759 |
xsd)
|
|
|
fe0759 |
# http://www.oasis-open.org/docbook/xml/5.0/xsd/docbookxi.xsd
|
|
|
fe0759 |
# http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/docbook.${s}" \
|
|
|
fe0759 |
"docbook.${s}" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbook.${s}" \
|
|
|
fe0759 |
"docbook.${s}" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/docbookxi.${s}" \
|
|
|
fe0759 |
"docbookxi.${s}" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbookxi.${s}" \
|
|
|
fe0759 |
"docbookxi.${s}" ${cat}
|
|
|
fe0759 |
# XLink + XML:
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/xlink.xsd" \
|
|
|
fe0759 |
"xlink.xsd" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/xlink.xsd" \
|
|
|
fe0759 |
"xlink.xsd" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/${s}/xml.xsd" \
|
|
|
fe0759 |
"xml.xsd" ${cat}
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "uri" \
|
|
|
fe0759 |
"http://www.oasis-open.org/docbook/xml/${v}/${s}/xml.xsd" \
|
|
|
fe0759 |
"xml.xsd" ${cat}
|
|
|
fe0759 |
;;
|
|
|
fe0759 |
esac
|
|
|
fe0759 |
done
|
|
|
fe0759 |
done
|
|
|
fe0759 |
|
|
|
fe0759 |
%install
|
|
|
fe0759 |
DOCBOOK5DIR=$RPM_BUILD_ROOT%{_datadir}/xml/docbook5
|
|
|
fe0759 |
for v in 5.0 5.1
|
|
|
fe0759 |
do
|
|
|
fe0759 |
mkdir -p ${DOCBOOK5DIR}/schema/rng/$v
|
|
|
fe0759 |
mkdir -p ${DOCBOOK5DIR}/schema/sch/$v
|
|
|
fe0759 |
install -m644 $v/rng/* ${DOCBOOK5DIR}/schema/rng/$v
|
|
|
fe0759 |
install -m644 $v/sch/* ${DOCBOOK5DIR}/schema/sch/$v
|
|
|
fe0759 |
done
|
|
|
fe0759 |
mkdir -p ${DOCBOOK5DIR}/schema/dtd/5.0
|
|
|
fe0759 |
mkdir -p ${DOCBOOK5DIR}/schema/xsd/5.0
|
|
|
fe0759 |
install -m644 5.0/dtd/* ${DOCBOOK5DIR}/schema/dtd/5.0
|
|
|
fe0759 |
install -m644 5.0/xsd/* ${DOCBOOK5DIR}/schema/xsd/5.0
|
|
|
fe0759 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
fe0759 |
install -m755 %{version}/tools/db4-entities.pl $RPM_BUILD_ROOT%{_bindir}
|
|
|
fe0759 |
mkdir -p ${DOCBOOK5DIR}/stylesheet/upgrade
|
|
|
fe0759 |
install -m644 %{version}/tools/db4-upgrade.xsl ${DOCBOOK5DIR}/stylesheet/upgrade
|
|
|
fe0759 |
|
|
|
fe0759 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xml
|
|
|
fe0759 |
install -m644 docbook-5.xml $RPM_BUILD_ROOT%{_sysconfdir}/xml/docbook-5.xml
|
|
|
fe0759 |
|
|
|
fe0759 |
%post
|
|
|
fe0759 |
ROOTCATALOG=%{_sysconfdir}/xml/catalog
|
|
|
fe0759 |
if [ -w $ROOTCATALOG ]
|
|
|
fe0759 |
then
|
|
|
fe0759 |
for v in 5.0 5.1
|
|
|
fe0759 |
do
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
|
|
|
fe0759 |
"-//OASIS//DTD DocBook XML ${v}//EN" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/rng/" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
|
|
fe0759 |
"http://docbook.org/xml/${v}/sch/" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/sch/${v}/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
done
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
|
|
fe0759 |
"http://docbook.org/xml/5.0/xsd/" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "delegateSystem" \
|
|
|
fe0759 |
"http://docbook.org/xml/5.0/dtd/" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
|
|
fe0759 |
"http://docbook.org/xml/5.0/dtd/" \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
fi
|
|
|
fe0759 |
|
|
|
fe0759 |
%postun
|
|
|
fe0759 |
if [ "$1" = 0 ]; then
|
|
|
fe0759 |
ROOTCATALOG=%{_sysconfdir}/xml/catalog
|
|
|
fe0759 |
if [ -w $ROOTCATALOG ]
|
|
|
fe0759 |
then
|
|
|
fe0759 |
for v in 5.0 5.1
|
|
|
fe0759 |
do
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --del \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --del \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/sch/${v}/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
done
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --del \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/dtd/5.0/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
%{_bindir}/xmlcatalog --noout --del \
|
|
|
fe0759 |
"file://%{_datadir}/xml/docbook5/schema/xsd/5.0/catalog.xml" \
|
|
|
fe0759 |
$ROOTCATALOG
|
|
|
fe0759 |
|
|
|
fe0759 |
fi
|
|
|
fe0759 |
fi
|
|
|
fe0759 |
|
|
|
fe0759 |
%files
|
|
|
fe0759 |
%doc docs/* README ChangeLog
|
|
|
fe0759 |
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xml/docbook-5.xml
|
|
|
fe0759 |
%dir %{_datadir}/xml/docbook5/
|
|
|
fe0759 |
%dir %{_datadir}/xml/docbook5/schema
|
|
|
fe0759 |
%dir %{_datadir}/xml/docbook5/schema/dtd
|
|
|
fe0759 |
%dir %{_datadir}/xml/docbook5/schema/rng
|
|
|
fe0759 |
%dir %{_datadir}/xml/docbook5/schema/sch
|
|
|
fe0759 |
%dir %{_datadir}/xml/docbook5/schema/xsd
|
|
|
fe0759 |
%dir %{_datadir}/xml/docbook5/stylesheet
|
|
|
fe0759 |
%dir %{_datadir}/xml/docbook5/stylesheet/upgrade
|
|
|
fe0759 |
# Docbook5.0
|
|
|
fe0759 |
%{_datadir}/xml/docbook5/schema/dtd/5.0
|
|
|
fe0759 |
%{_datadir}/xml/docbook5/schema/rng/5.0
|
|
|
fe0759 |
%{_datadir}/xml/docbook5/schema/sch/5.0
|
|
|
fe0759 |
%{_datadir}/xml/docbook5/schema/xsd/5.0
|
|
|
fe0759 |
# Docbook 5.1
|
|
|
fe0759 |
%{_datadir}/xml/docbook5/schema/rng/%{version}
|
|
|
fe0759 |
%{_datadir}/xml/docbook5/schema/sch/%{version}
|
|
|
fe0759 |
%{_datadir}/xml/docbook5/stylesheet/upgrade/db4-upgrade.xsl
|
|
|
fe0759 |
%{_bindir}/db4-entities.pl
|
|
|
fe0759 |
|
|
|
fe0759 |
%changelog
|
|
|
fe0759 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.1-5
|
|
|
fe0759 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
fe0759 |
Related: rhbz#1991688
|
|
|
fe0759 |
|
|
|
fe0759 |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 5.1-4
|
|
|
fe0759 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
fe0759 |
|
|
|
fe0759 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-3
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-2
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Wed Feb 05 2020 Ondrej Vasik <ovasik@redhat.com> - 5.1-1
|
|
|
fe0759 |
- add Docbook 5.1 (no dtd and xsd schemas provided)
|
|
|
fe0759 |
|
|
|
fe0759 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-21
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-20
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-19
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-18
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-17
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-16
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-15
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-14
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-13
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-12
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-11
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.0-10
|
|
|
fe0759 |
- Perl 5.18 rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-9
|
|
|
fe0759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
fe0759 |
|
|
|
fe0759 |
* Fri Nov 30 2012 Ondrej Vasik <ovasik@redhat.com> 5.0-8
|
|
|
fe0759 |
- rebuild to have latest entry in the changelog
|
|
|
fe0759 |
|
|
|
fe0759 |
* Mon Feb 02 2009 Ondrej Vasik <ovasik@redhat.com> 5.0-2
|
|
|
fe0759 |
- do own /usr/share/xml/docbook5 properly(#483341)
|
|
|
fe0759 |
|
|
|
fe0759 |
* Thu Nov 13 2008 Ondrej Vasik <ovasik@redhat.com> 5.0-1
|
|
|
fe0759 |
- Initial Fedora release
|