telepathy-farsight-vl.spec 4.3 KB

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