SPECS: libnice.spec (NEW) - new
megabajt
megabajt at pld-linux.org
Thu Mar 19 00:22:41 CET 2009
Author: megabajt Date: Wed Mar 18 23:22:41 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
libnice.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/libnice.spec
diff -u /dev/null SPECS/libnice.spec:1.1
--- /dev/null Thu Mar 19 00:22:41 2009
+++ SPECS/libnice.spec Thu Mar 19 00:22:36 2009
@@ -0,0 +1,131 @@
+# $Revision$, $Date$
+Summary: The GLib ICE implementation
+Name: libnice
+Version: 0.0.5
+Release: 1
+License: LGPL v2 and MPL v1.1
+Group: Libraries
+Source0: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
+# Source0-md5: e6341a8039b6bcdd6c5b885bdd8fa24c
+URL: http://nice.freedesktop.org/
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake
+BuildRequires: gstreamer-devel >= 0.10.0
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.0
+BuildRequires: gtk-doc >= 1.9
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libnice is an implementation of the IETF's draft Interactive
+Connectivity Establishment standard (ICE). It provides GLib-based
+library 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 the Session Initiation
+Protocol (SIP) and Jingle, XMPP extension for audio/video calls.
+
+%package devel
+Summary: Header files for libnice library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libnice
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel >= 1:2.10.0
+
+%description devel
+Header files for libnice library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libnice.
+
+%package static
+Summary: Static libnice library
+Summary(pl.UTF-8): Statyczna biblioteka libnice
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libnice library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libnice.
+
+%package apidocs
+Summary: libnice library API documentation
+Summary(pl.UTF-8): Dokumentacja API biblioteki libnice
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+libnice library API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki libnice.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --enable-gtk-doc \
+ --with-html-dir=%{_gtkdocdir}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-0.10/*.{a,la}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/stunbdc
+%attr(755,root,root) %{_bindir}/stund
+%attr(755,root,root) %{_libdir}/libnice.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnice.so.0
+%attr(755,root,root) %{_libdir}/gstreamer-0.10/libgstnice.so
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libnice.so
+%{_libdir}/libnice.la
+%{_includedir}/nice
+%{_includedir}/stun
+%{_pkgconfigdir}/nice.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libnice.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/libnice
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/03/18 23:22:36 megabajt
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list