gst-python.spec.in 2.38 KB
Newer Older
Christian Schaller's avatar
Christian Schaller committed
1 2 3 4
%define         gst_minver      0.8.0
%define         gstp_minver     0.8.0
%define         majorminor      0.8
%define         gstreamer       gstreamer
5

Christian Schaller's avatar
Christian Schaller committed
6 7 8 9 10 11 12
Name:           %{gstreamer}-python
Version:        @VERSION@
Release:        1
Summary:        Python bindings for GStreamer.

Group:          Development/Languages
License:        LGPL
13
URL:            http://gstreamer.net/
Christian Schaller's avatar
Christian Schaller committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
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 >= 2.4.0
Requires:	%{gstreamer}
Requires:	%{gstreamer}-plugins

BuildRequires:	python >= 2
BuildRequires:  python-devel >= 2
BuildRequires:  pygtk2-devel >= 2.4.0
BuildRequires:	xmlto
BuildRequires:	links

# xwindowlistener needs X11 headers
BuildRequires:  XFree86-devel
31

Christian Schaller's avatar
Christian Schaller committed
32 33
BuildRequires:	%{gstreamer}-devel
BuildRequires:	%{gstreamer}-plugins-devel
34

Christian Schaller's avatar
Christian Schaller committed
35 36
# sigh, libtool
BuildRequires:  gcc-c++
David I. Lehn's avatar
David I. Lehn committed
37 38 39 40 41 42 43 44 45

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

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

%build
Christian Schaller's avatar
Christian Schaller committed
46 47
%configure
make %{?_smp_mflags}
David I. Lehn's avatar
David I. Lehn committed
48 49 50

%install
rm -rf $RPM_BUILD_ROOT
51 52

%makeinstall
Christian Schaller's avatar
Christian Schaller committed
53
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
54 55 56

%clean
rm -rf $RPM_BUILD_ROOT
David I. Lehn's avatar
David I. Lehn committed
57 58

%files
Christian Schaller's avatar
Christian Schaller committed
59 60 61 62 63 64 65 66 67
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%doc examples/gst/*.py
%doc examples/gstplay/*.py
%dir %{_libdir}/python?.?/site-packages/gst
%{_libdir}/python?.?/site-packages/gst/__init__.py*
%{_libdir}/python?.?/site-packages/gst/_gst.so
%{_libdir}/python?.?/site-packages/gst/interfaces.so
%{_libdir}/python?.?/site-packages/gst/play.so
68
%{_libdir}/python?.?/site-packages/gst/extend
Christian Schaller's avatar
Christian Schaller committed
69 70 71 72
%dir %{_datadir}/gst-python
%{_datadir}/gst-python/examples
%{_datadir}/gst-python/2.0/defs/*.defs
%{_libdir}/pkgconfig/gst-python-0.8.pc
David I. Lehn's avatar
David I. Lehn committed
73 74

%changelog
Christian Schaller's avatar
Christian Schaller committed
75 76 77 78 79 80 81 82 83 84 85
* 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
86

Christian Schaller's avatar
Christian Schaller committed
87 88
* Tue Sep 02 2003 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.1.0-0.fdr.1: first fedora release