File gtkglext.spec of Package gtkglext
#
# spec file for package gtkglext (Version 1.2.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gtkglext
BuildRequires: freeglut-devel gtk2-devel libdrm-devel
# For directory ownership:
BuildRequires: gtk-doc
Version: 1.2.0
Release: 139
Url: http://www.k-3d.org/gtkglext/
Group: System/Libraries
License: GPL v2 or later
Summary: OpenGL Extension to GTK
Source: %{name}-%{version}.tar.bz2
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
that support OpenGL rendering in GTK and GtkWidget API add-ons, to make
GTK+ widgets OpenGL-capable.
Authors:
--------
Naofumi Yasufuku <naofumi@users.sourceforge.net>
Alif Wahid <awah005@users.sourceforge.net>
Igor Fernandez de Bustos <impfedei@bi.ehu.es>
%package devel
License: GPL v2 or later
Group: System/Libraries
Summary: OpenGL Extension to GTK
Requires: %{name} = %{version} glib2-devel gtk2-devel pango-devel Mesa-devel
%description devel
GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
which support OpenGL rendering in GTK, and GtkWidget API add-ons to
make GTK+ widgets OpenGL-capable.
Authors:
--------
Naofumi Yasufuku <naofumi@users.sourceforge.net>
Alif Wahid <awah005@users.sourceforge.net>
Igor Fernandez de Bustos <impfedei@bi.ehu.es>
%package doc
License: GPL v2 or later
Group: System/Libraries
Summary: Documentation of the OpenGL Extension to GTK
Requires: %{name} = %{version}
%description doc
This package contains additional documentation for gtkglext.
GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
which support OpenGL rendering in GTK, and GtkWidget API add-ons to
make GTK+ widgets OpenGL-capable.
Authors:
--------
Naofumi Yasufuku <naofumi@users.sourceforge.net>
Alif Wahid <awah005@users.sourceforge.net>
Igor Fernandez de Bustos <impfedei@bi.ehu.es>
%prep
%setup -q
%build
# Required for gtkglext-1.2.0:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --with-pic \
--disable-static
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-, root, root)
# NEWS is empty
%doc AUTHORS COPYING COPYING.LIB ChangeLog INSTALL README TODO
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_datadir}/aclocal/*.m4
%{_libdir}/gtkglext-1.0
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%files doc
%defattr (-, root, root)
%{_datadir}/gtk-doc/html/*
%changelog
* Thu Jul 10 2008 crrodriguez@suse.de
- missing Mesa-devel dependency on -devel package causes
python-gtkglext build faliure
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Wed Feb 07 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
* Tue Jan 30 2007 sbrabec@suse.cz
- Updated to version 1.2.0:
* Build GtkGLExt against GTK+ >= 2.8.
* Typo fixes, documentation update.
- Prefix changed to /usr.
- Spec file cleanup.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Feb 11 2005 sbrabec@suse.cz
- New SuSE package, version 1.0.6.