1 Summary: GtkGLArea OpenGL widget for GTK+
2 Summary(wa): GtkGLArea est on ahesse pol toolkit grafike GTK+
8 Source: http://www.student.oulu.fi/~jlof/gtkglarea/download/%{name}-%{version}.tar.gz
9 BuildRequires: gtk+-devel => 1.2.0
10 BuildRequires: Mesa-devel => 3.0
11 BuildRoot: /tmp/%{name}-%{version}-root
13 %define _prefix /usr/X11R6
14 %define _datadir /usr/share
17 Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl
18 which is basically wrapper around GLX functions. The widget itself is
19 derived from GtkDrawinigArea widget and adds only few extra functions.
22 Summary: GtkGLArea OpenGL widget for GTK+. Development libs and headers.
23 Summary(wa): GtkGLArea est on ahesse po GTK+ - fitchîs *.h èt statikès lîvreyes
25 Requires: %{name} = %{version}
26 Requires: Mesa-devel => 3.0
27 Requires: gtk+-devel => 1.2.0
30 Static libraries and header files for development using the GtkGLArea
33 %description -l wa devel
34 Ci paket chal a dvins les fitchîs *.h eyèt les statikès lîvreyes k' i gn a
35 mezåjhe po fé des porogrames avou les foncsions di GtkGLArea.
38 Summary: GtkGLArea OpenGL OpenGL for GTK+ static libraries
40 Requires: %{name}-devel = %{version}
43 GtkGLArea OpenGL OpenGL for GTK+ static libraries.
53 rm -rf $RPM_BUILD_ROOT
55 make DESTDIR=$RPM_BUILD_ROOT install
57 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
59 gzip -9nf AUTHORS ChangeLog NEWS README docs/HOWTO.txt docs/gdkgl.txt \
62 %post -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_libdir}/lib*.so.*.*
73 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/lib*.so
78 %attr(755,root,root) %{_libdir}/lib*.la
82 %attr(644,root,root) %{_libdir}/lib*.*a