File clutter-gst.spec of Package clutter-gst
#
# spec file for package clutter-gst
#
# 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/
#
Name: clutter-gst
BuildRequires: gobject-introspection-devel
BuildRequires: gstreamer-0_10-devel >= 0.10.26
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: pkgconfig(clutter-1.0) >= 1.4.0
BuildRequires: pkgconfig(cogl-1.0) >= 1.8.0
License: LGPLv2.1+
Group: System/Libraries
Version: 1.4.2
Release: 1
Source0: http://download.gnome.org/sources/clutter-gst/1.4/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
Url: http://clutter-project.org/
Summary: GStreamer integration for Clutter
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libclutter-gst-1_0-0 = %{version}-%{release}
%description
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
Clutter GStreamer enables the use of GStreamer with Clutter.
%package -n libclutter-gst-1_0-0
License: LGPLv2.1+
Summary: GStreamer integration for Clutter
Group: System/Libraries
%description -n libclutter-gst-1_0-0
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
Clutter GStreamer enables the use of GStreamer with Clutter.
%package devel
License: LGPLv2.1+
Summary: GStreamer integration for Clutter
Group: Development/Libraries/C and C++
Requires: libclutter-gst-1_0-0 = %{version}
Provides: clutter-doc = %{version}
Obsoletes: clutter-doc < %{version}
%description devel
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
Clutter GStreamer enables the use of GStreamer with Clutter.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%check
make %{?_smp_mflags} check
%post -n libclutter-gst-1_0-0 -p /sbin/ldconfig
%postun -n libclutter-gst-1_0-0 -p /sbin/ldconfig
%files -n libclutter-gst-1_0-0
%defattr(-,root,root)
%doc README COPYING
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/ClutterGst-1.0.typelib
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/clutter-1.0/*
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/ClutterGst-1.0.gir
%doc %{_datadir}/gtk-doc/html/clutter-gst
%changelog