Adding gst-python package
[platform/upstream/gst-python.git] / packaging / gst-python.spec~
1 Name:           gstreamer-python
2 Version:        1.4.5
3 Release:        1
4 Summary:        Python bindings for GStreamer
5
6 Group:          Development/Languages
7 License:        LGPL-2.1+
8 URL:            http://gstreamer.freedesktop.org/
9 Source:         http://gstreamer.freedesktop.org/src/gst-python/gst-python-1.4.0.tar.gz
10
11 Requires:       python >= 2
12 Requires:       gnome-python2
13 Requires:       pygtk2
14
15
16 BuildRequires:  python >= 2
17 BuildRequires:  python-devel >= 2
18
19
20 BuildRequires:  pkgconfig(gstreamer-1.0)
21 BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
22 BuildRequires:  pkgconfig(pygobject-3.0)
23
24 # sigh, libtool
25 BuildRequires:  gcc-c++
26
27 %description
28 This module contains a wrapper that allows GStreamer applications
29 to be written in Python.
30
31 %package devel
32 Summary:        Libraries/include files for Python bindings for GStreamer
33 Group:          Development/Libraries
34 #Requires: gstreamer-python-debuginfo = 1.4.5-1
35
36 %description devel
37 This package contains the libraries and includes files necessary to develop
38 python bindings for GStreamer-based C libraries.
39
40 %prep
41 %setup -q -n gst-python-%{version}
42
43
44
45 %build
46 %autogen --noconfigure
47 %configure
48 make %{?_smp_mflags}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %makeinstall
54 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59
60 %files
61 %defattr(-,root,root,-)
62 %doc gst-python.doap
63 %license COPYING
64 %{_libdir}/gstreamer-1.0/libgstpythonplugin.so
65 #%{_libdir}/python2.7/site-packages/gi/overrides/Gst.py
66 #%{_libdir}/python2.7/site-packages/gi/overrides/Gst.pyc
67 #%{_libdir}/python2.7/site-packages/gi/overrides/Gst.pyo
68 #%{_libdir}/python2.7/site-packages/gi/overrides/GstPbutils.py
69 #%{_libdir}/python2.7/site-packages/gi/overrides/GstPbutils.pyc
70 #%{_libdir}/python2.7/site-packages/gi/overrides/GstPbutils.pyo
71 %{_libdir}/python2.7/site-packages/gi/overrides/_gi_gst.so
72
73
74 %files devel
75 %defattr(-, root, root, -)