gstreamer-python-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  3. %define majorminor 0.10
  4. %define pkg_release 2%{?_dist_release}
  5. Summary: Python bindings for GStreamer
  6. Summary(ja): GStreamer の Python バインディング
  7. Name: gstreamer-python
  8. Version: 0.10.17
  9. Release: %{pkg_release}
  10. Source0: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.bz2
  11. License: LGPLv2+
  12. Group: Development/Languages
  13. URL: http://gstreamer.freedesktop.org/
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: python, python-devel
  16. BuildRequires: pygtk2-devel
  17. BuildRequires: gstreamer-devel
  18. BuildRequires: gstreamer-plugins-base-devel
  19. BuildRequires: pygobject-devel
  20. Requires: python, pygtk2
  21. Requires: gstreamer, gstreamer-plugins-base
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. This package contains a python bindings to the GStreamer
  26. streaming-media framework.
  27. %description -l ja
  28. このパッケージは GStreamer ストリーミングメディアフレームワーク
  29. 向けの Python バインディングを含みます。
  30. %prep
  31. %setup -q -n gst-python-%{version}
  32. %build
  33. %configure
  34. %{__make} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf ${RPM_BUILD_ROOT}
  37. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  38. # remove unnecessary .la files
  39. find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
  40. %clean
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %files
  43. %defattr(-,root,root)
  44. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE TODO
  45. %{_libdir}/gstreamer-%{majorminor}/lib*.so
  46. %{python_sitearch}/*.so
  47. #%{python_sitelib}/*.py*
  48. #%{python_sitelib}/pygst.p*
  49. #%{python_sitelib}/gst-%{majorminor}
  50. %{python_sitearch}/pygst.p*
  51. %{python_sitearch}/gst-%{majorminor}
  52. %{_datadir}/gst-python/%{majorminor}/defs/*.defs
  53. %{_datadir}/gst-python/%{majorminor}/examples
  54. %{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
  55. %changelog
  56. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.17-2
  57. - rebuild with python-2.6
  58. * Sun Nov 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.17-1
  59. - new upstream release
  60. * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.14-1
  61. - new upstream release
  62. * Wed Dec 31 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.13-2
  63. - changed python-lib directory to %%{python_sitearch}
  64. * Sat Dec 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.13-1
  65. - initial build for Vine Linux