gstreamer-python-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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 1%{?_dist_release}
  5. Summary: Python bindings for GStreamer
  6. Summary(ja): GStreamer の Python バインディング
  7. Name: gstreamer-python
  8. Version: 0.10.21
  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. %package devel
  31. Summary: Development environment for gstreamer-python
  32. Summary(ja): gstreamer-pythonの開発環境
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pkgconfig
  36. %description devel
  37. Header files and libraries for building a extension library for the
  38. gstreamer-python.
  39. %prep
  40. %setup -q -n gst-python-%{version}
  41. %build
  42. %configure
  43. %{__make} %{?_smp_mflags}
  44. %install
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  47. # remove unnecessary .la files
  48. find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %files
  52. %defattr(-,root,root)
  53. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE TODO
  54. %{_libdir}/gstreamer-%{majorminor}/lib*.so
  55. %{python_sitearch}/*.so
  56. #%{python_sitelib}/*.py*
  57. #%{python_sitelib}/pygst.p*
  58. #%{python_sitelib}/gst-%{majorminor}
  59. %{python_sitearch}/pygst.p*
  60. %{python_sitearch}/gst-%{majorminor}
  61. %{_datadir}/gst-python/%{majorminor}/defs/*.defs
  62. %{_datadir}/gst-python/%{majorminor}/examples
  63. %files devel
  64. %{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
  65. %changelog
  66. * Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.21-1
  67. - new upstream release
  68. * Thu Dec 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.20-1
  69. - new upstream release
  70. - create -devel sub package
  71. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.17-3
  72. - rebuilt with rpm-4.8.1 for pkg-config
  73. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.17-2
  74. - rebuild with python-2.6
  75. * Sun Nov 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.17-1
  76. - new upstream release
  77. * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.14-1
  78. - new upstream release
  79. * Wed Dec 31 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.13-2
  80. - changed python-lib directory to %%{python_sitearch}
  81. * Sat Dec 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.13-1
  82. - initial build for Vine Linux