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