2009-02-09 04:46:06 +01:00
|
|
|
#
|
2009-06-12 18:25:29 +02:00
|
|
|
# spec file for package libnice (Version 0.0.7)
|
2009-02-09 04:46:06 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: libnice
|
2009-06-12 18:25:29 +02:00
|
|
|
Version: 0.0.7
|
2009-03-11 20:28:30 +01:00
|
|
|
Release: 1
|
2009-02-09 04:46:06 +01:00
|
|
|
License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
|
|
|
|
Group: System/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%if 0%{?suse_version} > 1030
|
|
|
|
BuildRequires: gstreamer-0_10-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: gstreamer010-devel
|
|
|
|
%endif
|
|
|
|
BuildRequires: glib2-devel openssl-devel
|
2009-06-12 18:25:29 +02:00
|
|
|
# FIXME not available in openSUSE
|
|
|
|
# BuildRequires: gupnp-igd-devel
|
2009-02-09 04:46:06 +01:00
|
|
|
Url: http://nice.freedesktop.org/
|
|
|
|
Source: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.bz2
|
|
|
|
Summary: Interactive Connectivity Establishment implementation
|
|
|
|
|
|
|
|
%description
|
|
|
|
libnice is an implementation of the IETF's draft Interactive
|
|
|
|
Connectivity Establishment standard (ICE).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libnice0
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Interactive Connectivity Establishment implementation
|
2009-02-12 18:26:35 +01:00
|
|
|
Recommends: gstreamer-0_10-libnice
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%description -n libnice0
|
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
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-12 18:26:35 +01:00
|
|
|
%package -n gstreamer-0_10-libnice
|
|
|
|
License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Interactive Connectivity Establishment implementation - GStreamer plug-in
|
|
|
|
|
|
|
|
%description -n gstreamer-0_10-libnice
|
|
|
|
libnice is an implementation of the IETF's draft Interactive
|
|
|
|
Connectivity Establishment standard (ICE).
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-09 04:46:06 +01:00
|
|
|
%package doc
|
|
|
|
License: LGPL v2.1 or later
|
2009-02-12 18:26:35 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2009-02-09 04:46:06 +01:00
|
|
|
Requires: libnice0 = %{version}
|
2009-02-12 18:26:35 +01:00
|
|
|
Summary: Interactive Connectivity Establishment implementation - documentation files
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%description doc
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
License: LGPL v2.1 or later
|
2009-02-12 18:26:35 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: Interactive Connectivity Establishment implementation - development files
|
2009-06-12 18:25:29 +02:00
|
|
|
Requires: libnice0 = %{version}
|
|
|
|
Requires: glib2-devel
|
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
|
|
|
|
%{__make}
|
|
|
|
|
|
|
|
%check
|
|
|
|
#%{__make} check
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/gstreamer-0.10/*.la
|
|
|
|
|
|
|
|
%post -n libnice0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libnice0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%files -n libnice0
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_includedir}/nice
|
2009-03-11 20:28:30 +01:00
|
|
|
%{_includedir}/stun
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/gtk-doc
|
|
|
|
|
2009-02-12 18:26:35 +01:00
|
|
|
%files -n gstreamer-0_10-libnice
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/gstreamer-0.10/*.so
|
|
|
|
|
2009-02-09 04:46:06 +01:00
|
|
|
%changelog
|
2009-06-12 18:25:29 +02:00
|
|
|
* Fri Jun 12 2009 vuntz@novell.com
|
|
|
|
- Update to version 0.0.7:
|
|
|
|
+ Added UPnP Support
|
|
|
|
+ Fix a race condition when destroying the nice agent
|
|
|
|
+ Stun headers are now installed
|
|
|
|
+ Unset timer's source if they return FALSE
|
|
|
|
+ Fix interoperability with gtalk2voip.com
|
|
|
|
+ Avoid a race condition where a candidate has the wrong
|
|
|
|
user/pass
|
|
|
|
+ Add support for delayed setting of the remote candidates in
|
|
|
|
google mode
|
|
|
|
+ Better connectivity support and race condition fixes
|
|
|
|
+ Keepalive connchecks do not change the state if they fail but
|
|
|
|
data was still received
|
|
|
|
+ Fix foundation generation for remote peer reflexive candidates
|
|
|
|
+ Drop packets when using TCP and the bandwidth is too slow for
|
|
|
|
the data output
|
|
|
|
- Add glib2-devel Requires to devel package.
|
2009-04-24 01:44:52 +02:00
|
|
|
* Sat Apr 04 2009 vuntz@novell.com
|
|
|
|
- Update to version 0.0.6:
|
|
|
|
+ Fix connectivity checks for detecting when we loose the
|
|
|
|
connection
|
|
|
|
+ Fix a race condition with gtalk that made the call silent after
|
|
|
|
30 seconds
|
|
|
|
+ Robustness checks with regards to relay information
|
|
|
|
+ Fix a race condition crash with retransmission ticks
|
|
|
|
+ Added a new STUN API : stun_agent_forget_transaction
|
|
|
|
+ Fix a possible crash if tcp-turn is shutdown early in the
|
|
|
|
process
|
|
|
|
+ Fix a crash when a stream is removed
|
|
|
|
+ Fix MSN support by disable keepalive connchecks
|
2009-03-11 20:28:30 +01:00
|
|
|
* Fri Mar 06 2009 vuntz@novell.com
|
|
|
|
- Update to version 0.0.5:
|
|
|
|
+ Name change from nice to libnice
|
|
|
|
+ Added support for HTTP proxies
|
|
|
|
+ Added a nice_interfaces API to query the local interfaces/ips
|
|
|
|
+ Fixed libnice when used in dribble mode
|
|
|
|
+ Fix a data corruption issue with the SHA1 algorithm
|
|
|
|
+ Endianness gets checked at runtime so libnice should compile
|
|
|
|
and work everywhere
|
|
|
|
+ Add compatiblity for WLM2009 ICE
|
|
|
|
+ Export libstun API and add documentation for libstun
|
|
|
|
+ Add connectivity checks during the connection to detect when
|
|
|
|
the peer gets disconnected
|
|
|
|
+ Bug fixes and code cleaning
|
|
|
|
- Adjust spec file for tarball rename.
|
|
|
|
- Package new include files in /usr/include/stun
|
2009-02-12 18:26:35 +01:00
|
|
|
* Fri Feb 06 2009 hfiguiere@novell.com
|
|
|
|
- Don't require itself.
|
|
|
|
- The -doc don't require the library.
|
|
|
|
- Split gstreamer-0_10-libnice package.
|
2009-02-09 04:46:06 +01:00
|
|
|
* Fri Jan 02 2009 hfiguiere@novell.com
|
|
|
|
- Initial packaging.
|