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