gstreamer/gst-python.spec.in

56 lines
1.4 KiB
RPMSpec
Raw Normal View History

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 <package@gstreamer.net>
Source: http://gstreamer.net/releases/gst-python/gst-python-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%define _pygtk @pygtk_required_version@
%define _gtk @gtk_required_version@
Requires: python2
Requires: gnome-python2 = %{version}
Requires: pygtk2 >= %_pygtk
Requires: gstreamer >= 0.6.2
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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README NEWS examples/gstreamer/*.py
%dir %{_libdir}/python?.?/site-packages/gstreamer
%{_libdir}/python?.?/site-packages/gstreamer/__init__.*
%{_libdir}/python?.?/site-packages/gstreamer/_gstreamermodule.so
%changelog
* Wed Jun 11 2003 Thomas Vander Stichele <thomas at apestaart dot org>
- Update
* Sat Mar 23 2002 David I. Lehn <dlehn@vt.edu>
- new gst-python package based on pygtk and gconf binding packages