File clutter-gtk.spec of Package clutter-gtk
#
# spec file for package clutter-gtk
#
# Copyright (c) 2011 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/
#
Summary: GTK+ integration for Clutter
Name: clutter-gtk
Version: 1.0.4
Release: 1
License: LGPLv2.1+
Group: System/Libraries
Url: http://clutter-project.org/
Source0: http://download.gnome.org/sources/clutter-gtk/1.0/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: libtool
BuildRequires: pkgconfig(clutter-x11-1.0)
BuildRequires: pkgconfig(gtk+-x11-3.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
Clutter GTK+ enables the use of GTK+ with Clutter.
%package -n libclutter-gtk-1_0-0
License: LGPLv2.1+
Summary: GTK+ integration for Clutter
Group: System/Libraries
Recommends: %{name}-lang
# To make lang package installable
Provides: %{name} = %{version}
%description -n libclutter-gtk-1_0-0
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
Clutter GTK+ enables the use of GTK+ with Clutter.
%package devel
License: LGPLv2.1+
Summary: GTK+ integration for Clutter - Development Files
Requires: libclutter-gtk-1_0-0 = %{version}
Provides: clutter-gtk-doc = %{version}
Obsoletes: clutter-gtk-doc < %{version}
Group: Development/Libraries/GNOME
%description devel
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
Clutter GTK+ enables the use of GTK+ with Clutter.
%lang_package
%prep
%setup -q
%build
%configure --disable-static \
--enable-gtk-doc
make %{?_smp_mflags}
%check
make %{?_smp_mflags} check
%install
%makeinstall
%{__rm} %{buildroot}/%{_libdir}/*.la
%find_lang cluttergtk-1.0 %{?no_lang_C}
%post -n libclutter-gtk-1_0-0 -p /sbin/ldconfig
%postun -n libclutter-gtk-1_0-0 -p /sbin/ldconfig
%files -n libclutter-gtk-1_0-0
%defattr(-,root,root)
%doc README COPYING
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/GtkClutter-1.0.typelib
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/clutter-gtk-1.0/
%{_libdir}/pkgconfig/clutter-gtk-1.0.pc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/clutter-gtk-1.0/
%files lang -f cluttergtk-1.0.lang
%changelog