From 6f0b210e0ecff305a784cf81e9caf3ec9585ef8b Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: Sun, 4 Jan 2009 22:18:05 +0000 Subject: [PATCH] Initial import. --- .cvsignore | 1 + import.log | 1 + libnice.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 89 insertions(+) create mode 100644 import.log create mode 100644 libnice.spec diff --git a/.cvsignore b/.cvsignore index e69de29..bfd5bfa 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libnice-0.0.4.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..9e6e20f --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libnice-0_0_4-1_fc10:HEAD:libnice-0.0.4-1.fc10.src.rpm:1231107495 diff --git a/libnice.spec b/libnice.spec new file mode 100644 index 0000000..140fc74 --- /dev/null +++ b/libnice.spec @@ -0,0 +1,86 @@ +Name: libnice +Version: 0.0.4 +Release: 1%{?dist} +Summary: GLib ICE implementation + +Group: System Environment/Libraries +License: LGPLv2 and MPLv1.1 +URL: http://nice.freedesktop.org/wiki/ +Source0: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: glib2-devel +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel + + +%description +%{name} is an implementation of the IETF's draft Interactive Connectivity +Establishment standard (ICE). 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: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: glib2-devel +Requires: pkgconfig + + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q -n nice-%{version} + + +%build +%configure --disable-static +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc NEWS README COPYING COPYING.LGPL COPYING.MPL +%{_bindir}/stunbdc +%{_bindir}/stund +%{_libdir}/gstreamer-0.10/libgstnice.so +%{_libdir}/*.so.* + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/nice.pc +%{_datadir}/gtk-doc/html/%{name}/ + + +%changelog +* Sat Dec 27 2008 Brian Pepple - 0.0.4-1 +- Initial Fedora spec. + diff --git a/sources b/sources index e69de29..6ac36d4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3a5a68cbc58a2f2d53d00e8c2cbb1f7a libnice-0.0.4.tar.gz