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
|
|
|
#
|
2022-05-06 09:24:43 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
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.
|
|
|
|
|
2020-09-01 12:54:42 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-02-09 04:46:06 +01:00
|
|
|
#
|
|
|
|
|
2012-04-06 16:10:14 +02:00
|
|
|
|
2009-02-09 04:46:06 +01:00
|
|
|
Name: libnice
|
2022-05-06 09:24:43 +02:00
|
|
|
Version: 0.1.19
|
2012-01-24 09:59:50 +01:00
|
|
|
Release: 0
|
2009-02-09 04:46:06 +01:00
|
|
|
Summary: Interactive Connectivity Establishment implementation
|
2021-03-21 09:14:06 +01:00
|
|
|
License: LGPL-2.1-only OR MPL-1.1
|
2022-05-06 09:24:43 +02:00
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
URL: https://nice.freedesktop.org/
|
|
|
|
Source: https://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
|
2014-10-17 09:20:15 +02:00
|
|
|
Source1: baselibs.conf
|
2021-03-18 19:31:41 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2012-09-21 23:01:04 +02:00
|
|
|
BuildRequires: libgupnp-igd-devel
|
2021-03-18 19:31:41 +01:00
|
|
|
BuildRequires: meson
|
2018-03-05 14:57:00 +01:00
|
|
|
BuildRequires: pkgconfig
|
2017-05-10 12:13:52 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.44
|
|
|
|
BuildRequires: pkgconfig(gnutls) >= 2.12.0
|
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
|
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
|
2021-03-21 09:14:06 +01:00
|
|
|
Summary: GStreamer plugin for the Interactive Connectivity Establishment
|
2012-09-21 23:01:04 +02:00
|
|
|
Group: System/Libraries
|
2022-05-06 09:24:43 +02:00
|
|
|
Supplements: (libnice10 and 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
|
2021-03-21 09:14:06 +01:00
|
|
|
Connectivity Establishment standard (ICE).
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%package devel
|
2021-03-21 09:14:06 +01:00
|
|
|
Summary: Development files for libnice, an implemtation of ICE
|
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}
|
2021-03-18 19:31:41 +01:00
|
|
|
Requires: typelib-1_0-Nice-0_1 = %{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
|
|
|
|
2021-03-18 19:31:41 +01:00
|
|
|
%package -n typelib-1_0-Nice-0_1
|
2021-03-21 09:14:06 +01:00
|
|
|
Summary: Introspection bindings for libnice
|
2021-03-18 19:31:41 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Nice-0_1
|
|
|
|
libnice is an implementation of the IETF's draft Interactive
|
|
|
|
Connectivity Establishment standard (ICE).
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for libnice.
|
|
|
|
|
2009-02-09 04:46:06 +01:00
|
|
|
%prep
|
2021-03-21 09:14:06 +01:00
|
|
|
%autosetup -p1
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%build
|
2021-03-18 19:31:41 +01:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2013-03-14 00:10:30 +01:00
|
|
|
%install
|
2021-03-18 19:31:41 +01:00
|
|
|
%meson_install
|
2018-03-05 14:57:00 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2013-03-14 00:10:30 +01:00
|
|
|
|
2021-03-18 19:31:41 +01:00
|
|
|
##%%check
|
|
|
|
##make check disabled - Since version 0.1.3, libnice tries to interact with NM during make check
|
|
|
|
##%%meson_test
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2011-05-02 23:47:03 +02:00
|
|
|
%post -n libnice10 -p /sbin/ldconfig
|
|
|
|
%postun -n libnice10 -p /sbin/ldconfig
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%files
|
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
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/*.so
|
2012-09-21 23:01:04 +02:00
|
|
|
%{_includedir}/nice/
|
|
|
|
%{_includedir}/stun/
|
2021-03-18 19:31:41 +01:00
|
|
|
%{_datadir}/gir-1.0/Nice-0.1.gir
|
2012-09-21 23:01:04 +02:00
|
|
|
|
|
|
|
%files -n gstreamer-libnice
|
|
|
|
%{_libdir}/gstreamer-1.0/libgstnice.so
|
2009-02-09 04:46:06 +01:00
|
|
|
|
2021-03-18 19:31:41 +01:00
|
|
|
%files -n typelib-1_0-Nice-0_1
|
|
|
|
%{_libdir}/girepository-1.0/Nice-0.1.typelib
|
|
|
|
|
2009-02-09 04:46:06 +01:00
|
|
|
%changelog
|