- Newer upstream snapshot. Minor upstream rearrangement.

- Remove checkout script from sources and add to git.
This commit is contained in:
Yanko Kaneti 2013-01-22 18:52:05 +02:00
parent b67d8ca961
commit 9a5c312d5c
4 changed files with 18 additions and 7 deletions

1
.gitignore vendored
View File

@ -2,4 +2,3 @@
/gl-manpages-1.1-20121009.tar.xz
/mathml2.tgz
/dbmathml.dtd
/make-gl-man-snapshot.sh

View File

@ -1,8 +1,8 @@
%global codate 20121009
%global codate 20130122
Name: gl-manpages
Version: 1.1
Release: 4.%{codate}%{?dist}
Release: 5.%{codate}%{?dist}
Summary: OpenGL manpages
License: MIT and Open Publication
@ -36,7 +36,7 @@ tar xjf %{SOURCE4}
%build
# FIXME Figure out how to build the GLSL manpages
# FIXME Figure out how to silence the author/version etc warnings
for MAN in man4 man3 man ; do
for MAN in man4 man3 man2 ; do
pushd $MAN
ls -1 *.xml | xargs -n1 xsltproc --noout --nonet --path ../mathml2/ /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl
popd
@ -45,7 +45,7 @@ done
%install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
cp -n {man4,man3,man}/*.3G $RPM_BUILD_ROOT%{_mandir}/man3/
cp -n {man4,man3,man2}/*.3G $RPM_BUILD_ROOT%{_mandir}/man3/
# install the old manpages source with 3gl -> 3G
# when matchin don't clobber the khronos version
for MANP in `find gl-manpages-1.0.1 -name *.3gl` ; do
@ -60,6 +60,10 @@ find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.
%changelog
* Tue Jan 22 2013 Yanko Kaneti <yaneti@declera.com> - 1.1-5.%{codate}
- Newer upstream snapshot. Minor upstream rearrangement.
- Remove checkout script from sources and add to git.
* Wed Jan 16 2013 Yanko Kaneti <yaneti@declera.com> - 1.1-4.%{codate}
- Fix symlinked man references some more (#895986)

9
make-gl-man-snapshot.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
TODAY=`date +%Y%m%d`
DIR=gl-manpages-1.1-$TODAY
mkdir -p $DIR
for MAN in man4 man3 man2 manglsl ; do
svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/$MAN/ $DIR/$MAN
done
find $DIR -name .svn | xargs rm -rf
tar cJf $DIR.tar.xz $DIR

View File

@ -1,5 +1,4 @@
d8788262ad56f21438a8eb78c0afc5d7 gl-manpages-1.1-20121009.tar.xz
d66fd4a92910731c19327af50dd15e77 make-gl-man-snapshot.sh
a15842bab74c58efbb12e8383c975240 gl-manpages-1.1-20130122.tar.xz
d5e8926fa467c9e1bad59de24206bcbe mathml2.tgz
bbf92a1d88ce217d736c222470d6811c dbmathml.dtd
6ae05158e678f4594343f32c2ca50515 gl-manpages-1.0.1.tar.bz2