2009-02-09 04:46:06 +01:00
|
|
|
#
|
2011-05-02 23:47:03 +02:00
|
|
|
# spec file for package libnice (Version 0.0.13)
|
2009-02-09 04:46:06 +01:00
|
|
|
#
|
2010-04-01 03:29:55 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: libnice
|
2011-05-02 23:47:03 +02:00
|
|
|
Version: 0.0.13
|
2009-03-11 20:28:30 +01:00
|
|
|
Release: 1
|
2011-05-02 23:47:03 +02:00
|
|
|
License: LGPLv2.1+
|
2009-02-09 04:46:06 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%if 0%{?suse_version} > 1030
|
|
|
|
BuildRequires: gstreamer-0_10-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: gstreamer010-devel
|
|
|
|
%endif
|
2011-05-03 00:09:11 +02:00
|
|
|
BuildRequires: glib2-devel
|
2009-07-31 20:05:07 +02:00
|
|
|
BuildRequires: libgupnp-igd-devel
|
|
|
|
Url: http://nice.freedesktop.org/
|
2009-02-09 04:46:06 +01:00
|
|
|
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-02 23:47:03 +02:00
|
|
|
%package -n libnice10
|
2009-12-08 11:56:33 +01:00
|
|
|
License: LGPLv2.1+
|
2009-02-09 04:46:06 +01:00
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-12 18:26:35 +01:00
|
|
|
%package -n gstreamer-0_10-libnice
|
2009-12-08 11:56:33 +01:00
|
|
|
License: LGPLv2.1+ ; MPL ..
|
2009-02-12 18:26:35 +01:00
|
|
|
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 devel
|
2009-12-08 11:56:33 +01:00
|
|
|
License: LGPLv2.1+
|
2009-02-12 18:26:35 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: Interactive Connectivity Establishment implementation - development files
|
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
|
|
|
|
%{__make}
|
|
|
|
|
|
|
|
%check
|
2011-05-02 23:47:03 +02:00
|
|
|
%{__make} check
|
2009-02-09 04:46:06 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/gstreamer-0.10/*.la
|
|
|
|
|
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
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/*
|
|
|
|
|
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
|
|
|
|
%{_includedir}/nice
|
2009-03-11 20:28:30 +01:00
|
|
|
%{_includedir}/stun
|
2009-02-09 04:46:06 +01:00
|
|
|
%{_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
|