libnice-vl.spec 4.3 KB

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