summaryrefslogtreecommitdiff
path: root/gst-python.spec.in
blob: 2a79554055a9252fdaa5b2de9cfc5c50f055c914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
%define         majorminor      @GST_MAJORMINOR@
%define         gstreamer       gstreamer010
%define		_pygtk		@PYGTK_REQ@
%define		_gst		@GST_REQ@

Name:           %{gstreamer}-python
Version:        @VERSION@
Release:        1
Summary:        Python bindings for GStreamer.

Group:          Development/Languages
License:        LGPL
URL:            http://gstreamer.freedesktop.org/
Source: 	http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:	python >= 2
Requires:	gnome-python2
Requires:	pygtk2 >= %_pygtk
Requires:	%{gstreamer}
Requires:	%{gstreamer}-plugins-base

BuildRequires:	python >= 2
BuildRequires:  python-devel >= 2
BuildRequires:  pygtk2-devel >= %_pygtk
BuildRequires:	xmlto
BuildRequires:	links

BuildRequires:	%{gstreamer}-devel >= %_gst
BuildRequires:	%{gstreamer}-plugins-base-devel >= %_gst

# sigh, libtool
BuildRequires:  gcc-c++

%description
This module contains a wrapper that allows GStreamer applications
to be written in Python.

%prep
%setup -q -n gst-python-%{version}

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%dir %{_libdir}/python?.?/site-packages/gst-%{majorminor}
%{_libdir}/python?.?/site-packages/pygst.pth
%{_libdir}/python?.?/site-packages/pygst.py
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/__init__.py*
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/extend
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/_gst.so
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/interfaces.so
%{_datadir}/gst-python
%{_libdir}/pkgconfig/gst-python-%{majorminor}.pc

%changelog
* Tue Dec 20 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- updated spec file

* Thu Oct 06 2005 Edward Hervey < edward at fluendo dot com >
- Updated spec file for 0.9

* Fri Nov 05 2004 Christian Schaller < uraeus at gnome org >
- Remerged spec file with cvs version

* Tue Oct 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.7.93-0.fdr.1: new upstream release

* Mon Jun 21 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.7.92-0.fdr.1: new upstream release

* Wed Mar 31 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.7.91-0.fdr.1: new upstream release

* Tue Sep 02 2003 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.1.0-0.fdr.1: first fedora release