diff --git a/.gitignore b/.gitignore index 925589d..ba22995 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,3 @@ /gl-manpages-1.1-20121009.tar.xz /mathml2.tgz /dbmathml.dtd -/make-gl-man-snapshot.sh diff --git a/gl-manpages.spec b/gl-manpages.spec index ead6f9e..4bdca39 100644 --- a/gl-manpages.spec +++ b/gl-manpages.spec @@ -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 - 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 - 1.1-4.%{codate} - Fix symlinked man references some more (#895986) diff --git a/make-gl-man-snapshot.sh b/make-gl-man-snapshot.sh new file mode 100644 index 0000000..9bb13f5 --- /dev/null +++ b/make-gl-man-snapshot.sh @@ -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 diff --git a/sources b/sources index bb2375e..4829ac6 100644 --- a/sources +++ b/sources @@ -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