farsight2-vl.spec 5.5 KB

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