source: projects/specs/trunk/g/gl-manpages/gl-manpages-vl.spec @ 9123

Revision 9123, 2.6 KB checked in by inagaki, 9 years ago (diff)

2014-11-30 Ryoichi INAGAKI <ryo1@…>

  • gl-manpages: changed GROUP
  • glpk, libktorrent: rebuilt
  • harfbuzz: updated


Line 
1%global codate 20121009
2
3Name:           gl-manpages
4Version:        1.1
5Release:        2%{?_dist_release}
6Summary:        OpenGL manpages
7Summary(ja):    OpenGLマニュアルページ
8
9License:        MIT and Open Publication
10Group:          Documentation
11URL:            http://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages
12# see Source1
13Source0:        gl-manpages-%{version}-%{codate}.tar.xz
14Source1:        make-gl-man-snapshot.sh
15# FIXME: Bundle mathml and the Oasis dbmathl until they are packaged
16Source2:        http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd
17Source3:        http://www.w3.org/Math/DTD/mathml2.tgz
18# FIXME  These are the old gl-manpages source which
19# still have some manpages that khronos doesn't.
20# Ship until somebody in the know helps figuring whats what.
21# When matching install the kronos version.
22Source4:        gl-manpages-1.0.1.tar.bz2
23
24BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
25BuildArch:      noarch
26BuildRequires:  libxslt docbook-style-xsl
27
28%description
29OpenGL manpages
30
31%prep
32%setup -q -n %{name}-%{version}-%{codate}
33tar xzf %{SOURCE3}
34cp -av %{SOURCE2} mathml2/
35tar xjf %{SOURCE4}
36
37
38%build
39# FIXME Figure out how to build the GLSL manpages
40# FIXME Figure out how to silence the author/version etc warnings
41for MAN in man4 man3 man ; do
42        pushd $MAN
43        ls -1 *.xml | xargs -n1 xsltproc --noout --nonet --path ../mathml2/ /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl
44        popd
45done
46
47
48%install
49mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
50cp -n {man4,man3,man}/*.3G $RPM_BUILD_ROOT%{_mandir}/man3/
51# install the old manpages source with 3gl -> 3G
52# when matchin don't clobber the khronos version
53for MANP in `find gl-manpages-1.0.1 -name *.3gl` ; do
54        FN=${MANP//*\//}
55        cp -a -n $MANP $RPM_BUILD_ROOT%{_mandir}/man3/${FN/.3gl/.3G}
56        find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.3gl/\.3G/'
57done
58
59
60%files
61%{_mandir}/man3/*
62
63
64%changelog
65* Mon Nov 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1-2
66- added Group tag
67
68* Wed Nov 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
69- initial build for Vine Linux
70
71* Mon Oct 15 2012 Yanko Kaneti <yaneti@declera.com> - 1.1-3.%{codate}
72- Fix symlinked man variants.
73- Preserve timestamps on the older gl-manpages.
74
75* Tue Oct  9 2012 Yanko Kaneti <yaneti@declera.com> - 1.1-2.%{codate}
76- Re-add the older gl-manpages for those not present in khronos
77
78* Tue Oct  9 2012 Yanko Kaneti <yaneti@declera.com> - 1.1-1.%{codate}
79- Try building from source
80
81* Wed Sep  5 2012 Yanko Kaneti <yaneti@declera.com> - 1.0.1-1
82- Initial split from mesa
Note: See TracBrowser for help on using the repository browser.