rebuilt with --enable-egl-backent required by mutter 3.14 and enabled other features [release 1.20.0-2mamba;Thu Oct 09 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 04:00:40 +01:00
parent ed00c38335
commit 4b115d6a8f

View File

@ -1,7 +1,8 @@
%define majver %(echo %version | cut -d. -f 1-2)
%define apiver 1.0
Name: libclutter
Version: 1.20.0
Release: 1mamba
Release: 2mamba
Summary: Open Source software library for creating fast, compelling, portable, and dynamic graphical user interfaces
Group: Development/Libraries
Vendor: openmamba
@ -14,45 +15,43 @@ Patch0: Use-a-native-format-for-atlas-textures.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng12-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXi-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcogl-devel
BuildRequires: libdrm-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgbm-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: gettext
BuildRequires: gtk-doc
BuildRequires: libcogl-devel
Provides: clutter
Obsoletes: clutter
# FIXME: obsoletes can be removed from 1.20
Obsoletes: libclutter = 1.19.8
Obsoletes: libclutter = 1.19.6
Obsoletes: libclutter = 1.19.4
Obsoletes: libclutter = 1.19.2
Requires: gobject-introspection
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -65,15 +64,9 @@ Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: clutter-devel
Obsoletes: clutter-devel
# FIXME: obsoletes can be removed from 1.20
Obsoletes: libclutter-devel = 1.19.8
Obsoletes: libclutter-devel = 1.19.6
Obsoletes: libclutter-devel = 1.19.4
Obsoletes: libclutter-devel = 1.19.2
%description devel
Clutter is an open source software library for creating fast, compelling, portable, and dynamic graphical user interfaces.
This package contains libraries and header files need for development.
%package doc
@ -85,7 +78,6 @@ Obsoletes: clutter-doc
%description doc
Clutter is an open source software library for creating fast, compelling, portable, and dynamic graphical user interfaces.
This package contains documentation for %{name}.
%package static
@ -97,23 +89,21 @@ Obsoletes: clutter-static
%description static
Clutter is an open source software library for creating fast, compelling, portable, and dynamic graphical user interfaces.
This package contains static libraries need for development.
%prep
%setup -q -n clutter-%{version}
#%patch0 -p1 -b .atlas-textures
%build
# --disable-gtk-doc --disable-conformance
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc ; fi;
%configure $CONFIGFLAGS \
--enable-xinput
if ! test -f ChangeLog; then
echo "Created from snapshot" > ChangeLog
fi
)
%configure \
--enable-gtk-doc \
--enable-xinput \
--enable-egl-backend \
--enable-evdev-input
# TODO: requires cogl with wayland server support which in turn requires wayland-egl from MESA
# --enable-wayland-compositor \
# --enable-tslib-input \
%make
@ -121,7 +111,7 @@ This package contains static libraries need for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang clutter-1.0
%find_lang clutter-%{apiver}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -129,48 +119,50 @@ This package contains static libraries need for development.
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f clutter-1.0.lang
%files -f clutter-%{apiver}.lang
%defattr(-,root,root)
%{_libdir}/libclutter-1.0.so.*
%{_libdir}/libclutter-glx-*.so.*
%{_libdir}/girepository-1.0/ClutterGdk-1.0.typelib
%{_libdir}/girepository-?.?/Cally-?.?.typelib
%{_libdir}/girepository-?.?/Clutter-?.?.typelib
%{_libdir}/girepository-?.?/ClutterX11-?.?.typelib
#%{_libdir}/girepository-?.?/Cogl-?.?.typelib
%{_libdir}/libclutter-%{apiver}.so.*
%{_libdir}/libclutter-glx-%{apiver}.so.*
%{_libdir}/girepository-1.0/ClutterGdk-%{apiver}.typelib
%{_libdir}/girepository-?.?/Cally-%{apiver}.typelib
%{_libdir}/girepository-?.?/Clutter-%{apiver}.typelib
%{_libdir}/girepository-?.?/ClutterX11-%{apiver}.typelib
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/clutter-1.0
%dir %{_includedir}/clutter-1.0/clutter
%dir %{_includedir}/clutter-1.0/clutter/deprecated
%{_includedir}/clutter-1.0/clutter/deprecated/*.h
%dir %{_includedir}/clutter-1.0/clutter/gdk
%{_includedir}/clutter-1.0/clutter/gdk/clutter-gdk.h
%dir %{_includedir}/clutter-1.0/cally
%{_includedir}/clutter-1.0/cally/*.h
%dir %{_includedir}/clutter-1.0/clutter
%{_includedir}/clutter-1.0/clutter/*.h
%dir %{_includedir}/clutter-1.0/clutter/glx
%{_includedir}/clutter-1.0/clutter/glx/*.h
%dir %{_includedir}/clutter-1.0/clutter/x11
%{_includedir}/clutter-1.0/clutter/x11/*.h
%{_libdir}/libclutter-1.0.la
%{_libdir}/libclutter-1.0.so
%{_libdir}/pkgconfig/clutter-gdk-1.0.pc
%dir %{_includedir}/clutter-%{apiver}
%dir %{_includedir}/clutter-%{apiver}/clutter
%dir %{_includedir}/clutter-%{apiver}/clutter/deprecated
%{_includedir}/clutter-%{apiver}/clutter/deprecated/*.h
%dir %{_includedir}/clutter-%{apiver}/clutter/gdk
%{_includedir}/clutter-%{apiver}/clutter/gdk/clutter-gdk.h
%dir %{_includedir}/clutter-%{apiver}/cally
%{_includedir}/clutter-%{apiver}/cally/*.h
%dir %{_includedir}/clutter-%{apiver}/clutter
%{_includedir}/clutter-%{apiver}/clutter/*.h
%dir %{_includedir}/clutter-%{apiver}/clutter/egl
%{_includedir}/clutter-%{apiver}/clutter/egl/*.h
%dir %{_includedir}/clutter-%{apiver}/clutter/glx
%{_includedir}/clutter-%{apiver}/clutter/glx/*.h
%dir %{_includedir}/clutter-%{apiver}/clutter/x11
%{_includedir}/clutter-%{apiver}/clutter/x11/*.h
%{_libdir}/libclutter-%{apiver}.la
%{_libdir}/libclutter-%{apiver}.so
%{_libdir}/pkgconfig/clutter-gdk-%{apiver}.pc
#%{_includedir}/clutter-?.?/cogl/*.h
%{_libdir}/libclutter-glx-?.?.so
%{_libdir}/pkgconfig/cally-?.?.pc
%{_libdir}/pkgconfig/clutter-?.?.pc
%{_libdir}/pkgconfig/clutter-glx-?.?.pc
%{_libdir}/pkgconfig/clutter-x11-?.?.pc
%{_libdir}/pkgconfig/clutter-cogl-?.?.pc
%{_libdir}/libclutter-glx-%{apiver}.so
%{_libdir}/pkgconfig/cally-%{apiver}.pc
%{_libdir}/pkgconfig/clutter-%{apiver}.pc
%{_libdir}/pkgconfig/clutter-glx-%{apiver}.pc
%{_libdir}/pkgconfig/clutter-x11-%{apiver}.pc
%{_libdir}/pkgconfig/clutter-cogl-%{apiver}.pc
%{_libdir}/pkgconfig/clutter-egl-%{apiver}.pc
#%{_libdir}/pkgconfig/cogl-gl-?.?.pc
%{_datadir}/gir-1.0/ClutterGdk-1.0.gir
%{_datadir}/gir-?.?/Cally-?.?.gir
%{_datadir}/gir-?.?/Clutter-?.?.gir
%{_datadir}/gir-?.?/ClutterX11-?.?.gir
%{_datadir}/gir-1.0/ClutterGdk-%{apiver}.gir
%{_datadir}/gir-?.?/Cally-%{apiver}.gir
%{_datadir}/gir-?.?/Clutter-%{apiver}.gir
%{_datadir}/gir-?.?/ClutterX11-%{apiver}.gir
#%{_datadir}/gir-?.?/Cogl-?.?.gir
%doc README ChangeLog* NEWS
@ -181,6 +173,9 @@ This package contains static libraries need for development.
#%{_datadir}/gtk-doc/html/cogl
%changelog
* Thu Oct 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.0-2mamba
- rebuilt with --enable-egl-backent required by mutter 3.14 and enabled other features
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 1.20.0-1mamba
- automatic version update by autodist