1 |
wally |
33568 |
%define oname gst-python |
2 |
wally |
33566 |
|
3 |
ovitters |
645083 |
Name: gstreamer0.10-python |
4 |
fwang |
160009 |
Version: 0.10.22 |
5 |
pterjan |
628240 |
Release: %mkrel 5 |
6 |
wally |
33566 |
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 |
wally |
33568 |
#gw reall fix python dir (Mdv bug #54969) |
13 |
|
|
Patch1: gst-python-0.10.20-fix-python-detection.patch |
14 |
cjw |
338652 |
Patch2: gst-python-0.10.22-automake-1.13.patch |
15 |
wally |
33566 |
Requires: python |
16 |
|
|
Requires: pygtk2.0 |
17 |
|
|
BuildRequires: libgstreamer-plugins-base-devel >= 0.10.32 |
18 |
ovitters |
642501 |
BuildRequires: pkgconfig(pygtk-2.0) |
19 |
ovitters |
642881 |
BuildRequires: pkgconfig(python) |
20 |
wally |
33566 |
#gw for the docs |
21 |
|
|
#BuildRequires: xmlto |
22 |
wally |
33568 |
#BuildRequires: libxml2-utils |
23 |
wally |
33566 |
|
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 |
|
|
%patch0 -p1 -b .linkage |
42 |
|
|
%patch1 -p1 -b .fix-python-detection |
43 |
cjw |
338652 |
%patch2 -p1 -b .automake-1_13 |
44 |
|
|
|
45 |
|
|
%build |
46 |
wally |
33566 |
autoreconf -fi |
47 |
|
|
|
48 |
|
|
%configure2_5x \ |
49 |
|
|
--disable-valgrind |
50 |
|
|
|
51 |
|
|
export XML_CATALOG_FILES=/etc/xml/catalog |
52 |
|
|
%make |
53 |
|
|
|
54 |
|
|
%install |
55 |
|
|
|
56 |
|
|
rm -rf %{buildroot} |
57 |
|
|
%makeinstall_std |
58 |
|
|
|
59 |
ovitters |
638483 |
find %{buildroot} -type f -name "*.la" -delete |
60 |
wally |
33566 |
|
61 |
|
|
%check |
62 |
|
|
export LC_ALL=C |
63 |
|
|
#gw currently fails: |
64 |
|
|
#https://bugzilla.gnome.org/show_bug.cgi?id=624490 |
65 |
|
|
#make check |
66 |
|
|
|
67 |
|
|
%files |
68 |
|
|
%doc AUTHORS NEWS RELEASE README |
69 |
|
|
%{py_platsitedir}/gst-0.10/ |
70 |
|
|
%{py_platsitedir}/gstoption.so |
71 |
|
|
%{py_platsitedir}/pygst* |
72 |
|
|
%_libdir/gstreamer-0.10/libgstpython.so |
73 |
|
|
|
74 |
|
|
%files devel |
75 |
|
|
%doc ChangeLog |
76 |
fwang |
160009 |
%{_datadir}/gst-python |
77 |
wally |
33566 |
%{_libdir}/pkgconfig/gst-python-0.10.pc |
78 |
fwang |
160009 |
%{_includedir}/gstreamer-0.10/gst |