File clutter.spec of Package clutter
#
# spec file for package clutter (Version 1.0.6)
#
# Copyright (c) 2009 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
Name: clutter
Version: 1.0.6
Release: 1
License: LGPL v2.1 or later
Group: System/Libraries
Source0: http://www.clutter-project.org/sources/clutter/0.6/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: Mesa-devel
BuildRequires: glib2-devel >= 2.14
BuildRequires: gobject-introspection-devel
BuildRequires: gtk2-devel
BuildRequires: pango-devel
BuildRequires: xmlto
BuildRequires: xorg-x11-devel xorg-x11-libXfixes-devel
BuildRequires: fdupes
Url: http://clutter-project.org/
%define debug_package_requires libclutter-glx-1_0-0 = %{version}-%{release}
%description
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
%package -n libclutter-glx-1_0-0
License: LGPL v2.1 or later
Summary: The clutter library
Group: System/Libraries
%description -n libclutter-glx-1_0-0
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
%package devel
License: LGPL v2.1 or later
Summary: The clutter library (Development)
Requires: libclutter-glx-1_0-0 = %{version}
Requires: Mesa-devel
Requires: cairo-devel
Requires: glib2-devel >= 2.14
Requires: gtk2-devel
Requires: pango-devel
Requires: xorg-x11-devel
Requires: xorg-x11-libX11-devel
Requires: xorg-x11-libXext-devel
Requires: xorg-x11-libXfixes-devel
Group: Development/Libraries/GNOME
%description devel
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. This package contain the
files for development.
%package doc
License: LGPL v2.1 or later
Summary: The clutter library (Documentation)
Group: System/Libraries
%description doc
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. This package contain the
documentation.
%prep
%setup -q
%build
%configure --disable-static
make %{?jobs:-j%jobs}
make %{?jobs:-j%jobs} check
%install
%makeinstall
%{__rm} %{buildroot}/%{_libdir}/*.la
%fdupes -s $RPM_BUILD_ROOT/%{_datadir}/gtk-doc/html
%fdupes $RPM_BUILD_ROOT
%post -n libclutter-glx-1_0-0 -p /sbin/ldconfig
%postun -n libclutter-glx-1_0-0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libclutter-glx-1_0-0
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_datadir}/gir-1.0
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/clutter-1.0
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/clutter
%{_datadir}/gtk-doc/html/cogl
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%changelog