Name: gstreamer-python Version: @VERSION@ Release: 1 Summary: Python bindings for GStreamer. Group: Development/Languages License: LGPL URL: http://gstreamer.net/ Vendor: GStreamer Backpackers Team Source: http://gstreamer.net/releases/gst-python/gst-python-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root %define _pygtk @PYGTK_REQ@ Requires: python2 Requires: pygtk2 >= %_pygtk Requires: gstreamer >= 0.6.2 BuildRequires: pkgconfig BuildRequires: pygtk2-devel = %_pygtk BuildRequires: python2-devel %description This module contains a wrapper that allows GStreamer applications to be written in Python. %prep %setup -q -n gst-python-%{version} # export PYTHON=/usr/bin/python2.2 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} %build make %install rm -rf $RPM_BUILD_ROOT %makeinstall find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog README NEWS examples/gstreamer %dir %{_libdir}/python?.?/site-packages/gstreamer %{_libdir}/python?.?/site-packages/gstreamer/__init__.* %{_libdir}/python?.?/site-packages/_gstreamermodule.so %changelog * Wed Jun 11 2003 Thomas Vander Stichele - Update * Sat Mar 23 2002 David I. Lehn - new gst-python package based on pygtk and gconf binding packages