telepathy-farsight-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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.17
  6. Name: telepathy-farsight
  7. Version: 0.0.15
  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. %description
  28. %{name} is a Telepathy client that uses Farsight and GStreamer to
  29. handle media streaming channels. It's used as a background process
  30. by other Telepathy clients, rather than presenting any user interface
  31. of its own.
  32. %package python
  33. Summary: Python binding for %{name}
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. %description python
  37. Python bindings for %{name}.
  38. %package devel
  39. Summary: Development files for %{name}
  40. Group: Development/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. Requires: %{name}-python = %{version}-%{release}
  43. Requires: glib2-devel
  44. Requires: dbus-glib-devel >= %{dbus_glib_ver}
  45. Requires: farsight2-devel >= %{farsight2_ver}
  46. Requires: telepathy-filesystem
  47. Requires: pkgconfig
  48. %description devel
  49. The %{name}-devel package contains libraries and header files for
  50. developing applications that use %{name}.
  51. %prep
  52. %setup -q
  53. # %patch0 -p1 -b .pkgconfig
  54. %build
  55. %configure --disable-static
  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. # Remove rpath
  62. chrpath --delete $RPM_BUILD_ROOT%{python_sitearch}/*.so
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %post -p /sbin/ldconfig
  66. %postun -p /sbin/ldconfig
  67. %files
  68. %defattr(-,root,root,-)
  69. %doc COPYING NEWS
  70. %{_libdir}/*.so.*
  71. %files python
  72. %defattr(-,root,root,-)
  73. %{python_sitearch}/*.so
  74. %files devel
  75. %defattr(-,root,root,-)
  76. %{_libdir}/*.so
  77. %{_libdir}/pkgconfig/*.pc
  78. %{_includedir}/telepathy-1.0/%{name}/
  79. %{_datadir}/gtk-doc/html/%{name}
  80. %changelog
  81. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.15-1
  82. - new upstream release
  83. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.13-3
  84. - rebuilt with rpm-4.8.1 for pkg-config
  85. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.13-2
  86. - add BuildRequires: python-devel, pygobject-devel
  87. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.13-1
  88. - new upstream release
  89. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.12-3
  90. - rebuild with python-2.6
  91. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.12-2
  92. - initial build for Vine Linux
  93. * Mon Oct 19 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.12-1
  94. - Update to 0.0.12.
  95. * Thu Sep 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.11-1
  96. - Update to 0.0.11.
  97. * Tue Sep 8 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.10-1
  98. - Update to 0.0.10.
  99. * Tue Aug 25 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.9-1
  100. - Update to 0.0.9.
  101. * Thu Aug 6 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.8-1
  102. - Update to 0.0.8.
  103. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-2
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  105. * Thu May 7 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-1
  106. - Update to 0.0.7.
  107. * Tue Mar 17 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1
  108. - Update to 0.0.6.
  109. - Bump min version of tp-glib needed.
  110. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-3
  111. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  112. * Tue Feb 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.4-2
  113. - Add devel requires on telepathy-filesystem.
  114. * Sat Jan 17 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.4-1
  115. - Initial spec.