Browse Source

libnice remove gst010 condition

Signed-off-by: tuibuilder_pel7x64builder0 <tuibuilder@powerel.org>
master
tuibuilder_pel7x64builder0 6 years ago
parent
commit
fe5055f8ef
  1. 9
      SPECS/libnice.spec

9
SPECS/libnice.spec

@ -1,6 +1,3 @@ @@ -1,6 +1,3 @@
# disable building of plugin for gstreamer 0.10
%bcond_with gst010

Name: libnice
Version: 0.1.14
Release: 2%{?dist}
@ -14,10 +11,8 @@ Source0: https://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz @@ -14,10 +11,8 @@ Source0: https://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
BuildRequires: glib2-devel
BuildRequires: gnutls-devel >= 2.12.0
BuildRequires: gobject-introspection-devel
%if %{with gst010}
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
%endif
BuildRequires: gstreamer1-devel >= 0.11.91
BuildRequires: gstreamer1-plugins-base-devel >= 0.11.91
BuildRequires: gupnp-igd-devel >= 0.1.2
@ -32,7 +27,6 @@ ICE include the Session Initiation Protocol (SIP) and Jingle, XMPP extension @@ -32,7 +27,6 @@ ICE include the Session Initiation Protocol (SIP) and Jingle, XMPP extension
for audio/video calls.


%if %{with gst010}
%package gstreamer
Summary: GStreamer plugin for %{name}
Group: Development/Libraries
@ -40,7 +34,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} @@ -40,7 +34,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}

%description gstreamer
The %{name}-gstreamer package contains a gstreamer 0.10 plugin for %{name}.
%endif


%package gstreamer1
@ -107,10 +100,8 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' @@ -107,10 +100,8 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/girepository-1.0/Nice-0.1.typelib


%if %{with gst010}
%files gstreamer
%{_libdir}/gstreamer-0.10/libgstnice010.so
%endif


%files gstreamer1

Loading…
Cancel
Save