File clutter-gst.spec of Package clutter-gst

#
# spec file for package clutter-gst (Version 1.0.0)
#
# Copyright (c) 2010 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


Name:           clutter-gst
BuildRequires:  clutter-devel
BuildRequires:  gobject-introspection-devel
BuildRequires:  gstreamer-0_10-devel
BuildRequires:  gstreamer-0_10-plugins-base-devel
License:        LGPLv2.1+
Group:          System/Libraries
Version:        1.0.0
Release:        3
# FIXME: make sure introspection files are built once we have gobject-introspection 0.6.8
Source:         http://www.clutter-project.org/sources/clutter-gst/0.10/%{name}-%{version}.tar.bz2
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}
Requires:       clutter-devel
Requires:       gstreamer-0_10-devel
Requires:       gstreamer-0_10-plugins-base-devel
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 %{?jobs:-j%jobs}
make %{?jobs:-j%jobs} check

%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la

%post -n libclutter-gst-1_0-0 -p /sbin/ldconfig  

%postun -n libclutter-gst-1_0-0 -p /sbin/ldconfig  

%clean
rm -rf %{buildroot}

%files -n libclutter-gst-1_0-0
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_datadir}/gir-1.0/ClutterGst-1.0.gir
%{_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}/gtk-doc/html/clutter-gst

%changelog
openSUSE Build Service is sponsored by