File glitz.spec of Package glitz

#
# spec file for package glitz (Version 0.5.6)
#
# 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/
#



Name:           glitz
BuildRequires:  Mesa-devel glib2-devel xorg-x11-devel
Version:        0.5.6
Release:        133
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
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} glib2-devel xorg-x11-devel xorg-x11-Mesa-devel

%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
%patch -p1

%build
autoreconf -fi
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install

%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}/*.*a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*

%changelog
* 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.
* Sat Jul 29 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