libnice-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: libnice
  2. Version: 0.0.13
  3. Release: 1%{?_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 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.13-1
  60. - new upstream release
  61. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.9-4
  62. - rebuilt with rpm-4.8.1 for pkg-config
  63. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.9-3
  64. - initial build for Vine Linux
  65. * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.0.9-2
  66. - Rebuild for new gupnp
  67. * Sun Aug 2 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.9-1
  68. - Update to 0.0.9.
  69. - Drop sha1 patch. Fixed upstream.
  70. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-3
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  72. * Tue Jul 21 2009 Warren Togami <wtogami@redhat.com> - 0.0.8-2
  73. - stun sha1 patch from upstream to make it work at all
  74. * Sun Jun 21 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.8-1
  75. - Update to 0.0.8.
  76. * Sun Jun 14 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-1
  77. - Update to 0.0.7.
  78. - Add BR on gupnp-igd-devel.
  79. * Mon Apr 13 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1
  80. - Update to 0.0.6.
  81. * Wed Mar 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.5-1
  82. - Update to 0.0.5.
  83. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  85. * Sat Dec 27 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.4-1
  86. - Initial Fedora spec.