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
|
||||
Version: 1.1
|
||||
Release: 11.%{codate}%{?dist}
|
||||
Release: 12.%{codate}%{?dist}
|
||||
Summary: OpenGL manpages
|
||||
|
||||
License: MIT and Open Publication
|
||||
@ -23,7 +23,7 @@ Source5: metainfo.xsl
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: libxslt docbook-style-xsl
|
||||
BuildRequires: libxslt docbook-style-xsl docbook5-style-xsl
|
||||
|
||||
%description
|
||||
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" \
|
||||
mathml2.cat
|
||||
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
|
||||
for MANP in gl*.xml ; do
|
||||
xsltproc --nonet %{SOURCE5} $MANP | xsltproc --nonet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl -
|
||||
done
|
||||
popd
|
||||
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
|
||||
@ -71,6 +76,9 @@ find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.
|
||||
|
||||
|
||||
%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
|
||||
- New upstream snapshot.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user