farsight2-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. %define gst_ver 0.10.23
  3. %define gst_plugins_base_ver 0.10.23
  4. %define gst_plugins_good 0.10.7
  5. %define gst_python 0.10.10
  6. Name: farsight2
  7. Version: 0.0.17
  8. Release: 1%{?_dist_release}
  9. Summary: Libraries for videoconferencing
  10. Summary(ja): ビデオ会議のためのライブラリ
  11. Group: System Environment/Libraries
  12. License: LGPLv2+
  13. URL: http://farsight.freedesktop.org/wiki/
  14. Source0: http://farsight.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: glib2-devel >= 2.14
  17. BuildRequires: gstreamer-devel >= %{gst_ver}
  18. BuildRequires: gstreamer-plugins-base-devel >= %{gst_plugins_base_ver}
  19. BuildRequires: gstreamer-python >= %{gst_python}
  20. BuildRequires: libnice-devel >= 0.0.9
  21. BuildRequires: gupnp-igd-devel
  22. BuildRequires: python-devel
  23. BuildRequires: pygobject-devel
  24. Requires: gstreamer-plugins-good >= %{gst_plugins_good}
  25. %description
  26. %{name} is a collection of GStreamer modules and libraries for
  27. videoconferencing.
  28. %package python
  29. Summary: Python binding for %{name}
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. %description python
  33. Python bindings for %{name}.
  34. %package devel
  35. Summary: Development files for %{name}
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}-%{release}
  38. Requires: %{name}-python = %{version}-%{release}
  39. Requires: gstreamer-devel >= %{gst_ver}
  40. Requires: gstreamer-plugins-base-devel >= %{gst_plugins_base_ver}
  41. Requires: pkgconfig
  42. %description devel
  43. The %{name}-devel package contains libraries and header files for
  44. developing applications that use %{name}.
  45. %prep
  46. %setup -q
  47. %build
  48. %configure \
  49. --with-package-name='Vine Linux farsight2 package' \
  50. --disable-static
  51. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  52. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  53. make %{?_smp_mflags}
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  57. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %files
  63. %defattr(-,root,root,-)
  64. %doc COPYING
  65. %{_libdir}/*.so.*
  66. %dir %{_libdir}/%{name}-0.0
  67. %{_libdir}/%{name}-0.0/libmulticast-transmitter.so
  68. %{_libdir}/%{name}-0.0/librawudp-transmitter.so
  69. %{_libdir}/%{name}-0.0/libnice-transmitter.so
  70. %{_libdir}/gstreamer-0.10/libfsfunnel.so
  71. %{_libdir}/gstreamer-0.10/libfsrtpconference.so
  72. %{_libdir}/gstreamer-0.10/libfsvideoanyrate.so
  73. %{_libdir}/gstreamer-0.10/libfsrtcpfilter.so
  74. %{_libdir}/gstreamer-0.10/libfsmsnconference.so
  75. %files python
  76. %defattr(-,root,root,-)
  77. %{python_sitearch}/farsight.so
  78. %files devel
  79. %defattr(-,root,root,-)
  80. %{_libdir}/libgstfarsight-0.10.so
  81. %{_libdir}/pkgconfig/%{name}-0.10.pc
  82. %{_includedir}/gstreamer-0.10/gst/farsight/
  83. %{_datadir}/gtk-doc/html/%{name}-libs-0.10
  84. %{_datadir}/gtk-doc/html/%{name}-plugins-0.10
  85. %changelog
  86. * Sat Feb 06 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.17-1
  87. - new upstream release
  88. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.16-3
  89. - rebuild with python-2.6
  90. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.16-2
  91. - initial build for Vine Linux
  92. * Tue Oct 6 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.16-1
  93. - Update to 0.0.16.
  94. * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.0.15-2
  95. - Rebuild for new gupnp
  96. * Thu Sep 3 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.15-1
  97. - Update to 0.0.15.
  98. * Thu Aug 06 2009 Warren Togami <wtogami@redhat.com> - 0.0.14-1
  99. - 0.0.14
  100. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-4
  101. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  102. * Wed Jul 22 2009 Warren Togami <wtogami@redhat.com> - 0.0.12-3
  103. - rebuild
  104. * Mon Jun 22 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.12-2
  105. - Remove unnecessary requires on gst-plugins-farsight.
  106. * Sat May 30 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.12-1
  107. - Update to 0.0.12.
  108. * Tue May 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.11-1
  109. - Update to 0.0.11.
  110. * Wed May 20 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.10-1
  111. - Update to 0.0.10.
  112. * Tue Apr 7 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.9-1
  113. - Update to 0.0.9.
  114. * Tue Mar 17 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.8-1
  115. - Update to 0.0.8.
  116. - Bump min version of gstreamer needed.
  117. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-3
  118. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  119. * Mon Jan 19 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-2
  120. - Add BR on gupnp-igd-devel, pygobject2-devel, and pygtk2-devel.
  121. * Fri Jan 9 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-1
  122. - Update to 0.0.7.
  123. * Mon Jan 5 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-4
  124. - Add BR on libnice-devel and build libnice transmitter.
  125. - Set gstreamer package name & origin.
  126. * Fri Jan 02 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-3
  127. - Rebuild.
  128. * Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-2
  129. - Preserve time stamps.
  130. * Tue Dec 16 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1
  131. - Initial Fedora spec.