/[packages]/cauldron/gstreamer0.10-python/current/SPECS/gstreamer0.10-python.spec
ViewVC logotype

Contents of /cauldron/gstreamer0.10-python/current/SPECS/gstreamer0.10-python.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 505302 - (show annotations) (download)
Fri Oct 18 01:37:46 2013 UTC (10 years, 5 months ago) by umeabot
File size: 1961 byte(s)
Mageia 4 Mass Rebuild
1 %define oname gst-python
2 %define name gstreamer0.10-python
3
4 Name: %{name}
5 Version: 0.10.22
6 Release: %mkrel 4
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: pygtk2.0-devel
20 BuildRequires: python-devel
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" -exec rm -f {} ';'
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 %clean
69 rm -rf %{buildroot}
70
71 %files
72 %defattr(-,root,root)
73 %doc AUTHORS NEWS RELEASE README
74 %{py_platsitedir}/gst-0.10/
75 %{py_platsitedir}/gstoption.so
76 %{py_platsitedir}/pygst*
77 %_libdir/gstreamer-0.10/libgstpython.so
78
79 %files devel
80 %defattr(-,root,root)
81 %doc ChangeLog
82 %{_datadir}/gst-python
83 %{_libdir}/pkgconfig/gst-python-0.10.pc
84 %{_includedir}/gstreamer-0.10/gst

  ViewVC Help
Powered by ViewVC 1.1.30