File clutter-gtk.spec of Package clutter-gtk

#
# spec file for package clutter-gtk (Version 0.8.2)
#
# 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/
#

# norootforbuild

Summary:        The Clutter library for Gtk

Name:           clutter-gtk
Version:        0.8.2
Release:        1
License:        LGPL v2.1 or later
Group:          System/Libraries
Source0:        http://www.clutter-project.org/sources/clutter-gtk/0.6/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gtk2-devel pango-devel xmlto
BuildRequires:  clutter-devel >= 0.8
BuildRequires:  gtk-doc >= 1.4
Url:            http://clutter-project.org/
%define debug_package_requires libclutter-gtk-0_8-0 = %{version}-%{release}

%package -n  libclutter-gtk-0_8-0
License:        LGPL v2.1 or later
Summary:        The Clutter library for Gtk
Group:          System/Libraries

%description -n libclutter-gtk-0_8-0
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. Gtk+ support.



%description
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. Gtk+ support.



%package devel
License:        LGPL v2.1 or later
Summary:        The Clutter library for Gtk (Development)
Requires:       libclutter-gtk-0_8-0 = %{version}  
Requires:       Mesa-devel
Requires:       gtk2-devel
Requires:       clutter-devel >= 0.8
Group:          Development/Libraries/GNOME

%description  devel
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. Gtk+ support. This package
contains the development files.



%package doc
License:        LGPL v2.1 or later
Summary:        The Clutter library for Gtk (Documentation)
Group:          System/Libraries

%description doc
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. Gtk+ support. This package
contains the documentation.



%prep
%setup -q

%build
#autoreconf -si
%configure  --enable-gtk-doc
make %{?jobs:-j%jobs}  
make %{?jobs:-j%jobs} check  

%install
DESTDIR=$RPM_BUILD_ROOT make install

%post -n libclutter-gtk-0_8-0 -p /sbin/ldconfig  

%postun -n libclutter-gtk-0_8-0 -p /sbin/ldconfig  

%clean
rm -rf $RPM_BUILD_ROOT

%files -n libclutter-gtk-0_8-0
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_libdir}/*.so.*

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

%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/clutter-gtk/

%changelog
* Wed Oct 22 2008 maw@suse.de
- Make debug packages require a specific %%{version}-%%{release}.
* Sun Oct 19 2008 mboman@suse.de
- Update to version 0.8.2:
  + Fix the GdkPixbuf loading for images without an alpha channel.
  + Update the layout of the stage when getting an allocation from
  GtkClutterEmbed.
  + Fix bug #1114 - Mouse wheel events ignored in GtkClutterEmbed
  + Add more API for extracting the style colors from a GtkWidget
* Tue Aug 19 2008 maw@suse.de
- Fix up the -devel subpackage's requirements.
* Mon Aug 11 2008 hfiguiere@suse.de
- Upgrade to 0.8.1
  * Fix the pkg-config file
  * Really fix bug #907 and enable motion events
* Fri Aug 01 2008 ro@suse.de
- fix requires for debuginfo package
* Wed Jul 16 2008 hfiguiere@suse.de
- Upgrade to 0.8.0
  * lot of changes
  * new API
* Fri Jul 04 2008 hfiguiere@suse.de
- Initial package
openSUSE Build Service is sponsored by