Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37568415
en ru br
ALT Linux repositórios
S:1.2.0-alt5
5.0: 1.2.0-alt1.1
4.1: 1.2.0-alt1
4.0: 1.2.0-alt0.1
3.0: 1.0.6-alt1

Group :: Sistema/Bibliotecas
RPM: gtkglext

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define ver_major 1.2
%def_disable static

Name: gtkglext
Version: %ver_major.0
Release: alt0.1

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

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://dl.sf.net/gtkglext/%name-%version.tar.bz2
#Source: http://mesh.dl.sourceforge.net/sourceforge/gtkglext/%name-%version.tar.bz2

# gentoo patch see http://bugs.gentoo.org/show_bug.cgi?id=105493

#Patch:  gtkglext-1.0.6-requires-pangox.patch

%define gtk_ver 2.4.0
%define gtk_doc_ver 1.1

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

# Automatically added by buildreq on Sun Nov 19 2006

BuildRequires: gcc-c++ glibc-devel-static gtk-doc imake indent libgtk+2-devel libmesa-devel libXmu-devel xorg-cf-files

%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 glib2-devel libpango-devel freetype2-devel libatk-devel
# FC compat
Provides: gtkglext-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.

%prep
%setup -q
#%patch -p1

%build
#%__autoreconf
%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/*
%_aclocaldir/*
%_pkgconfigdir/*
%doc %_gtkdocdir/*

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

%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