gstreamer/gst-python.spec.in
Thomas Vander Stichele 67d9d38cff update to conform more to other modules fix spec file, the bindings build and work, yay !
Original commit message from CVS:
update to conform more to other modules
fix spec file, the bindings build and work, yay !
2003-06-11 20:32:29 +00:00

56 lines
1.4 KiB
RPMSpec

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_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 <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