diff --git a/docbook5-schemas.spec b/docbook5-schemas.spec index cc9f5a8..544e0c4 100644 --- a/docbook5-schemas.spec +++ b/docbook5-schemas.spec @@ -1,6 +1,6 @@ Name: docbook5-schemas Version: 5.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Norman Walsh's schemas (DTD, Relax NG, W3C schema) for Docbook 5.X @@ -39,15 +39,30 @@ mkdir 5.1 cd 5.0 unzip %{SOURCE0} mv docbook-5.0/* . -#Prepare docs to right place + +# Remove perl script +rm tools/db4-entities.pl +rm tools/db4-upgrade.xsl +rmdir tools/ + +# Remove howto docs +rm docs/howto.html +rm docs/howto.pdf +rm docs/howto.xml +rm -rf docs/images/* + +# Prepare docs to right place mv docs/ ../ mv README ../ mv ChangeLog ../ cd .. -#Unzip Docbook 5.1 specification +# Unzip Docbook 5.1 specification cd 5.1 unzip %{SOURCE1} +rm tools/db4-entities.pl +rm tools/db4-upgrade.xsl +rmdir tools/ mv schemas/rng . mv schemas/sch . mv schemas/catalog.xml . @@ -246,10 +261,6 @@ mkdir -p ${DOCBOOK5DIR}/schema/dtd/5.0 mkdir -p ${DOCBOOK5DIR}/schema/xsd/5.0 install -m644 5.0/dtd/* ${DOCBOOK5DIR}/schema/dtd/5.0 install -m644 5.0/xsd/* ${DOCBOOK5DIR}/schema/xsd/5.0 -mkdir -p $RPM_BUILD_ROOT%{_bindir} -install -m755 %{version}/tools/db4-entities.pl $RPM_BUILD_ROOT%{_bindir} -mkdir -p ${DOCBOOK5DIR}/stylesheet/upgrade -install -m644 %{version}/tools/db4-upgrade.xsl ${DOCBOOK5DIR}/stylesheet/upgrade mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xml install -m644 docbook-5.xml $RPM_BUILD_ROOT%{_sysconfdir}/xml/docbook-5.xml @@ -320,8 +331,6 @@ fi %dir %{_datadir}/xml/docbook5/schema/rng %dir %{_datadir}/xml/docbook5/schema/sch %dir %{_datadir}/xml/docbook5/schema/xsd -%dir %{_datadir}/xml/docbook5/stylesheet -%dir %{_datadir}/xml/docbook5/stylesheet/upgrade # Docbook5.0 %{_datadir}/xml/docbook5/schema/dtd/5.0 %{_datadir}/xml/docbook5/schema/rng/5.0 @@ -330,10 +339,11 @@ fi # Docbook 5.1 %{_datadir}/xml/docbook5/schema/rng/%{version} %{_datadir}/xml/docbook5/schema/sch/%{version} -%{_datadir}/xml/docbook5/stylesheet/upgrade/db4-upgrade.xsl -%{_bindir}/db4-entities.pl %changelog +* Mon Aug 19 2024 Ales Nezbeda - 5.1-12 +- Remove unlicensed perl script and howto docs + * Mon Jun 24 2024 Troy Dawson - 5.1-11 - Bump release for June 2024 mass rebuild