diff --git a/README.md b/README.md index 61d7f9f..464853a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libnice +Libnice is an implementation of the IETF's draft Interactice Connectivity Establishment standard (ICE). It provides GLib-based library, libnice and 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. +Existing standards that use ICE include Session Initiation Protocol (SIP) and XMPP Jingle. + diff --git a/libnice.spec b/libnice.spec new file mode 100644 index 0000000..f5589ea --- /dev/null +++ b/libnice.spec @@ -0,0 +1,129 @@ +Name: libnice +Version: 0.1.6 +Release: 1mamba +Summary: An implementation of the IETF's draft Interactice Connectivity Establishment standard (ICE) +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://nice.freedesktop.org/wiki/ +Source: http://nice.freedesktop.org/releases/libnice-%{version}.tar.gz +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libffi-devel +BuildRequires: libglib-devel +BuildRequires: libgssdp-devel +BuildRequires: libgstreamer010-devel +BuildRequires: libgstreamer-devel +BuildRequires: libgupnp-devel +BuildRequires: libgupnp-igd-devel +BuildRequires: liblzma-devel +BuildRequires: libselinux-devel +BuildRequires: libsoup-devel +BuildRequires: libuuid-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +License: LGPL, MPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libnice is an implementation of the IETF's draft Interactice Connectivity Establishment standard (ICE). It provides GLib-based library, libnice and 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. +Existing standards that use ICE include Session Initiation Protocol (SIP) and XMPP Jingle. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Libnice is an implementation of the IETF's draft Interactice Connectivity Establishment standard (ICE). It provides GLib-based library, libnice and 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. +Existing standards that use ICE include Session Initiation Protocol (SIP) and XMPP Jingle. +This package contains static libraries and header files need for development. + +%prep + +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/stunbdc +%{_bindir}/stund +%{_libdir}/libnice.so.* +%{_libdir}/gstreamer-0.10/libgstnice010.a +%{_libdir}/gstreamer-0.10/libgstnice010.la +%{_libdir}/gstreamer-0.10/libgstnice010.so +%{_libdir}/gstreamer-1.0/libgstnice.a +%{_libdir}/gstreamer-1.0/libgstnice.la +%{_libdir}/gstreamer-1.0/libgstnice.so +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_bindir}/sdp-example +%{_bindir}/simple-example +%{_bindir}/threaded-example +%{_libdir}/libnice.a +%{_libdir}/libnice.la +%{_libdir}/libnice.so +%dir %{_includedir}/nice +%{_includedir}/nice/*.h +%dir %{_includedir}/stun +%{_includedir}/stun/*.h +%dir %{_includedir}/stun/usages +%{_includedir}/stun/usages/*.h +%dir %{_datadir}/gtk-doc/html/libnice +%{_datadir}/gtk-doc/html/libnice/* +%{_libdir}/pkgconfig/*.pc +%doc NEWS README TODO + +%changelog +* Tue Apr 29 2014 Automatic Build System 0.1.6-1mamba +- automatic update by autodist + +* Fri Mar 01 2013 Automatic Build System 0.1.4-1mamba +- automatic version update by autodist + +* Tue Oct 09 2012 Silvan Calarco 0.1.3-1mamba +- update to 0.1.3 + +* Thu Jun 14 2012 Automatic Build System 0.1.2-1mamba +- automatic version update by autodist + +* Sat Sep 10 2011 Automatic Build System 0.1.1-1mamba +- automatic version update by autodist + +* Sat Jan 29 2011 Automatic Build System 0.1.0-1mamba +- automatic update by autodist + +* Fri Jul 30 2010 Automatic Build System 0.0.13-1mamba +- automatic update by autodist + +* Fri Jun 25 2010 Automatic Build System 0.0.12-1mamba +- automatic update by autodist + +* Thu Apr 15 2010 Automatic Build System 0.0.11-1mamba +- automatic update by autodist + +* Wed Jan 13 2010 Automatic Build System 0.0.10-1mamba +- automatic update by autodist + +* Fri Sep 11 2009 Silvan Calarco 0.0.9-1mamba +- package created by autospec