Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37504535
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: farstream0.2

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

%def_enable snapshot
%define _name farstream
%define api_ver 0.2
%define gst_api_ver 1.0
%define gupnp_api_ver 1.2

%def_disable static
%def_enable gtk_doc
%def_enable introspection
%def_disable gupnp
%def_disable check

Name: %_name%api_ver
Version: 0.2.9.1
Release: alt0.4

Summary: A audio/video conferencing framework (0.2)
Group: System/Libraries
License: LGPL-2.1-or-later
Url: http://www.freedesktop.org/wiki/Software/Farstream

%if_disabled snapshot
Source: http://freedesktop.org/software/%_name/releases/%_name/%_name-%version.tar.gz
%else
Vcs: https://gitlab.freedesktop.org/farstream/farstream.git
Source: %_name-%version.tar
%endif
#https://gitlab.freedesktop.org/farstream/farstream/-/merge_requests/7
Patch: farstream-0.2.9-up-drop_volatile_qualifiers.patch

%define nice_ver 0.1.8
%define gst_ver 1.4
%define glib_ver 2.32

#Obsoletes: farsight2

Conflicts: farsight2

Requires: lib%name = %version-%release
Requires: gst-plugins-nice%gst_api_ver gst-plugins-good%gst_api_ver gst-plugins-bad%gst_api_ver

BuildRequires(pre): rpm-build-python3
BuildRequires: gtk-doc
BuildRequires: libgio-devel >= %glib_ver libnice-devel >= %nice_ver
BuildRequires: gst-plugins%gst_api_ver-devel >= %gst_ver
%{?_enable_gupnp:BuildRequires: libgupnp-igd-devel}
BuildRequires: python3-dev python3-module-gst%gst_api_ver python3-module-pygobject3-devel
%{?_enable_introspection:BuildRequires: gobject-introspection-devel libgstreamer%gst_api_ver-gir-devel}
%{?_enable_check:BuildRequires: %{?_enable_gupnp:libgupnp%gupnp_api_ver-devel}}

%description
The Farstream (formerly Farsight) is a collection of GStreamer modules
and libraries for videoconferencing.

This package provides Farstream-0.2 for GStreamer-1.0

%package -n lib%name
Summary: Farstream libraries
Group: System/Libraries

%description -n lib%name
The Farstream (formerly Farsight) is a collection of GStreamer modules
and libraries for videoconferencing.

This package provides shared Farstream (0.2 API version) library.

%package -n lib%name-devel
Summary: Development files for %name
Group: Development/C++
Requires: lib%name = %version-%release

%description -n lib%name-devel
The Farstream (formerly Farsight) is a collection of GStreamer modules
and libraries for videoconferencing.

The lib%name-devel package contains libraries and header files for
developing applications that use Farstream.

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

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

%package -n lib%name-gir-devel
Summary: GObject introspection devel data for the Farstream
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 Farstream library.

%package devel-doc
Summary: Development documentation for %name
Group: Development/Documentation
BuildArch: noarch
Conflicts: lib%name < %version

%description devel-doc
The Farstream (formerly Farsight) is a collection of GStreamer modules
and libraries for videoconferencing.

This package provides development documentation for the Farstream library.

%prep
%setup -n %_name-%version
%patch -p1

%build
%add_optflags %(getconf LFS_CFLAGS)
%autoreconf
%configure \
--disable-static \
%{?_enable_gtk_doc:--enable-gtk-doc} \
%{subst_enable gupnp} \
PYTHON=%__python3
%nil
#SMP-incomaptible build
%make

%install
%makeinstall_std

%check
%make check

%files
%_libdir/gstreamer-%gst_api_ver/libfsrawconference.so
%_libdir/gstreamer-%gst_api_ver/libfsrtpxdata.so
%_libdir/gstreamer-%gst_api_ver/libfsrtpconference.so
%_libdir/gstreamer-%gst_api_ver/libfsvideoanyrate.so
%_datadir/%_name/%api_ver/
%doc AUTHORS NEWS

%files -n lib%name
%_libdir/lib%_name-%api_ver.so.*
%dir %_libdir/%_name-%api_ver
%_libdir/%_name-%api_ver/libmulticast-transmitter.so
%_libdir/%_name-%api_ver/libnice-transmitter.so
%_libdir/%_name-%api_ver/librawudp-transmitter.so
%_libdir/%_name-%api_ver/libshm-transmitter.so

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

%files -n lib%name-gir
%_typelibdir/Farstream-%api_ver.typelib

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

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

%exclude %_libdir/%_name-%api_ver/*.la
%exclude %_libdir/gstreamer-%gst_api_ver/*.la


%changelog

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

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