2005-10-06 15:25:29 +00:00
|
|
|
%define majorminor @GST_MAJORMINOR@
|
2006-01-25 11:23:20 +00:00
|
|
|
%define gstreamer gstreamer
|
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-12-20 15:58:02 +00:00
|
|
|
Name: %{gstreamer}-python
|
2004-11-05 17:39:21 +00:00
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1
|
|
|
|
Summary: Python bindings for GStreamer.
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
License: LGPL
|
2005-12-20 15:58:02 +00:00
|
|
|
URL: http://gstreamer.freedesktop.org/
|
2005-10-06 17:06:21 +00:00
|
|
|
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-12-20 15:58:02 +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-12-20 15:58:02 +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.
|
|
|
|
|
2011-12-18 20:45:52 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Libraries/include files for Python bindings for GStreamer
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: %{gstreamer}-python = @VERSION@
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the libraries and includes files necessary to develop
|
|
|
|
python bindings for GStreamer-based C libraries.
|
|
|
|
|
2002-03-24 04:32:10 +00:00
|
|
|
%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,-)
|
2006-12-15 17:02:31 +00:00
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README gst-python.doap
|
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
|
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/__init__.py*
|
2005-11-07 15:16:56 +00:00
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/extend
|
2005-10-06 15:25:29 +00:00
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/_gst.so
|
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/interfaces.so
|
2008-05-07 16:05:19 +00:00
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/pbutils.so
|
2009-08-18 13:45:41 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstpython.so
|
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/audio.so
|
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/tag.so
|
|
|
|
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/video.so
|
|
|
|
%{_libdir}/python?.?/site-packages/gstoption.so
|
2005-12-20 15:58:02 +00:00
|
|
|
%{_datadir}/gst-python
|
2011-12-18 20:45:52 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%dir %{_includedir}/gstreamer-%{majorminor}
|
|
|
|
%dir %{_includedir}/gstreamer-%{majorminor}/gst
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/pygst.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/pygstvalue.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/pygstminiobject.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/pygstexception.h
|
2005-10-06 15:25:29 +00:00
|
|
|
%{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
|
2002-03-24 04:32:10 +00:00
|
|
|
|
|
|
|
%changelog
|
2006-12-15 17:02:31 +00:00
|
|
|
* Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- add doap file
|
|
|
|
|
2005-12-20 15:58:02 +00:00
|
|
|
* Tue Dec 20 2005 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- updated spec file
|
|
|
|
|
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
|