libnice/libnice.spec

96 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

2019-11-19 11:49:39 +08:00
Name: libnice
2023-10-11 10:18:49 +08:00
Version: 0.1.21
Release: 1
2019-11-19 11:49:39 +08:00
Summary: An implementation of ICE standard
License: LGPLv2 and MPLv1.1
URL: https://nice.freedesktop.org/wiki/
Source0: https://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
Patch0: libnice-gupnp-1.6.patch
2019-11-19 11:49:39 +08:00
BuildRequires: autoconf automake glib2-devel gnutls-devel >= 2.12.0
BuildRequires: gobject-introspection-devel gstreamer1-devel >= 0.11.91
2020-01-15 15:38:53 +08:00
BuildRequires: gstreamer1-plugins-base-devel >= 0.11.91
BuildRequires: gtk-doc gupnp-igd-devel >= 0.1.2 graphviz meson
2023-10-11 10:18:49 +08:00
BuildRequires: cmake gnupg2
2019-11-19 11:49:39 +08:00
%description
Libnice is an implementation of the IETF's Interactive Connectivity
Establishment (ICE) standard (RFC 5245). It provides a GLib-based
library, libnice, as well as GStreamer elements.
ICE is useful for applications that want to establish peer-to-peer UDP
data streams. It automates the process of traversing NATs and provides
security against some attacks. It also allows applications to create
reliable streams using a TCP over UDP layer.
%package gstreamer1
Summary: GStreamer plugin for libnice
Requires: %{name} = %{version}-%{release}
%description gstreamer1
This package provides a gstreamer 1.0 plugin for libnice.
%package devel
Summary: Development files for libnice
Requires: %{name} = %{version}-%{release} glib2-devel pkgconfig
%description devel
This package provides Libraries and header files for libnice.
%prep
%autosetup -n %{name}-%{version} -p1
sed -e "s/^ 'test-set-port-range'/#&/" -i tests/meson.build
2019-11-19 11:49:39 +08:00
%build
%meson -D gtk_doc=enabled
%meson_build
2019-11-19 11:49:39 +08:00
%install
%meson_install
2019-11-19 11:49:39 +08:00
%delete_la
%check
%meson_test
2019-11-19 11:49:39 +08:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc NEWS README
%license COPYING COPYING.LGPL COPYING.MPL
%{_bindir}/{stunbdc,stund}
%{_libdir}/{*.so.*,girepository-1.0/Nice-0.1.typelib}
%files gstreamer1
%{_libdir}/gstreamer-1.0/libgstnice.so
%files devel
%{_includedir}/*
%{_libdir}/{*.so,pkgconfig/nice.pc}
%{_datadir}/{gtk-doc/html/libnice/,gir-1.0/Nice-0.1.gir}
%changelog
2023-10-11 10:18:49 +08:00
* Wed Oct 11 2023 Ge Wang <wang__ge@126.com> - 0.1.21-1
- Update to 0.1.21
* Mon Aug 07 2023 xuping <707078654@qq.com> - 0.1.19-2
- fix build unresolvable due to gupnp upgrade
* Thu Aug 04 2022 yaoxin <yaoxin30@h-partners.com> - 0.1.19-1
- Update to 0.1.19
2022-07-30 09:42:02 +08:00
* Tue Mar 29 2022 wangkai <wangkai385@h-partners.com> - 0.1.14-12
- Do check on X86 and ARM64
2022-03-29 14:58:52 +08:00
* Tue Mar 29 2022 yaoxin <yaoxin30@huawei.com> - 0.1.14-11
- Repair failed to execute "gtkdocize"
2020-01-15 15:38:53 +08:00
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.1.14-10
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:optimization the spec
2019-11-19 11:49:39 +08:00
* Fri Oct 25 2019 yanzhihua <yanzhihua4@huawei.com> - 0.1.14-9
- Package init