2 Summary: Open Source 3D graphics library for creating rich graphical applications
5 Group: System/Libraries
7 URL: http://www.clutter-project.org/
8 Source0: http://source.clutter-project.org/sources/cogl/1.10/cogl-%{version}.tar.xz
9 Source1: http://source.clutter-project.org/sources/cogl/1.10/cogl-%{version}.sha256sum
10 Patch0: gl-header-include-fix.patch
11 Requires(post): /sbin/ldconfig
12 Requires(postun): /sbin/ldconfig
13 BuildRequires: pkgconfig(glib-2.0)
14 BuildRequires: pkgconfig(pango)
15 BuildRequires: pkgconfig(x11)
16 BuildRequires: pkgconfig(xcomposite)
17 BuildRequires: pkgconfig(xdamage)
18 BuildRequires: pkgconfig(xext)
19 BuildRequires: pkgconfig(xfixes)
20 BuildRequires: pkgconfig(glesv2)
21 BuildRequires: pkgconfig(glesv1_cm)
22 BuildRequires: pkgconfig(gl)
23 BuildRequires: pkgconfig(egl)
24 BuildRequires: pkgconfig(gdk-pixbuf-2.0)
25 BuildRequires: pkgconfig(libdrm)
26 BuildRequires: pkgconfig(dri2proto)
27 BuildRequires: pkgconfig(glproto)
28 BuildRequires: pkgconfig(xxf86vm)
29 BuildRequires: pkgconfig(wayland-client)
30 BuildRequires: pkgconfig(wayland-egl)
31 BuildRequires: intltool
35 Cogl is a modern 3D graphics library that avoids the flat state-machine API style of OpenGL making it easier to write orthogonal rendering code. Cogl supports using OpenGL and OpenGLES 1.1/2.0 as backends so a wide range of devices can be targetted. Also because Cogl can integrate the huge number of vendor specific OpenGL extensions behind a consistent interface it helps you get the very best out of your specific device for less effort than using OpenGL.
40 Summary: Cogl header files and development libraries
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
45 Development environment for Cogl
48 Summary: Cogl examples
49 Group: Amusements/Graphics
50 Requires: %{name} = %{version}-%{release}
57 %setup -q -n %{name}-%{version}
62 %configure --disable-static \
66 --enable-wayland-egl-platform=yes \
67 --enable-xlib-egl-platform=yes \
68 --enable-examples-install
79 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
87 %defattr(-,root,root,-)
92 %defattr(-,root,root,-)
95 %{_libdir}/pkgconfig/*
98 %defattr(-,root,root,-)