|
|
7df69e |
# FIXME: Figure out what to do about the gles* manpages, maybe different conflicting packages...
|
|
|
7df69e |
%global codate 20190306
|
|
|
7df69e |
%global commit 4547332f0f27d98601a8f5732ce8e85e09dbdb93
|
|
|
7df69e |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
7df69e |
|
|
|
7df69e |
Name: gl-manpages
|
|
|
7df69e |
Version: 1.1
|
|
|
7df69e |
Release: 24.%{codate}%{?dist}
|
|
|
7df69e |
Summary: OpenGL manpages
|
|
|
7df69e |
|
|
|
7df69e |
License: MIT and Open Publication
|
|
|
7df69e |
URL: https://github.com/KhronosGroup/OpenGL-Refpages
|
|
|
7df69e |
Source0: https://github.com/KhronosGroup/OpenGL-Refpages/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
|
|
7df69e |
# FIXME: Bundle mathml and the Oasis dbmathl until they are packaged
|
|
|
7df69e |
Source2: http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd
|
|
|
7df69e |
Source3: http://www.w3.org/Math/DTD/mathml2.tgz
|
|
|
7df69e |
# FIXME These are the old gl-manpages source which
|
|
|
7df69e |
# still have some manpages that khronos doesn't.
|
|
|
7df69e |
# Ship until somebody in the know helps figuring whats what.
|
|
|
7df69e |
# When matching install the khronos version.
|
|
|
7df69e |
Source4: gl-manpages-1.0.1.tar.bz2
|
|
|
7df69e |
#Silence author/version/manual etc. warnings
|
|
|
7df69e |
Source5: metainfo.xsl
|
|
|
7df69e |
|
|
|
7df69e |
BuildArch: noarch
|
|
|
7df69e |
|
|
|
7df69e |
BuildRequires: make
|
|
|
7df69e |
BuildRequires: libxslt docbook-style-xsl docbook5-style-xsl python3
|
|
|
7df69e |
|
|
|
7df69e |
%description
|
|
|
7df69e |
OpenGL manpages
|
|
|
7df69e |
|
|
|
7df69e |
%prep
|
|
|
7df69e |
%setup -q -n OpenGL-Refpages-%{commit}
|
|
|
7df69e |
tar xzf %{SOURCE3}
|
|
|
7df69e |
cp -av %{SOURCE2} mathml2/
|
|
|
7df69e |
tar xjf %{SOURCE4}
|
|
|
7df69e |
|
|
|
7df69e |
|
|
|
7df69e |
%build
|
|
|
7df69e |
export BD=`pwd`
|
|
|
7df69e |
xmlcatalog --create --noout \
|
|
|
7df69e |
--add public "-//W3C//DTD MathML 2.0//EN" "file://$BD/mathml2/mathml2.dtd" \
|
|
|
7df69e |
--add system "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" "file://$BD/mathml2/mathml2.dtd" \
|
|
|
7df69e |
--add public "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" "file://$BD/mathml2/dbmathml.dtd" \
|
|
|
7df69e |
--add system "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" "file://$BD/mathml2/dbmathml.dtd" \
|
|
|
7df69e |
mathml2.cat
|
|
|
7df69e |
export XML_CATALOG_FILES="$BD/mathml2.cat /etc/xml/catalog"
|
|
|
7df69e |
make
|
|
|
7df69e |
pushd gl4
|
|
|
7df69e |
for MANP in gl*.xml ; do
|
|
|
7df69e |
xsltproc --xinclude --nonet %{SOURCE5} $MANP | xsltproc --xinclude --nonet /usr/share/sgml/docbook/xsl-ns-stylesheets/manpages/docbook.xsl -
|
|
|
7df69e |
done
|
|
|
7df69e |
popd
|
|
|
7df69e |
|
|
|
7df69e |
|
|
|
7df69e |
%install
|
|
|
7df69e |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
|
|
|
7df69e |
cp -n gl4/*.3G $RPM_BUILD_ROOT%{_mandir}/man3/
|
|
|
7df69e |
# install the old manpages source with 3gl -> 3G
|
|
|
7df69e |
# when matchin don't clobber the khronos version
|
|
|
7df69e |
for MANP in `find gl-manpages-1.0.1 -name *.3gl` ; do
|
|
|
7df69e |
FN=${MANP//*\//}
|
|
|
7df69e |
cp -a -n $MANP $RPM_BUILD_ROOT%{_mandir}/man3/${FN/.3gl/.3G}
|
|
|
7df69e |
done
|
|
|
7df69e |
find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.3gl/\.3G/' -e 's,^\.so man3G/,.so man3/,'
|
|
|
7df69e |
|
|
|
7df69e |
|
|
|
7df69e |
%files
|
|
|
7df69e |
%{_mandir}/man3/*
|
|
|
7df69e |
|
|
|
7df69e |
|
|
|
7df69e |
%changelog
|
|
|
7df69e |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1-24.20190306
|
|
|
7df69e |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
7df69e |
Related: rhbz#1991688
|
|
|
7df69e |
|
|
|
7df69e |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.1-23.20190306
|
|
|
7df69e |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
7df69e |
|
|
|
7df69e |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-22.20190306
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-21.20190306
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-20.20190306
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-19.20190306
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Mar 6 2019 Yanko Kaneti <yaneti@declera.com> - 1.1-18.20190306
|
|
|
7df69e |
- Switch to the new upstream github repo sources
|
|
|
7df69e |
- Build only gl4 manpages for now
|
|
|
7df69e |
|
|
|
7df69e |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-17.20161227
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-16.20161227
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-15.20161227
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-14.20161227
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-13.20161227
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Dec 28 2016 Yanko Kaneti <yaneti@declera.com> - 1.1-12.20161227
|
|
|
7df69e |
- Use docbook5-style-xsl for building the GL4 manpages
|
|
|
7df69e |
|
|
|
7df69e |
* Tue Dec 27 2016 Yanko Kaneti <yaneti@declera.com> - 1.1-11.20161227
|
|
|
7df69e |
- New upstream snapshot.
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-11.20140424
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-10.20140424
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9.20140424
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Thu Apr 24 2014 Yanko Kaneti <yaneti@declera.com> - 1.1-8.%{codate}
|
|
|
7df69e |
- New upstream snapshot
|
|
|
7df69e |
- GLSL folded into man4.
|
|
|
7df69e |
- tarball tweaks
|
|
|
7df69e |
|
|
|
7df69e |
* Tue Nov 5 2013 Yanko Kaneti <yaneti@declera.com> - 1.1-7.%{codate}
|
|
|
7df69e |
- New upstream snapshot.
|
|
|
7df69e |
|
|
|
7df69e |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7.20130122
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6.20130122
|
|
|
7df69e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7df69e |
|
|
|
7df69e |
* Tue Jan 22 2013 Yanko Kaneti <yaneti@declera.com> - 1.1-5.%{codate}
|
|
|
7df69e |
- Newer upstream snapshot. Minor upstream rearrangement.
|
|
|
7df69e |
- Remove checkout script from sources and add to git.
|
|
|
7df69e |
- Try to actually use the bundled mathml2. Fix warnings.
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Jan 16 2013 Yanko Kaneti <yaneti@declera.com> - 1.1-4.%{codate}
|
|
|
7df69e |
- Fix symlinked man references some more (#895986)
|
|
|
7df69e |
|
|
|
7df69e |
* Mon Oct 15 2012 Yanko Kaneti <yaneti@declera.com> - 1.1-3.%{codate}
|
|
|
7df69e |
- Fix symlinked man variants.
|
|
|
7df69e |
- Preserve timestamps on the older gl-manpages.
|
|
|
7df69e |
|
|
|
7df69e |
* Tue Oct 9 2012 Yanko Kaneti <yaneti@declera.com> - 1.1-2.%{codate}
|
|
|
7df69e |
- Re-add the older gl-manpages for those not present in khronos
|
|
|
7df69e |
|
|
|
7df69e |
* Tue Oct 9 2012 Yanko Kaneti <yaneti@declera.com> - 1.1-1.%{codate}
|
|
|
7df69e |
- Try building from source
|
|
|
7df69e |
|
|
|
7df69e |
* Wed Sep 5 2012 Yanko Kaneti <yaneti@declera.com> - 1.0.1-1
|
|
|
7df69e |
- Initial split from mesa
|