summaryrefslogtreecommitdiff
path: root/gst-python.spec.in
diff options
context:
space:
mode:
authorChristian Schaller <uraeus@gnome.org>2005-10-06 17:06:21 +0000
committerChristian Schaller <uraeus@gnome.org>2005-10-06 17:06:21 +0000
commit987621e5c7d8b3077b9f420a19b44abedce41bc1 (patch)
tree4543420f5d2d794a64918134cfd3a0df134afde5 /gst-python.spec.in
parent396316a7e4296b2f48ec42f8a80b2e4e93196454 (diff)
update spec I know
Original commit message from CVS: update spec I know
Diffstat (limited to 'gst-python.spec.in')
-rw-r--r--gst-python.spec.in31
1 files changed, 21 insertions, 10 deletions
diff --git a/gst-python.spec.in b/gst-python.spec.in
index a616b6a..3b12023 100644
--- a/gst-python.spec.in
+++ b/gst-python.spec.in
@@ -3,7 +3,7 @@
%define _pygtk @PYGTK_REQ@
%define _gst @GST_REQ@
-Name: %{gstreamer}-python
+Name: %{gstreamer}09-python
Version: @VERSION@
Release: 1
Summary: Python bindings for GStreamer.
@@ -11,14 +11,25 @@ Summary: Python bindings for GStreamer.
Group: Development/Languages
License: LGPL
URL: http://gstreamer.net/
-Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz
+Vendor: GStreamer Backpackers Team <package@gstreamer.net>
+Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+%define _pygtk 2.3.97
+%define _gtk @gtk_required_version@
+
+Requires: python2
+Requires: pygtk2 >= %_pygtk
+Requires: gstreamer09 >= 0.9.1
+BuildRequires: pygtk2-devel >= %_pygtk
+BuildRequires: python2-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: python >= 2
Requires: gnome-python2
Requires: pygtk2 >= %_pygtk
-Requires: %{gstreamer}
-Requires: %{gstreamer}-plugins
+Requires: %{gstreamer}09
+Requires: %{gstreamer}09-plugins
BuildRequires: python >= 2
BuildRequires: python-devel >= 2
@@ -29,8 +40,8 @@ BuildRequires: links
# xwindowlistener needs X11 headers
BuildRequires: XFree86-devel
-BuildRequires: %{gstreamer}-devel >= %_gst
-BuildRequires: %{gstreamer}-plugins-devel >= %_gst
+BuildRequires: %{gstreamer}09-devel >= %_gst
+BuildRequires: %{gstreamer}09-plugins-base-devel >= %_gst
# sigh, libtool
BuildRequires: gcc-c++
@@ -56,19 +67,19 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT
%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README NEWS
+%{_libdir}/*
+%{_datadir}/*
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
-%doc examples/*.py
%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*
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/_gst.so
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/interfaces.so
-%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/play.so
%dir %{_datadir}/gst-python
-%{_datadir}/gst-python/examples
-%{_datadir}/gst-python/2.0/defs/*.defs
%{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
%changelog