2009-02-09 04:46:06 +01:00
|
|
|
#
|
2011-05-03 09:17:53 +02:00
|
|
|
# spec file for package libnice
|
2009-02-09 04:46:06 +01:00
|
|
|
#
|
2016-06-01 12:06:06 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2009-02-09 04:46:06 +01: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-04-06 16:10:14 +02:00
|
|
|
|
2009-02-09 04:46:06 +01:00
|
|
|
Name: libnice
|
2015-05-15 09:48:02 +02:00
|
|
|
Version: 0.1.13
|
2012-01-24 09:59:50 +01:00
|
|
|
Release: 0
|
2009-02-09 04:46:06 +01:00
|
|
|
Summary: Interactive Connectivity Establishment implementation
|
2012-01-24 10:14:10 +01:00
|
|
|
License: MPL-1.1 or LGPL-2.1
|
2012-01-24 09:59:50 +01:00
|
|
|
Group: System/Libraries
|
2012-09-21 23:01:04 +02:00
|
|
|
Url: http://nice.freedesktop.org/
|
|
|
|
Source: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
|
2014-10-17 09:20:15 +02:00
|
|
|
Source1: baselibs.conf
|
2012-09-21 23:01:04 +02:00
|
|
|
BuildRequires: libgupnp-igd-devel
|
2014-03-09 20:15:08 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.30
|
2012-09-21 23:01:04 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.91
|
|
|
|
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 0.11.91
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libnice is an implementation of the IETF's draft Interactive
|
|
|
|
Connectivity Establishment standard (ICE).
|
|
|
|
|
2011-05-02 23:47:03 +02:00
|
|
|
%package -n libnice10
|
2009-02-09 04:46:06 +01:00
|
|
|
Summary: Interactive Connectivity Establishment implementation
|
2012-01-24 09:59:50 +01:00
|
|
|
Group: System/Libraries
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2011-05-02 23:47:03 +02:00
|
|
|
%description -n libnice10
|
2009-03-11 20:28:30 +01:00
|
|
|
libnice is an implementation of the IETF's draft Interactive
|
|
|
|
Connectivity Establishment standard (ICE).
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2012-09-21 23:01:04 +02:00
|
|
|
%package -n gstreamer-libnice
|
|
|
|
Summary: Interactive Connectivity Establishment implementation - GStreamer 1.0
|
|
|
|
Group: System/Libraries
|
|
|
|
Supplements: packageand(libnice10:gstreamer)
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2012-09-21 23:01:04 +02:00
|
|
|
%description -n gstreamer-libnice
|
|
|
|
libnice is an implementation of the IETF's draft Interactive
|
|
|
|
Connectivity Establishment standard (ICE)
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%package devel
|
2009-02-12 18:26:35 +01:00
|
|
|
Summary: Interactive Connectivity Establishment implementation - development files
|
2012-01-24 09:59:50 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-05-02 23:47:03 +02:00
|
|
|
Requires: libnice10 = %{version}
|
2009-08-07 16:35:25 +02:00
|
|
|
Provides: libnice-doc = %{version}
|
2011-05-02 23:47:03 +02:00
|
|
|
Obsoletes: libnice-doc < %{version}
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%description devel
|
2009-03-11 20:28:30 +01:00
|
|
|
libnice is an implementation of the IETF's draft Interactive
|
|
|
|
Connectivity Establishment standard (ICE).
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%prep
|
2009-03-11 20:28:30 +01:00
|
|
|
%setup -q
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2012-09-21 23:01:04 +02:00
|
|
|
make
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2013-03-14 00:10:30 +01:00
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
|
|
|
# We don't ship the examples...
|
|
|
|
rm %{buildroot}%{_bindir}/*-example
|
|
|
|
|
2009-02-09 04:46:06 +01:00
|
|
|
%check
|
2012-09-21 23:01:04 +02:00
|
|
|
# make check disabled - Since version 0.1.3, libnice tries to interact with NM during make check
|
|
|
|
#make check \
|
|
|
|
#%if 0%{?qemu_user_space_build}
|
|
|
|
#|| echo "ignore test suite failure in qemu, it is not threadsafe"
|
|
|
|
#%endif
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2011-05-02 23:47:03 +02:00
|
|
|
%post -n libnice10 -p /sbin/ldconfig
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2011-05-02 23:47:03 +02:00
|
|
|
%postun -n libnice10 -p /sbin/ldconfig
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%clean
|
2012-09-21 23:01:04 +02:00
|
|
|
rm -rf %{buildroot}
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2012-09-21 23:01:04 +02:00
|
|
|
%{_bindir}/stunbdc
|
|
|
|
%{_bindir}/stund
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2011-05-02 23:47:03 +02:00
|
|
|
%files -n libnice10
|
2009-02-09 04:46:06 +01:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/*.so
|
2012-09-21 23:01:04 +02:00
|
|
|
%{_includedir}/nice/
|
|
|
|
%{_includedir}/stun/
|
|
|
|
%{_datadir}/gtk-doc/html/libnice/
|
|
|
|
|
|
|
|
%files -n gstreamer-libnice
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/gstreamer-1.0/libgstnice.so
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%changelog
|