%define majver %(echo %version | cut -d. -f 1-2) Name: libgtkglarea Version: 2.0.1 Release: 1mamba Summary: An OpenGL widget for GTK+ GUI toolkit. Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: http://ftp.gnome.org/pub/GNOME/sources/gtkglarea/%{majver}/gtkglarea-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libGL-devel BuildRequires: libglib-devel BuildRequires: libGLU-devel BuildRequires: libgtk-devel BuildRequires: libpango-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description GtkGLArea is an OpenGL widget for GTK+ GUI toolkit. Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl which is basically wrapper around GLX functions. The widget itself is derived from GtkDrawinigArea widget and adds only few extra functions. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version} %description devel GtkGLArea is an OpenGL widget for GTK+ GUI toolkit. Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl which is basically wrapper around GLX functions. The widget itself is derived from GtkDrawinigArea widget and adds only few extra functions. This package contains static libraries and header files need for development. %prep %setup -q -n gtkglarea-%{version} %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %doc AUTHORS COPYING ChangeLog README %files devel %defattr(-,root,root) %dir %{_includedir}/gtkgl-2.0/gtkgl %{_includedir}/gtkgl-2.0/gtkgl/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_exec_prefix}/lib/pkgconfig/*.pc %changelog * Tue Jul 21 2009 Automatic Build System 2.0.1-1mamba - automatic update by autodist * Mon Sep 15 2008 gil 2.0.0-1mamba - update to 2.0.0 * Thu Nov 10 2005 Massimo Pintore 1.99.0-1qilnx - package created by autospec