Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
gtkglext
gtkglext.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtkglext.spec of Package gtkglext
# # spec file for package gtkglext # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gtkglext Version: 1.2.0 Release: 0 # NOTE: on upgrade to a new upstream version, change the Obsoletes from <= to < (here and in baselibs.conf) Summary: OpenGL Extension to GTK License: GPL-2.0+ Group: System/Libraries Url: http://www.k-3d.org/gtkglext/ Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM gtkglext-no-deprecated-flags.patch bnc617677 vuntz@opensuse.org -- Don't hardcode *_DISBLE_DEPRECATED flags. Also done upstream in git as e49bf7381c3aec86044445bc83c35d1b1f3ffa4c Patch0: gtkglext-no-deprecated-flags.patch Source99: baselibs.conf BuildRequires: freeglut-devel # For directory ownership: BuildRequires: gtk-doc BuildRequires: gtk2-devel BuildRequires: libdrm-devel 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. %package -n libgtkglext-x11-1_0-0 Summary: OpenGL Extension to GTK Group: System/Libraries Provides: %{name} = %{version} # Note: we keep <= (and a rpmlint warning...) until we get a version higher than 1.2.0 (when this provides/obsoletes was introduced) Obsoletes: %{name} <= %{version} %description -n libgtkglext-x11-1_0-0 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. %package devel Summary: OpenGL Extension to GTK Group: System/Libraries Requires: libgtkglext-x11-1_0-0 = %{version} Requires: Mesa-devel # Those are listed as Libs in gdkglext-1.0.pc, and therefore are not # automatically added Requires: pkgconfig(gl) Requires: pkgconfig(glu) Requires: pkgconfig(ice) Requires: pkgconfig(sm) Requires: pkgconfig(xmu) Requires: pkgconfig(xt) %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. %package doc Summary: Documentation of the OpenGL Extension to GTK Group: System/Libraries Requires: libgtkglext-x11-1_0-0 = %{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. %prep %setup -q %patch0 -p1 %build # Required for gtkglext-1.2.0: export CFLAGS="%{optflags} -fno-strict-aliasing" %configure --with-pic \ --disable-static %{__make} %{?jobs:-j%jobs} %install %makeinstall rm -f %{buildroot}%{_libdir}/*.la %clean rm -rf %{buildroot} %post -n libgtkglext-x11-1_0-0 -p /sbin/ldconfig %postun -n libgtkglext-x11-1_0-0 -p /sbin/ldconfig %files -n libgtkglext-x11-1_0-0 %defattr (-, root, root) # NEWS is empty %doc AUTHORS COPYING COPYING.LIB ChangeLog INSTALL README TODO %{_libdir}/libgdkglext-x11-1.0.so.* %{_libdir}/libgtkglext-x11-1.0.so.* %files devel %defattr (-, root, root) %{_datadir}/aclocal/gtkglext-1.0.m4 %{_libdir}/gtkglext-1.0/ %{_libdir}/libgdkglext-x11-1.0.so %{_libdir}/libgtkglext-x11-1.0.so %{_libdir}/pkgconfig/gdkglext-1.0.pc %{_libdir}/pkgconfig/gdkglext-x11-1.0.pc %{_libdir}/pkgconfig/gtkglext-1.0.pc %{_libdir}/pkgconfig/gtkglext-x11-1.0.pc %{_includedir}/gtkglext-1.0/ %files doc %defattr (-, root, root) %doc %{_datadir}/gtk-doc/html/gtkglext/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor