Репозиторий Sisyphus
Последнее обновление: 17 января 2021 | Пакетов: 17781 | Посещений: 20065034
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: clutter-gst3.0

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable snapshot

%define _name clutter-gst
%define ver_major 3.0
%define api_ver 3.0
%define gst_api_ver 1.0

%def_enable gtk_doc
%def_enable introspection
# experimental support for hardware accelerated decoders
%def_enable hw

Name: %_name%api_ver
Version: %ver_major.27
Release: alt1

Summary: Library integrating clutter with GStreamer
License: LGPL v2+
Group: System/Libraries
Url: http://www.clutter-project.org/
%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz
%else
Source: %_name-%version.tar
%endif

%define glib_ver 2.18
%define cogl_ver 1.18.2
%define clutter_ver 1.20
%define gst_ver 1.4.0

Requires: gst-plugins-base%gst_api_ver >= %gst_ver
%{?_enable_hw:Requires: gst-plugins-bad%gst_api_ver}

BuildRequires: gtk-doc
BuildRequires: libgio-devel >= %glib_ver libgdk-pixbuf-devel
BuildRequires: gst-plugins%gst_api_ver-devel >= %gst_ver
BuildRequires: libcogl-devel >= %cogl_ver libclutter-devel >= %clutter_ver
BuildRequires: libgudev-devel
%{?_enable_introspection:BuildRequires: libclutter-gir-devel gst-plugins%gst_api_ver-gir-devel}
# for gstreamer-basevideo
%{?_enable_hw:BuildRequires: gst-plugins-bad%gst_api_ver-devel}

%description
Library integrating clutter with GStreamer

%package -n lib%name
Summary: Library integrating clutter with GStreamer
Group: System/Libraries

%description -n lib%name
Library integrating clutter with GStreamer

%package -n lib%name-devel
Summary: Header files for clutter-gst library
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
Header files for clutter-gst library

%package -n lib%name-gir
Summary: GObject introspection data for the Clutter-Gst
Group: System/Libraries
Requires: lib%name = %version-%release

%description -n lib%name-gir
GObject introspection data for the Clutter-Gst library.

%package -n lib%name-gir-devel
Summary: GObject introspection devel data for the Clutter-Gst
Group: Development/Other
BuildArch: noarch
Requires: lib%name-gir = %version-%release
Requires: lib%name-devel = %version-%release

%description -n lib%name-gir-devel
GObject introspection devel data for the Clutter-Gst library.

%package -n gst-plugins-clutter%gst_api_ver
Summary: Clutter plugin for Gstreamer-1.0
Group: System/Libraries
Requires: lib%name = %version-%release

%description -n gst-plugins-clutter%gst_api_ver
This package provides Clutter plugin for Gstreamer (1.0 API version)

%package -n lib%name-devel-doc
Summary: Clutter-Gst development documentation
Group: Development/Documentation
BuildArch: noarch
Conflicts: lib%name-devel < %version

%description -n lib%name-devel-doc
This package contains documentation necessary to develop applications
that use Clutter-Gst libraries.

%prep
%setup -n %_name-%version

%build
%autoreconf
%configure \
--disable-static \
%{?_enable_gtk_doc:--enable-gtk-doc}

%make_build

%install
%makeinstall_std

%files -n lib%name
%_libdir/lib%_name-*.so.*

%files -n lib%name-devel
%_includedir/clutter-*
%_libdir/lib%_name-*.so
%_pkgconfigdir/*.pc

%if_enabled introspection
%files -n lib%name-gir
%_typelibdir/ClutterGst-%api_ver.typelib

%files -n lib%name-gir-devel
%_girdir/ClutterGst-%api_ver.gir
%endif

%files -n gst-plugins-clutter%gst_api_ver
%_libdir/gstreamer-%gst_api_ver/*.so
%exclude %_libdir/gstreamer-%gst_api_ver/*.la

%if_enabled gtk_doc
%files -n lib%name-devel-doc
%_datadir/gtk-doc/html/*
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin