farsight2-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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.35
  3. %define gst_plugins_base_ver 0.10.35
  4. %define gst_plugins_good 0.10.30
  5. %define gst_python 0.10.10
  6. Name: farsight2
  7. Version: 0.0.29
  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-devel >= %{gst_python}
  20. BuildRequires: libnice-devel >= 0.0.9
  21. BuildRequires: gupnp-devel
  22. BuildRequires: gupnp-igd-devel
  23. BuildRequires: python-devel
  24. BuildRequires: pygobject-devel
  25. Requires: gstreamer-plugins-good >= %{gst_plugins_good}
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. %description
  29. %{name} is a collection of GStreamer modules and libraries for
  30. videoconferencing.
  31. %package python
  32. Summary: Python binding for %{name}
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. %description python
  36. Python bindings for %{name}.
  37. %package devel
  38. Summary: Development files for %{name}
  39. Group: Development/Libraries
  40. Requires: %{name} = %{version}-%{release}
  41. Requires: %{name}-python = %{version}-%{release}
  42. Requires: gstreamer-devel >= %{gst_ver}
  43. Requires: gstreamer-plugins-base-devel >= %{gst_plugins_base_ver}
  44. Requires: pkgconfig
  45. %description devel
  46. The %{name}-devel package contains libraries and header files for
  47. developing applications that use %{name}.
  48. %prep
  49. %setup -q
  50. %build
  51. %configure \
  52. --with-package-name='Vine Linux farsight2 package' \
  53. --disable-static
  54. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  55. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  56. make %{?_smp_mflags}
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  60. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files
  66. %defattr(-,root,root,-)
  67. %doc COPYING
  68. %{_libdir}/*.so.*
  69. %dir %{_libdir}/%{name}-0.0
  70. %{_libdir}/%{name}-0.0/libmulticast-transmitter.so
  71. %{_libdir}/%{name}-0.0/libnice-transmitter.so
  72. %{_libdir}/%{name}-0.0/librawudp-transmitter.so
  73. %{_libdir}/%{name}-0.0/libshm-transmitter.so
  74. %{_libdir}/gstreamer-0.10/libfsfunnel.so
  75. %{_libdir}/gstreamer-0.10/libfsrtpconference.so
  76. %{_libdir}/gstreamer-0.10/libfsvideoanyrate.so
  77. %{_libdir}/gstreamer-0.10/libfsrtcpfilter.so
  78. %{_libdir}/gstreamer-0.10/libfsmsnconference.so
  79. %{_libdir}/gstreamer-0.10/libfsrawconference.so
  80. %{_datadir}/farsight2/0.0/fsrtpconference
  81. %files python
  82. %defattr(-,root,root,-)
  83. %{python_sitearch}/farsight.so
  84. %files devel
  85. %defattr(-,root,root,-)
  86. %{_libdir}/libgstfarsight-0.10.so
  87. %{_libdir}/pkgconfig/%{name}-0.10.pc
  88. %{_includedir}/gstreamer-0.10/gst/farsight/
  89. %{_datadir}/gtk-doc/html/%{name}-libs-0.10
  90. %{_datadir}/gtk-doc/html/%{name}-plugins-0.10
  91. %changelog
  92. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.29-1
  93. - new upstream release
  94. - change BuildRequires: gstreamer-python-devel instead of gstreamer-python
  95. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.17-2
  96. - rebuilt with rpm-4.8.1 for pkg-config
  97. - added BR: gupnp-devel
  98. * Sat Feb 06 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.17-1
  99. - new upstream release
  100. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.16-3
  101. - rebuild with python-2.6
  102. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.16-2
  103. - initial build for Vine Linux
  104. * Tue Oct 6 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.16-1
  105. - Update to 0.0.16.
  106. * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.0.15-2
  107. - Rebuild for new gupnp
  108. * Thu Sep 3 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.15-1
  109. - Update to 0.0.15.
  110. * Thu Aug 06 2009 Warren Togami <wtogami@redhat.com> - 0.0.14-1
  111. - 0.0.14
  112. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-4
  113. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  114. * Wed Jul 22 2009 Warren Togami <wtogami@redhat.com> - 0.0.12-3
  115. - rebuild
  116. * Mon Jun 22 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.12-2
  117. - Remove unnecessary requires on gst-plugins-farsight.
  118. * Sat May 30 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.12-1
  119. - Update to 0.0.12.
  120. * Tue May 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.11-1
  121. - Update to 0.0.11.
  122. * Wed May 20 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.10-1
  123. - Update to 0.0.10.
  124. * Tue Apr 7 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.9-1
  125. - Update to 0.0.9.
  126. * Tue Mar 17 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.8-1
  127. - Update to 0.0.8.
  128. - Bump min version of gstreamer needed.
  129. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-3
  130. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  131. * Mon Jan 19 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-2
  132. - Add BR on gupnp-igd-devel, pygobject2-devel, and pygtk2-devel.
  133. * Fri Jan 9 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-1
  134. - Update to 0.0.7.
  135. * Mon Jan 5 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-4
  136. - Add BR on libnice-devel and build libnice transmitter.
  137. - Set gstreamer package name & origin.
  138. * Fri Jan 02 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-3
  139. - Rebuild.
  140. * Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-2
  141. - Preserve time stamps.
  142. * Tue Dec 16 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1
  143. - Initial Fedora spec.