telepathy-farsight-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. %define dbus_ver 1.4.0
  3. %define dbus_glib_ver 0.88
  4. %define tp_glib_ver 0.13.0
  5. %define farsight2_ver 0.0.29
  6. Name: telepathy-farsight
  7. Version: 0.0.19
  8. Release: 1%{?_dist_release}
  9. Summary: Telepathy client to handle media streaming channels
  10. Group: System Environment/Libraries
  11. License: LGPLv2+
  12. URL: http://telepathy.freedesktop.org/wiki/
  13. Source0: http://telepathy.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
  14. # Workaround broken private require. https://bugzilla.redhat.com/show_bug.cgi?id=426106
  15. # Patch0: %{name}-broken-pkgconfig.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: glib2-devel
  18. BuildRequires: dbus-devel >= %{dbus_ver}
  19. BuildRequires: dbus-glib-devel >= %{dbus_glib_ver}
  20. BuildRequires: telepathy-glib-devel >= %{tp_glib_ver}
  21. BuildRequires: farsight2-devel >= %{farsight2_ver}
  22. BuildRequires: gstreamer-python >= 0.10.10
  23. # Needed to remove rpath
  24. BuildRequires: chrpath
  25. BuildRequires: python-devel
  26. BuildRequires: pygobject-devel
  27. BuildRequires: gstreamer-python-devel
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. %description
  31. %{name} is a Telepathy client that uses Farsight and GStreamer to
  32. handle media streaming channels. It's used as a background process
  33. by other Telepathy clients, rather than presenting any user interface
  34. of its own.
  35. %package python
  36. Summary: Python binding for %{name}
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. %description python
  40. Python bindings for %{name}.
  41. %package devel
  42. Summary: Development files for %{name}
  43. Group: Development/Libraries
  44. Requires: %{name} = %{version}-%{release}
  45. Requires: %{name}-python = %{version}-%{release}
  46. Requires: glib2-devel
  47. Requires: dbus-glib-devel >= %{dbus_glib_ver}
  48. Requires: farsight2-devel >= %{farsight2_ver}
  49. Requires: telepathy-filesystem
  50. Requires: pkgconfig
  51. %description devel
  52. The %{name}-devel package contains libraries and header files for
  53. developing applications that use %{name}.
  54. %prep
  55. %setup -q
  56. # %patch0 -p1 -b .pkgconfig
  57. %build
  58. %configure --disable-static
  59. make %{?_smp_mflags}
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  63. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  64. # Remove rpath
  65. chrpath --delete $RPM_BUILD_ROOT%{python_sitearch}/*.so
  66. %clean
  67. rm -rf $RPM_BUILD_ROOT
  68. %post -p /sbin/ldconfig
  69. %postun -p /sbin/ldconfig
  70. %files
  71. %defattr(-,root,root,-)
  72. %doc COPYING NEWS
  73. %{_libdir}/*.so.*
  74. %files python
  75. %defattr(-,root,root,-)
  76. %{python_sitearch}/*.so
  77. %files devel
  78. %defattr(-,root,root,-)
  79. %{_libdir}/*.so
  80. %{_libdir}/pkgconfig/*.pc
  81. %{_includedir}/telepathy-1.0/%{name}/
  82. %{_datadir}/gtk-doc/html/%{name}
  83. %changelog
  84. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.19-1
  85. - new upstream release
  86. - add BuildRequires: gstreamer-python-devel
  87. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.15-1
  88. - new upstream release
  89. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.13-3
  90. - rebuilt with rpm-4.8.1 for pkg-config
  91. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.13-2
  92. - add BuildRequires: python-devel, pygobject-devel
  93. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.13-1
  94. - new upstream release
  95. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.12-3
  96. - rebuild with python-2.6
  97. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.12-2
  98. - initial build for Vine Linux
  99. * Mon Oct 19 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.12-1
  100. - Update to 0.0.12.
  101. * Thu Sep 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.11-1
  102. - Update to 0.0.11.
  103. * Tue Sep 8 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.10-1
  104. - Update to 0.0.10.
  105. * Tue Aug 25 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.9-1
  106. - Update to 0.0.9.
  107. * Thu Aug 6 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.8-1
  108. - Update to 0.0.8.
  109. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  111. * Thu May 7 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-1
  112. - Update to 0.0.7.
  113. * Tue Mar 17 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1
  114. - Update to 0.0.6.
  115. - Bump min version of tp-glib needed.
  116. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-3
  117. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  118. * Tue Feb 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.4-2
  119. - Add devel requires on telepathy-filesystem.
  120. * Sat Jan 17 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.4-1
  121. - Initial spec.