Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37787563
en ru br
ALT Linux repositórios
S:2.1.0-alt1_1
5.0: 1.99.0-alt3
4.1: 1.99.0-alt3
4.0: 1.99.0-alt3
3.0: 1.99.0-alt2

Group :: Sistema/Bibliotecas
RPM: gtkglarea2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define version 1.99.0
%define release alt3
%define fname gtkglarea
%define name gtkglarea2
%def_disable static

Summary: GtkGLArea is an OpenGL widget for GTK+ GUI toolkit
Name: %name
Version: %version
Release: %release
License: LGPL
Group: System/Libraries
Source: %fname-%version.tar.bz2
Url: http://www.student.oulu.fi/~jlof/gtkglarea/

BuildPreReq: pkgconfig, libgtk+2-devel, libmesa-devel

Packager: Egor S. Orlov <oes at altlinux.ru>

%description
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 very similar
to GtkDrawinigArea widget and adds only three extra functions.

Lower level gdkgl functions make it easy to render on any widget that has
OpenGL capable visual, rendering to off-screen pixmaps is also supported.

Related project which may iterest those who use GTK-- is GtkGLArea--. It is a
C++ wrapper for gtkglarea written by Karl Nelson <kenelson at ece.ucdavis.edu>.

%package devel
Summary: GtkGLArea is an OpenGL widget for GTK+ -- include files
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

%description devel
include files you can use for GtkGLArea development

%package devel-static
Summary: GtkGLArea is an OpenGL widget for GTK+ --  static libs
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

%description devel-static
Static libraries you can use for GtkGLArea development

%prep
%setup -q -n%fname-%version

%configure %{subst_enable static}
%make_build

%install
%makeinstall
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;

%post
%post_ldconfig

%postun
%postun_ldconfig

%files
%doc AUTHORS COPYING ChangeLog NEWS README docs/*.txt
%_libdir/libgtkgl-2.0.so.*

%files devel
%_libdir/*.so
#_libdir/*.la
%_libdir/pkgconfig/gtkgl*
%_includedir/gtkgl-2.0/*

%if_enabled static
%files devel-static
%_libdir/*.a
%endif # static

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009