libnice-vl.spec 3.3 KB

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