2005-10-06 15:25:29 +00:00
|
|
|
%define majorminor @GST_MAJORMINOR@
|
2005-10-06 17:27:06 +00:00
|
|
|
%define gstreamer gstreamer09
|
2005-10-06 15:25:29 +00:00
|
|
|
%define _pygtk @PYGTK_REQ@
|
|
|
|
%define _gst @GST_REQ@
|
2003-06-11 20:32:29 +00:00
|
|
|
|
2005-10-06 17:06:21 +00:00
|
|
|
Name: %{gstreamer}09-python
|
2004-11-05 17:39:21 +00:00
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1
|
|
|
|
Summary: Python bindings for GStreamer.
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
License: LGPL
|
2003-06-11 20:32:29 +00:00
|
|
|
URL: http://gstreamer.net/
|
2005-10-06 17:06:21 +00:00
|
|
|
Vendor: GStreamer Backpackers Team <package@gstreamer.net>
|
|
|
|
Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz
|
|
|
|
|
2004-11-05 17:39:21 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
Requires: python >= 2
|
|
|
|
Requires: gnome-python2
|
2005-10-06 15:25:29 +00:00
|
|
|
Requires: pygtk2 >= %_pygtk
|
2005-10-06 17:27:06 +00:00
|
|
|
Requires: %{gstreamer}
|
|
|
|
Requires: %{gstreamer}-plugins-base
|
2004-11-05 17:39:21 +00:00
|
|
|
|
|
|
|
BuildRequires: python >= 2
|
|
|
|
BuildRequires: python-devel >= 2
|
2005-10-06 15:25:29 +00:00
|
|
|
BuildRequires: pygtk2-devel >= %_pygtk
|
2004-11-05 17:39:21 +00:00
|
|
|
BuildRequires: xmlto
|
|
|
|
BuildRequires: links
|
|
|
|
|
2005-10-06 17:27:06 +00:00
|
|
|
BuildRequires: %{gstreamer}-devel >= %_gst
|
|
|
|
BuildRequires: %{gstreamer}-plugins-base-devel >= %_gst
|
2003-06-11 20:32:29 +00:00
|
|
|
|
2004-11-05 17:39:21 +00:00
|
|
|
# sigh, libtool
|
|
|
|
BuildRequires: gcc-c++
|
2002-03-24 04:32:10 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module contains a wrapper that allows GStreamer applications
|
|
|
|
to be written in Python.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n gst-python-%{version}
|
|
|
|
|
|
|
|
%build
|
2004-11-05 17:39:21 +00:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
2002-03-24 04:32:10 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2003-06-11 20:32:29 +00:00
|
|
|
|
|
|
|
%makeinstall
|
2004-11-05 17:39:21 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
2003-06-11 20:32:29 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2002-03-24 04:32:10 +00:00
|
|
|
|
|
|
|
%files
|
2004-11-05 17:39:21 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
2005-10-06 15:25:29 +00:00
|
|
|
%dir %{_libdir}/python?.?/site-packages/gst-%{majorminor}
|
|
|
|
%{_libdir}/python?.?/site-packages/pygst.pth
|
|
|
|
%{_libdir}/python?.?/site-packages/pygst.py
|
2005-10-06 17:27:06 +00:00
|
|
|
%{_libdir}/python?.?/site-packages/gst/extend/*
|
2005-10-06 15:25:29 +00:00
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/__init__.py*
|
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/_gst.so
|
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/interfaces.so
|
2004-11-05 17:39:21 +00:00
|
|
|
%dir %{_datadir}/gst-python
|
2005-10-06 17:27:06 +00:00
|
|
|
%{_datadir}/gst-python/?.?/defs/*
|
|
|
|
%{_datadir}/gst-python/?.?/examples/*
|
2005-10-06 15:25:29 +00:00
|
|
|
%{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
|
2002-03-24 04:32:10 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-10-06 15:25:29 +00:00
|
|
|
* Thu Oct 06 2005 Edward Hervey < edward at fluendo dot com >
|
|
|
|
- Updated spec file for 0.9
|
|
|
|
|
2004-11-05 17:39:21 +00:00
|
|
|
* Fri Nov 05 2004 Christian Schaller < uraeus at gnome org >
|
|
|
|
- Remerged spec file with cvs version
|
|
|
|
|
|
|
|
* Tue Oct 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 0.7.93-0.fdr.1: new upstream release
|
|
|
|
|
|
|
|
* Mon Jun 21 2004 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 0.7.92-0.fdr.1: new upstream release
|
|
|
|
|
|
|
|
* Wed Mar 31 2004 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 0.7.91-0.fdr.1: new upstream release
|
2003-06-11 20:32:29 +00:00
|
|
|
|
2004-11-05 17:39:21 +00:00
|
|
|
* Tue Sep 02 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 0.1.0-0.fdr.1: first fedora release
|