Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37546132
en ru br
Репозитории ALT
S:1.2.0-alt5
5.1: 1.2.0-alt1.1
4.1: 1.2.0-alt1
4.0: 1.2.0-alt0.1
3.0: 1.0.6-alt1
www.altlinux.org/Changes

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

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 1.0
%def_disable static

Name: gtkglext
Version: %ver_major.6
Release: alt1

Summary: An OpenGL extention to GTK2
License: LGPL
Group: System/Libraries
Url: http://gtkglext.sourceforge.net/

Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2

%define gtk_ver 2.4.0
%define gtk_doc_ver 1.1

BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: gtk-doc >= %gtk_doc_ver

# Automatically added by buildreq on Thu Mar 18 2004

BuildRequires: XFree86-devel-static XFree86-libs docbook-dtds docbook-style-xsl fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel gtk-doc indent libGLU-devel libatk-devel libgtk+2-devel libpango-devel libstdc++-devel pkgconfig xml-common xsltproc

%description
GtkGLExt is an OpenGL extension to GTK2.

This package is composed of GdkGLExt library and GtkGLExt library.
GdkGLExt library provides the GDK objects which support OpenGL
rendering in GTK. GtkGLExt library provides the GtkWidget API add-ons
to make GTK+ widgets OpenGL-capable.

%package -n lib%name
Summary: An OpenGL extention to GTK2
Group: System/Libraries

%description -n lib%name
A library of dynamically linked GtkGLExt

%package -n lib%name-devel
Summary: An OpenGL extention to GTK2 development files
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: libgtk+2-devel glib-devel libpango-devel freetype2-devel libatk-devel

%description -n lib%name-devel
This package contents development files and documentation
for compiling programs that use GtkGLExt.

%package -n lib%name-devel-static
Summary: An OpenGL extention to GTK2 static libraries
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
This package contains the libraries needed for compiling programs
statically linked against GtkGLExt.

%define _gtk_docdir %_datadir/gtk-doc/html

%prep
%setup -q

%build
%configure --enable-gtk-doc \
   %{subst_enable static}

%make_build
#%make_build examples

%install
%makeinstall

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -n lib%name
%_libdir/*.so.*
%dir %_libdir/%name-1.0
%doc AUTHORS README* ChangeLog TODO

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/%name-1.0/*
%_datadir/aclocal/*
%_libdir/pkgconfig/*
%doc %_gtk_docdir/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%changelog

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

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