Репозиторий Sisyphus
Последнее обновление: 18 мая 2022 | Пакетов: 17610 | Посещений: 23648320
en ru br
Репозитории ALT
S:2.1.0-alt1_1
4.1: 1.99.0-alt3
4.0: 1.99.0-alt3
3.0: 1.99.0-alt2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: gtkglarea2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin