gstreamer-python-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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.22
  9. Release: %{pkg_release}
  10. License: LGPLv2+
  11. Group: System Environment/Libraries
  12. URL: http://gstreamer.freedesktop.org/
  13. Source0: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.bz2
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: gstreamer-devel
  16. BuildRequires: gstreamer-plugins-base-devel
  17. BuildRequires: pygobject-devel
  18. BuildRequires: pygtk2-devel
  19. BuildRequires: python
  20. BuildRequires: python-devel
  21. Requires: gstreamer
  22. Requires: gstreamer-plugins-base
  23. Requires: python
  24. Requires: pygtk2
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. %description
  28. This package contains a python bindings to the GStreamer
  29. streaming-media framework.
  30. %description -l ja
  31. このパッケージは GStreamer ストリーミングメディアフレームワーク
  32. 向けの Python バインディングを含みます。
  33. %package devel
  34. Summary: Development environment for gstreamer-python
  35. Summary(ja): gstreamer-python の開発環境
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}-%{release}
  38. Requires: pkgconfig
  39. %description devel
  40. Header files and libraries for building a extension library for the
  41. gstreamer-python.
  42. %prep
  43. %setup -q -n gst-python-%{version}
  44. %build
  45. %configure
  46. %{__make} %{?_smp_mflags}
  47. %install
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  50. # remove unnecessary .la files
  51. find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
  52. %clean
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. %files
  55. %defattr(-,root,root)
  56. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE TODO
  57. %{_libdir}/gstreamer-%{majorminor}/lib*.so
  58. %{python_sitearch}/*.so
  59. #%{python_sitelib}/*.py*
  60. #%{python_sitelib}/pygst.p*
  61. #%{python_sitelib}/gst-%{majorminor}
  62. %{python_sitearch}/pygst.p*
  63. %{python_sitearch}/gst-%{majorminor}
  64. %{_datadir}/gst-python/%{majorminor}/defs/*.defs
  65. %{_datadir}/gst-python/%{majorminor}/examples
  66. %files devel
  67. %{_includedir}/gstreamer-%{majorminor}/gst/*.h
  68. %{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
  69. %changelog
  70. * Fri Nov 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.22-1
  71. - new upstream release
  72. - moved to System Environment/Libraries Group
  73. * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.21-2
  74. - rebuild with python-2.7.2
  75. * Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.21-1
  76. - new upstream release
  77. * Thu Dec 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.20-1
  78. - new upstream release
  79. - create -devel sub package
  80. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.17-3
  81. - rebuilt with rpm-4.8.1 for pkg-config
  82. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.17-2
  83. - rebuild with python-2.6
  84. * Sun Nov 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.17-1
  85. - new upstream release
  86. * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.14-1
  87. - new upstream release
  88. * Wed Dec 31 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.13-2
  89. - changed python-lib directory to %%{python_sitearch}
  90. * Sat Dec 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.13-1
  91. - initial build for Vine Linux