File glitz.spec of Package glitz

#
# spec file for package glitz (Version 0.5.6)
#
# Copyright (c) 2008 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:           glitz
BuildRequires:  Mesa-devel glib2-devel xorg-x11-devel
Version:        0.5.6
Release:        185
Url:            http://www.freedesktop.org/Software/glitz
Group:          Development/Libraries/X11
License:        X11/MIT
Summary:        Glitz--OpenGL Image Compositing Library
Source:         %{name}-%{version}.tar.bz2
Patch:          %{name}-libtool.patch
AutoReqProv:    on
# bug437293
%ifarch ppc64
Obsoletes:      glitz-64bit
%endif
%ifarch  ppc
Obsoletes:      glitz-32bit
%endif
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Glitz is an OpenGL image compositing library. Glitz provides
Porter/Duff compositing of images and implicit mask generation for
geometric primitives, including trapezoids, triangles, and rectangles.
The semantics of Glitz are designed to precisely match the
specification of the X Render extension. Glitz not only implements X
Render features, like component alpha and image transformations, but
also support for additional features like convolution filters and color
gradients, which are not currently part of the X Render specification.
The performance and capabilities of Glitz are very dependent on
thegraphics hardware. Glitz does not in any way handle software
fallbacks when graphics hardware is insufficient. However, it will
report if any requested operation cannot be carried out by thegraphics
hardware, making a higher level software layer responsible for
appropriate actions.



Authors:
--------
    David Reveman <davidr@novell.com>
    Peter Nilsson <c99pnn@cs.umu.se>

%package devel
License:        X11/MIT
Group:          Development/Libraries/X11
Summary:        glitz - OpenGL image compositing library
Requires:       %{name} = %{version} xorg-x11-libX11-devel
# bug437293
%ifarch ppc64
Obsoletes:      glitz-devel-64bit
%endif
%ifarch  ppc
Obsoletes:      glitz-devel-32bit
%endif
#

%description devel
Glitz is an OpenGL image compositing library. Glitz provides
Porter/Duff compositing of images and implicit mask generation for
geometric primitives including trapezoids, triangles, and rectangles.

The semantics of glitz are designed to precisely match the
specification of the X Render extension. Glitz does not only implement
X Render features like component alpha and image transformations, but
also support for additional features like convolution filters and color
gradients, which are not currently part of the X Render specification.

The performance and capabilities of glitz are much dependent on
graphics hardware. Glitz does not in any way handle software fall-backs
when graphics hardware is insufficient. However, glitz will report if
any requested operation cannot be carried out by graphics hardware,
hence making a higher level software layer responsible for appropriate
actions.



Authors:
--------
    David Reveman <davidr@novell.com>
    Peter Nilsson <c99pnn@cs.umu.se>

%prep
%setup -q
%patch -p1

%build
autoreconf -fiv
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*

%changelog
* Tue Dec 09 2008 ro@suse.de
- remove ix86 from ifarch statement obsoleting 32bit package
* Mon Nov 24 2008 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Tue Nov 11 2008 ro@suse.de
- SLE-11 uses PPC64 instead of PPC, adapt baselibs.conf
* Fri Jun 27 2008 crrodriguez@suse.de
- remove unusable static libraries
* Tue Apr 15 2008 schwab@suse.de
- Avoid libtool namespace clash.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Fri Dec 08 2006 sbrabec@suse.cz
- Spec file cleanup.
* Fri Jul 28 2006 gekker@suse.de
- Update to version 0.5.6
  - Fix typo in AGL format initialization
  - Add experimental code for avoiding context switches when uploading
  pixel data.
  - Add support for avoiding context switches.
  - CopySubBufferMESA support.
  - Mipmap filters.
  - Fix so that GL_ARB_texture_rectangle and GL_ARB_texture_border_clamp
  are not required for texture object creation.
  - Patch together clipped fetching of pixels.
  - Flip clip box if output scanline order is bottom up.
  - GLX 1.3 or later includes fbconfig and pbuffer support.
  - Pretend we have GLX 1.3 if vendor is ATI.
  - Set GLITZ_FOURCC_RGB on all formats
  - Appropriate glReadBuffer/glDrawBuffer support.
  - Fix texture filter and wrap typo.
  - Add program_map_init after fini in drawable_destroy
  - YV12 surface support
  - New radial gradient.
  - Add WGL backend.
  - AGL backend updates
  - New GL_EXT_framebuffer_object interface.
  - Indent and white-space cleanup.
* Sat Feb 04 2006 aj@suse.de
- Require Mesa instead of freeglut for building.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 21 2005 gekker@suse.de
- Removed reference to build directory in installed .la files.
* Thu Aug 18 2005 sbrabec@suse.cz
- Moved so file to devel subpackage (#105470).
* Wed Aug 17 2005 gekker@suse.de
- Update to version 0.4.4
* Fri Aug 05 2005 ro@suse.de
- fix typo in requires
* Wed Aug 03 2005 gekker@suse.de
- Update to version 0.4.3
* Wed Jan 26 2005 sbrabec@suse.cz
- New SuSE package, version 0.4.0.
openSUSE Build Service is sponsored by