1 |
%define oname gst-python |
2 |
|
3 |
Name: gstreamer0.10-python |
4 |
Version: 0.10.22 |
5 |
Release: %mkrel 5 |
6 |
Summary: Python bindings for GStreamer |
7 |
Group: Development/Python |
8 |
License: LGPLv2+ |
9 |
URL: http://gstreamer.freedesktop.org/ |
10 |
Source0: http://gstreamer.freedesktop.org/src/gst-python/%{oname}-%{version}.tar.bz2 |
11 |
Patch0: gst-python-0.10.17-linkage.patch |
12 |
#gw reall fix python dir (Mdv bug #54969) |
13 |
Patch1: gst-python-0.10.20-fix-python-detection.patch |
14 |
Patch2: gst-python-0.10.22-automake-1.13.patch |
15 |
Requires: python |
16 |
Requires: pygtk2.0 |
17 |
BuildRequires: libgstreamer-plugins-base-devel >= 0.10.32 |
18 |
BuildRequires: pkgconfig(pygtk-2.0) |
19 |
BuildRequires: pkgconfig(python) |
20 |
#gw for the docs |
21 |
#BuildRequires: xmlto |
22 |
#BuildRequires: libxml2-utils |
23 |
|
24 |
%description |
25 |
This module contains a binding that allows GStreamer applications |
26 |
to be written in Python. |
27 |
|
28 |
%package devel |
29 |
Summary: Python bindings for GStreamer - development files |
30 |
Group: Development/Python |
31 |
Requires: %{name} = %{version} |
32 |
|
33 |
%description devel |
34 |
This module contains a binding that allows GStreamer applications |
35 |
to be written in Python. |
36 |
|
37 |
Install this to build programs depending on %{name}. |
38 |
|
39 |
%prep |
40 |
%setup -q -n %{oname}-%{version} |
41 |
%autopatch -p1 |
42 |
|
43 |
%build |
44 |
autoreconf -fi |
45 |
|
46 |
%configure2_5x \ |
47 |
--disable-valgrind |
48 |
|
49 |
export XML_CATALOG_FILES=/etc/xml/catalog |
50 |
%make |
51 |
|
52 |
%install |
53 |
|
54 |
rm -rf %{buildroot} |
55 |
%makeinstall_std |
56 |
|
57 |
find %{buildroot} -type f -name "*.la" -delete |
58 |
|
59 |
%check |
60 |
export LC_ALL=C |
61 |
#gw currently fails: |
62 |
#https://bugzilla.gnome.org/show_bug.cgi?id=624490 |
63 |
#make check |
64 |
|
65 |
%files |
66 |
%doc AUTHORS NEWS RELEASE README |
67 |
%{py_platsitedir}/gst-0.10/ |
68 |
%{py_platsitedir}/gstoption.so |
69 |
%{py_platsitedir}/pygst* |
70 |
%_libdir/gstreamer-0.10/libgstpython.so |
71 |
|
72 |
%files devel |
73 |
%doc ChangeLog |
74 |
%{_datadir}/gst-python |
75 |
%{_libdir}/pkgconfig/gst-python-0.10.pc |
76 |
%{_includedir}/gstreamer-0.10/gst |