2008-07-16 19:16:20 +00:00
|
|
|
#
|
2011-01-17 17:07:45 +00:00
|
|
|
# spec file for package clutter
|
2008-07-16 19:16:20 +00:00
|
|
|
#
|
2021-12-24 09:37:13 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2008-07-16 19:16:20 +00:00
|
|
|
#
|
2008-10-22 21:41:58 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2019-04-30 09:51:28 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-07-16 19:16:20 +00:00
|
|
|
#
|
|
|
|
|
|
2012-02-25 14:39:17 +00:00
|
|
|
|
2008-07-16 19:16:20 +00:00
|
|
|
Name: clutter
|
2020-04-17 22:39:15 +00:00
|
|
|
Version: 1.26.4
|
2011-12-21 04:23:10 +00:00
|
|
|
Release: 0
|
2017-09-08 15:05:09 +00:00
|
|
|
Summary: Library for creating dynamic user interfaces
|
2018-03-09 10:07:24 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2017-09-08 15:05:09 +00:00
|
|
|
Group: Development/Libraries/GNOME
|
2018-03-09 10:07:24 +00:00
|
|
|
URL: http://clutter-project.org/
|
2020-04-17 22:39:15 +00:00
|
|
|
Source0: https://download.gnome.org/sources/clutter/1.26/%{name}-%{version}.tar.xz
|
2011-07-27 22:08:20 +00:00
|
|
|
Source99: baselibs.conf
|
2021-12-24 09:37:13 +00:00
|
|
|
# PATCH-FIX-UPSTREAM cd4c50db38ea9421deb83f25935a27531aa756a9.patch -- wayland: Protect against enter events for empty surfaces
|
|
|
|
|
Patch0: https://gitlab.gnome.org/GNOME/clutter/-/commit/cd4c50db38ea9421deb83f25935a27531aa756a9.patch
|
2020-04-17 22:39:15 +00:00
|
|
|
|
2008-07-16 19:16:20 +00:00
|
|
|
BuildRequires: fdupes
|
2018-03-09 10:07:24 +00:00
|
|
|
BuildRequires: pkgconfig
|
2010-07-22 21:44:06 +00:00
|
|
|
BuildRequires: xmlto
|
2012-09-07 17:40:16 +00:00
|
|
|
BuildRequires: pkgconfig(atk) >= 2.5.3
|
2015-03-19 14:36:47 +00:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.14.0
|
2015-09-04 11:32:09 +00:00
|
|
|
BuildRequires: pkgconfig(cogl-1.0) >= 1.21.2
|
2014-04-03 20:52:57 +00:00
|
|
|
BuildRequires: pkgconfig(cogl-path-1.0)
|
2017-05-18 18:49:00 +00:00
|
|
|
BuildRequires: pkgconfig(gdk-3.0) >= 3.22.6
|
2015-09-04 11:32:09 +00:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2016-02-19 14:55:22 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.44.0
|
2012-09-07 17:40:16 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
|
2017-09-14 14:37:04 +00:00
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
2012-09-07 17:40:16 +00:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 0.12
|
2011-06-16 08:52:19 +00:00
|
|
|
BuildRequires: pkgconfig(libdrm)
|
2017-09-14 14:37:04 +00:00
|
|
|
BuildRequires: pkgconfig(libinput) >= 0.19.0
|
2014-04-03 20:52:57 +00:00
|
|
|
BuildRequires: pkgconfig(libudev) >= 136
|
2012-09-07 17:40:16 +00:00
|
|
|
BuildRequires: pkgconfig(pangocairo) >= 1.30
|
2011-09-01 23:48:57 +00:00
|
|
|
BuildRequires: pkgconfig(pangoft2)
|
2017-09-14 14:37:04 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
2010-07-22 21:44:06 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
|
BuildRequires: pkgconfig(xi)
|
2013-03-29 20:59:35 +00:00
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
2008-07-16 19:16:20 +00:00
|
|
|
|
|
|
|
|
%description
|
2017-09-08 15:05:09 +00:00
|
|
|
Clutter is a library for creating fast, visually rich and animated
|
|
|
|
|
graphical user interfaces. It uses OpenGL (or GLES) for rendering.
|
2008-07-16 19:16:20 +00:00
|
|
|
|
2011-11-28 08:25:05 +00:00
|
|
|
%package -n libclutter-1_0-0
|
2017-09-08 15:05:09 +00:00
|
|
|
Summary: Library for creating dynamic graphical user interfaces
|
2010-08-06 02:11:30 +00:00
|
|
|
# To make the lang package installable
|
2020-04-17 22:39:15 +00:00
|
|
|
Group: System/Libraries
|
2010-08-06 02:11:30 +00:00
|
|
|
Provides: %{name} = %{version}
|
2012-01-10 21:28:41 +00:00
|
|
|
# This is technically wrong, but we need this for smooth upgrades so that
|
|
|
|
|
# typelib-1_0-Clutter-1_0 can be installed
|
|
|
|
|
Obsoletes: libclutter-glx-1_0-0 < 1.9.0
|
2008-07-16 19:16:20 +00:00
|
|
|
|
2017-09-08 15:05:09 +00:00
|
|
|
%description -n libclutter-1_0-0
|
|
|
|
|
Clutter is a library for creating fast, visually rich and animated
|
|
|
|
|
graphical user interfaces. It uses OpenGL (or GLES) for rendering.
|
|
|
|
|
|
2011-12-12 16:05:03 +00:00
|
|
|
%package -n typelib-1_0-Clutter-1_0
|
2017-09-08 15:05:09 +00:00
|
|
|
Summary: Introspection bindings for the Clutter library
|
2011-12-21 04:23:10 +00:00
|
|
|
# The library got renamed to libclutter-1_0-0. Installation of both
|
|
|
|
|
# packages conflicts (on filelevel: the .typelib kept the name).
|
2017-05-18 18:49:00 +00:00
|
|
|
Group: System/Libraries
|
2011-12-12 16:05:03 +00:00
|
|
|
Conflicts: libclutter-glx-1_0-0
|
|
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Clutter-1_0
|
2017-09-08 15:05:09 +00:00
|
|
|
Clutter is a library for creating fast, visually rich and animated
|
|
|
|
|
graphical user interfaces. It uses OpenGL (or GLES) for rendering.
|
2011-12-12 16:05:03 +00:00
|
|
|
|
2011-12-21 04:23:10 +00:00
|
|
|
This package provides the GObject Introspection bindings for Clutter.
|
2011-12-12 16:05:03 +00:00
|
|
|
|
2008-07-16 19:16:20 +00:00
|
|
|
%package devel
|
2017-09-08 15:05:09 +00:00
|
|
|
Summary: Development files for the Clutter library
|
2010-09-23 22:21:52 +00:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-11-28 08:25:05 +00:00
|
|
|
Requires: libclutter-1_0-0 = %{version}
|
2011-12-12 16:05:03 +00:00
|
|
|
Requires: typelib-1_0-Clutter-1_0 = %{version}
|
2011-09-06 19:49:06 +00:00
|
|
|
Provides: %{name}-doc = %{version}
|
|
|
|
|
Obsoletes: %{name}-doc < %{version}
|
2008-07-16 19:16:20 +00:00
|
|
|
|
|
|
|
|
%description devel
|
2017-09-08 15:05:09 +00:00
|
|
|
Clutter is a library for creating fast, visually rich and animated
|
|
|
|
|
graphical user interfaces.
|
|
|
|
|
This package contains the files for development.
|
2008-07-16 19:16:20 +00:00
|
|
|
|
2010-08-06 02:11:30 +00:00
|
|
|
%lang_package
|
2018-03-09 10:07:24 +00:00
|
|
|
|
2008-07-16 19:16:20 +00:00
|
|
|
%prep
|
2020-04-17 22:39:15 +00:00
|
|
|
%autosetup -p1
|
2020-09-22 09:03:25 +00:00
|
|
|
# we delete here to regenerate them without variations in xsltproc id attributes for bit-reproducible builds results
|
|
|
|
|
find doc/cookbook/html -name \*.html -type f -delete
|
2008-07-16 19:16:20 +00:00
|
|
|
|
|
|
|
|
%build
|
2010-07-22 21:44:06 +00:00
|
|
|
%configure \
|
|
|
|
|
--disable-static \
|
2010-09-23 22:21:53 +00:00
|
|
|
--enable-xinput \
|
2014-04-15 15:27:30 +00:00
|
|
|
--enable-evdev-input \
|
2013-03-30 11:53:34 +00:00
|
|
|
--enable-wayland-backend \
|
2014-04-15 15:27:30 +00:00
|
|
|
--enable-wayland-compositor \
|
|
|
|
|
--enable-egl-backend \
|
2013-03-30 11:53:34 +00:00
|
|
|
--enable-docs
|
2020-04-17 22:39:15 +00:00
|
|
|
%make_build
|
2008-07-16 19:16:20 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-09-08 15:05:09 +00:00
|
|
|
%make_install
|
2018-03-09 10:07:24 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-08-06 02:11:30 +00:00
|
|
|
%find_lang clutter-1.0
|
2010-09-23 22:21:53 +00:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}/gtk-doc/html
|
|
|
|
|
%fdupes %{buildroot}
|
2008-07-16 19:16:20 +00:00
|
|
|
|
2010-07-21 16:08:35 +00:00
|
|
|
%check
|
2014-04-03 20:52:57 +00:00
|
|
|
# make check disabled, as clutter needs access to $DISPLAY to actually work
|
|
|
|
|
# make %{?_smp_mflags} check V=1
|
2010-07-21 16:08:35 +00:00
|
|
|
|
2011-11-28 08:25:05 +00:00
|
|
|
%post -n libclutter-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
%postun -n libclutter-1_0-0 -p /sbin/ldconfig
|
2008-07-16 19:16:20 +00:00
|
|
|
|
2011-11-28 08:25:05 +00:00
|
|
|
%files -n libclutter-1_0-0
|
2018-03-09 10:07:24 +00:00
|
|
|
%license COPYING
|
2020-04-17 22:39:15 +00:00
|
|
|
%doc README.md ChangeLog
|
2008-07-16 19:16:20 +00:00
|
|
|
%{_libdir}/*.so.*
|
2011-12-12 16:05:03 +00:00
|
|
|
|
|
|
|
|
%files -n typelib-1_0-Clutter-1_0
|
2010-07-22 21:44:06 +00:00
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
2008-07-16 19:16:20 +00:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/*.so
|
2009-07-31 19:07:21 +00:00
|
|
|
%{_includedir}/clutter-1.0
|
2008-07-16 19:16:20 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2010-07-22 21:44:06 +00:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2020-04-17 22:39:15 +00:00
|
|
|
%dir %{_datadir}/clutter-1.0/valgrind
|
|
|
|
|
%{_datadir}/clutter-1.0/valgrind/clutter.supp
|
2011-09-06 19:49:06 +00:00
|
|
|
%dir %{_datadir}/clutter-1.0/
|
|
|
|
|
%doc %{_datadir}/clutter-1.0/cookbook/
|
|
|
|
|
%doc %{_datadir}/gtk-doc/html/clutter/
|
|
|
|
|
%doc %{_datadir}/gtk-doc/html/clutter-cookbook/
|
2008-07-16 19:16:20 +00:00
|
|
|
|
2010-08-06 02:11:30 +00:00
|
|
|
%files lang -f clutter-1.0.lang
|
|
|
|
|
|
2008-07-16 19:16:20 +00:00
|
|
|
%changelog
|