Use docbook5-style-xsl for building the GL4 manpages
This commit is contained in:
parent
c7f3713d36
commit
07a703a731
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: gl-manpages
|
Name: gl-manpages
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 11.%{codate}%{?dist}
|
Release: 12.%{codate}%{?dist}
|
||||||
Summary: OpenGL manpages
|
Summary: OpenGL manpages
|
||||||
|
|
||||||
License: MIT and Open Publication
|
License: MIT and Open Publication
|
||||||
@ -23,7 +23,7 @@ Source5: metainfo.xsl
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: libxslt docbook-style-xsl
|
BuildRequires: libxslt docbook-style-xsl docbook5-style-xsl
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenGL manpages
|
OpenGL manpages
|
||||||
@ -45,13 +45,18 @@ xmlcatalog --create --noout \
|
|||||||
--add system "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" "file://$BD/mathml2/dbmathml.dtd" \
|
--add system "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" "file://$BD/mathml2/dbmathml.dtd" \
|
||||||
mathml2.cat
|
mathml2.cat
|
||||||
export XML_CATALOG_FILES="$BD/mathml2.cat /etc/xml/catalog"
|
export XML_CATALOG_FILES="$BD/mathml2.cat /etc/xml/catalog"
|
||||||
for MAN in man4 man3 man2 ; do
|
for MAN in man3 man2 ; do
|
||||||
pushd $MAN
|
pushd $MAN
|
||||||
for MANP in gl*.xml ; do
|
for MANP in gl*.xml ; do
|
||||||
xsltproc --nonet %{SOURCE5} $MANP | xsltproc --nonet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl -
|
xsltproc --nonet %{SOURCE5} $MANP | xsltproc --nonet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl -
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
pushd man4
|
||||||
|
for MANP in gl*.xml ; do
|
||||||
|
xsltproc --xinclude --nonet %{SOURCE5} $MANP | xsltproc --xinclude --nonet /usr/share/sgml/docbook/xsl-ns-stylesheets/manpages/docbook.xsl -
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -71,6 +76,9 @@ find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 28 2016 Yanko Kaneti <yaneti@declera.com> - 1.1-12.20161227
|
||||||
|
- Use docbook5-style-xsl for building the GL4 manpages
|
||||||
|
|
||||||
* Tue Dec 27 2016 Yanko Kaneti <yaneti@declera.com> - 1.1-11.20161227
|
* Tue Dec 27 2016 Yanko Kaneti <yaneti@declera.com> - 1.1-11.20161227
|
||||||
- New upstream snapshot.
|
- New upstream snapshot.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user