6f0b210
Name:           libnice
74fd9a7
Version:        0.0.6
12bc606
Release:        1%{?dist}
6f0b210
Summary:        GLib ICE implementation
6f0b210
6f0b210
Group:          System Environment/Libraries
6f0b210
License:        LGPLv2 and MPLv1.1
6f0b210
URL:            http://nice.freedesktop.org/wiki/
6f0b210
Source0:        http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
6f0b210
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6f0b210
6f0b210
BuildRequires:	glib2-devel
6f0b210
BuildRequires:  gstreamer-devel
6f0b210
BuildRequires:	gstreamer-plugins-base-devel
6f0b210
6f0b210
6f0b210
%description
6f0b210
%{name} is an implementation of the IETF's draft Interactive Connectivity
6f0b210
Establishment standard (ICE). ICE is useful for applications that want to
6f0b210
establish peer-to-peer UDP data streams. It automates the process of traversing
6f0b210
NATs and provides security against some attacks. Existing standards that use
6f0b210
ICE include the Session Initiation Protocol (SIP) and Jingle, XMPP extension
6f0b210
for audio/video calls.
6f0b210
6f0b210
6f0b210
%package        devel
6f0b210
Summary:        Development files for %{name}
6f0b210
Group:          Development/Libraries
6f0b210
Requires:       %{name} = %{version}-%{release}
6f0b210
Requires:	glib2-devel
6f0b210
Requires:	pkgconfig
6f0b210
6f0b210
6f0b210
%description    devel
6f0b210
The %{name}-devel package contains libraries and header files for
6f0b210
developing applications that use %{name}.
6f0b210
6f0b210
6f0b210
%prep
12bc606
%setup -q
6f0b210
6f0b210
6f0b210
%build
6f0b210
%configure --disable-static
6f0b210
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
6f0b210
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
6f0b210
make %{?_smp_mflags}
6f0b210
6f0b210
6f0b210
%install
6f0b210
rm -rf $RPM_BUILD_ROOT
6f0b210
make install DESTDIR=$RPM_BUILD_ROOT
6f0b210
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
6f0b210
6f0b210
6f0b210
%clean
6f0b210
rm -rf $RPM_BUILD_ROOT
6f0b210
6f0b210
6f0b210
%post -p /sbin/ldconfig
6f0b210
6f0b210
6f0b210
%postun -p /sbin/ldconfig
6f0b210
6f0b210
6f0b210
%files
6f0b210
%defattr(-,root,root,-)
6f0b210
%doc NEWS README COPYING COPYING.LGPL COPYING.MPL
6f0b210
%{_bindir}/stunbdc
6f0b210
%{_bindir}/stund
6f0b210
%{_libdir}/gstreamer-0.10/libgstnice.so
6f0b210
%{_libdir}/*.so.*
6f0b210
6f0b210
6f0b210
%files devel
6f0b210
%defattr(-,root,root,-)
6f0b210
%{_includedir}/*
6f0b210
%{_libdir}/*.so
6f0b210
%{_libdir}/pkgconfig/nice.pc
6f0b210
%{_datadir}/gtk-doc/html/%{name}/
6f0b210
6f0b210
6f0b210
%changelog
74fd9a7
* Mon Apr 13 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1
74fd9a7
- Update to 0.0.6.
74fd9a7
12bc606
* Wed Mar 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.5-1
12bc606
- Update to 0.0.5.
12bc606
fee2bfc
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-2
fee2bfc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fee2bfc
6f0b210
* Sat Dec 27 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.4-1
6f0b210
- Initial Fedora spec.
6f0b210