| 1 | Name: libnice |
|---|
| 2 | Version: 0.1.2 |
|---|
| 3 | Release: 1%{?_dist_release} |
|---|
| 4 | Summary: GLib ICE implementation |
|---|
| 5 | |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | License: LGPLv2 and MPLv1.1 |
|---|
| 8 | URL: http://nice.freedesktop.org/wiki/ |
|---|
| 9 | Source0: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz |
|---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 11 | |
|---|
| 12 | BuildRequires: glib2-devel >= 2.10 |
|---|
| 13 | BuildRequires: gstreamer-devel >= 0.10.0 |
|---|
| 14 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.0 |
|---|
| 15 | BuildRequires: gupnp-igd-devel >= 0.1.2 |
|---|
| 16 | |
|---|
| 17 | Vendor: Project Vine |
|---|
| 18 | Distribution: Vine Linux |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | %{name} is an implementation of the IETF's draft Interactive Connectivity |
|---|
| 22 | Establishment standard (ICE). ICE is useful for applications that want to |
|---|
| 23 | establish peer-to-peer UDP data streams. It automates the process of traversing |
|---|
| 24 | NATs and provides security against some attacks. Existing standards that use |
|---|
| 25 | ICE include the Session Initiation Protocol (SIP) and Jingle, XMPP extension |
|---|
| 26 | for audio/video calls. |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | %package devel |
|---|
| 30 | Summary: Development files for %{name} |
|---|
| 31 | Group: Development/Libraries |
|---|
| 32 | Requires: %{name} = %{version}-%{release} |
|---|
| 33 | Requires: glib2-devel |
|---|
| 34 | Requires: pkgconfig |
|---|
| 35 | |
|---|
| 36 | %description devel |
|---|
| 37 | The %{name}-devel package contains libraries and header files for |
|---|
| 38 | developing applications that use %{name}. |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | %prep |
|---|
| 42 | %setup -q |
|---|
| 43 | |
|---|
| 44 | %build |
|---|
| 45 | %configure --disable-static |
|---|
| 46 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
|---|
| 47 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
|---|
| 48 | make %{?_smp_mflags} |
|---|
| 49 | |
|---|
| 50 | %install |
|---|
| 51 | rm -rf $RPM_BUILD_ROOT |
|---|
| 52 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 53 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
|---|
| 54 | |
|---|
| 55 | %clean |
|---|
| 56 | rm -rf $RPM_BUILD_ROOT |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | %post -p /sbin/ldconfig |
|---|
| 60 | |
|---|
| 61 | %postun -p /sbin/ldconfig |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | %files |
|---|
| 65 | %defattr(-,root,root,-) |
|---|
| 66 | %doc NEWS README COPYING COPYING.LGPL COPYING.MPL |
|---|
| 67 | %{_bindir}/stunbdc |
|---|
| 68 | %{_bindir}/stund |
|---|
| 69 | %{_libdir}/gstreamer-0.10/libgstnice.so |
|---|
| 70 | %{_libdir}/*.so.* |
|---|
| 71 | |
|---|
| 72 | %files devel |
|---|
| 73 | %defattr(-,root,root,-) |
|---|
| 74 | %{_includedir}/* |
|---|
| 75 | %{_libdir}/*.so |
|---|
| 76 | %{_libdir}/pkgconfig/nice.pc |
|---|
| 77 | %{_datadir}/gtk-doc/html/%{name} |
|---|
| 78 | |
|---|
| 79 | |
|---|
| 80 | %changelog |
|---|
| 81 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1 |
|---|
| 82 | - new upstream release |
|---|
| 83 | |
|---|
| 84 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.1-1 |
|---|
| 85 | - new upstream release |
|---|
| 86 | |
|---|
| 87 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.0-1 |
|---|
| 88 | - new upstream release |
|---|
| 89 | |
|---|
| 90 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.13-1 |
|---|
| 91 | - new upstream release |
|---|
| 92 | |
|---|
| 93 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.9-4 |
|---|
| 94 | - rebuilt with rpm-4.8.1 for pkg-config |
|---|
| 95 | |
|---|
| 96 | * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.9-3 |
|---|
| 97 | - initial build for Vine Linux |
|---|
| 98 | |
|---|
| 99 | * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.0.9-2 |
|---|
| 100 | - Rebuild for new gupnp |
|---|
| 101 | |
|---|
| 102 | * Sun Aug 2 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.9-1 |
|---|
| 103 | - Update to 0.0.9. |
|---|
| 104 | - Drop sha1 patch. Fixed upstream. |
|---|
| 105 | |
|---|
| 106 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-3 |
|---|
| 107 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 108 | |
|---|
| 109 | * Tue Jul 21 2009 Warren Togami <wtogami@redhat.com> - 0.0.8-2 |
|---|
| 110 | - stun sha1 patch from upstream to make it work at all |
|---|
| 111 | |
|---|
| 112 | * Sun Jun 21 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.8-1 |
|---|
| 113 | - Update to 0.0.8. |
|---|
| 114 | |
|---|
| 115 | * Sun Jun 14 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-1 |
|---|
| 116 | - Update to 0.0.7. |
|---|
| 117 | - Add BR on gupnp-igd-devel. |
|---|
| 118 | |
|---|
| 119 | * Mon Apr 13 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1 |
|---|
| 120 | - Update to 0.0.6. |
|---|
| 121 | |
|---|
| 122 | * Wed Mar 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.5-1 |
|---|
| 123 | - Update to 0.0.5. |
|---|
| 124 | |
|---|
| 125 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-2 |
|---|
| 126 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 127 | |
|---|
| 128 | * Sat Dec 27 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.4-1 |
|---|
| 129 | - Initial Fedora spec. |
|---|
| 130 | |
|---|