9585f87
%define         majorminor      0.10
40acb49
a1dd317
Name:           gstreamer-python
76f9dab
Version:        0.10.16
6063cef
Release:        1%{?dist}
9585f87
Summary:        Python bindings for GStreamer
40acb49
40acb49
Group:          Development/Languages
69753d6
License:        LGPLv2+
40acb49
URL:            http://gstreamer.freedesktop.org/
db23afb
Source:         http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.bz2
76f9dab
#Patch0:         gst-python-0.10.15-strayline.patch
40acb49
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
40acb49
3b35ce7
Requires:       python >= 2.3
3b35ce7
Requires:       pygtk2 >= 2.8.0
368cefb
Requires:       gstreamer >= 0.10.12
368cefb
Requires:       gstreamer-plugins-base >= 0.10.12
40acb49
3b35ce7
BuildRequires:  python >= 2.3
3b35ce7
BuildRequires:  python-devel >= 2.3
3b35ce7
BuildRequires:  pygtk2-devel >= 2.8.0
cvsextras 55c571d
# xwindowlistener needs X11 headers
9585f87
BuildRequires:  libX11-devel
368cefb
BuildRequires:  gstreamer-devel >= 0.10.12
8f7b7fa
BuildRequires:  gstreamer-plugins-base-devel >= 0.10.22
3b35ce7
BuildRequires:  pygobject2-devel >= 2.11.2
cvsextras 55c571d
3b35ce7
40acb49
%description
40acb49
This module contains a wrapper that allows GStreamer applications
40acb49
to be written in Python.
cvsextras 55c571d
3b35ce7
873772d
%package        devel
873772d
Summary:        Headers for developing programs that will use %{name}
873772d
Group:          Development/Libraries
873772d
Requires:       %{name} = %{version}-%{release}
873772d
Requires:       pkgconfig
873772d
Requires:       pygtk2-devel
873772d
Requires:       gstreamer-devel
873772d
873772d
873772d
%description devel
873772d
This package contains the static libraries and header files needed for
873772d
developing gstreamer-python applications.
873772d
873772d
40acb49
%prep
40acb49
%setup -q -n gst-python-%{version}
f60db54
%{__sed} -i 's|^#!/usr/bin/env python$|#|' gst/extend/*.py
76f9dab
#%patch0 -p1 -b .strayline
cvsextras 55c571d
3b35ce7
cvsextras 55c571d
%build
f60db54
%configure
40acb49
make %{?_smp_mflags}
cvsextras 55c571d
3b35ce7
cvsextras 55c571d
%install
f60db54
rm -rf $RPM_BUILD_ROOT docs-to-include
3b35ce7
make install DESTDIR=$RPM_BUILD_ROOT
40acb49
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
f60db54
mkdir -p docs-to-include/examples
f60db54
chmod -x examples/*.py
f60db54
cp examples/*.py docs-to-include/examples/
f60db54
rm -fr $RPM_BUILD_ROOT%{_datadir}/gst-python/%{majorminor}/examples
cvsextras 55c571d
3b35ce7
cvsextras 55c571d
%clean
40acb49
rm -rf $RPM_BUILD_ROOT
cvsextras 55c571d
3b35ce7
cvsextras 55c571d
%files
40acb49
%defattr(-,root,root,-)
cvsextras 55c571d
%doc AUTHORS COPYING ChangeLog NEWS README
9585f87
%{_libdir}/python?.?/site-packages/gst-%{majorminor}
475df69
%{_libdir}/python?.?/site-packages/pygst.py*
9585f87
%{_libdir}/python?.?/site-packages/pygst.pth
94eec58
%{_libdir}/python?.?/site-packages/gstoption.so
6063cef
%{_libdir}/gstreamer-0.10/*
40acb49
%dir %{_datadir}/gst-python
4e19449
%dir %{_datadir}/gst-python/%{majorminor}
4e19449
%dir %{_datadir}/gst-python/%{majorminor}/defs
9585f87
%{_datadir}/gst-python/%{majorminor}/defs/*.defs
873772d
873772d
873772d
%files devel
873772d
%defattr(-,root,root,-)
873772d
%doc docs-to-include/*
9585f87
%{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
cvsextras 55c571d
3b35ce7
cvsextras 55c571d
%changelog
76f9dab
* Fri Aug 14 2009 Xavier Lamien <laxathom@fedoraproject.org> - 0.10-16-1
76f9dab
- Update release.
76f9dab
6063cef
* Mon Jun  1 2009 Denis Leroy <denis@poolshark.org> - 0.10.15-1
6063cef
- Update to upstream 0.10.15, for pitivi update
6063cef
- Added git patch for compile fix
6063cef
03ef4c0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.14-2
03ef4c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
03ef4c0
8f7b7fa
* Fri Jan 30 2009 Denis Leroy <denis@poolshark.org> - 0.10.14-1
8f7b7fa
- Update to upstream 0.10.14, with various bug fixes
8f7b7fa
- Removed problematic devel Provide
8f7b7fa
873772d
* Sat Jan 10 2009 Denis Leroy <denis@poolshark.org> - 0.10.13-1
873772d
- Update to upstraem 0.10.13
873772d
- Forked devel package with pkgconfig file (#477310)
873772d
8b776ef
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.12-2
8b776ef
- Rebuild for Python 2.6
8b776ef
5fc4c91
* Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 0.10.12-1
5fc4c91
- Update to upstream 0.10.12
5fc4c91
4e19449
* Fri Mar 28 2008 Denis Leroy <denis@poolshark.org> - 0.10.11-2
4e19449
- Fixed datadir directory ownership (#439291)
4e19449
e6ee601
* Sun Mar 23 2008 Denis Leroy <denis@poolshark.org> - 0.10.11-1
e6ee601
- Update to upstream 0.10.11, bugfix release updates
e6ee601
368cefb
* Wed Feb 13 2008 Denis Leroy <denis@poolshark.org> - 0.10.10-1
368cefb
- Update to upstream 0.10.10, BR updates
368cefb
369a78b
* Sun Dec  9 2007 Denis Leroy <denis@poolshark.org> - 0.10.9-1
369a78b
- Update to upstream 0.10.9
369a78b
- Removed exit patch, is upstream
369a78b
2b9cb1e
* Fri Sep 14 2007 Denis Leroy <denis@poolshark.org> - 0.10.8-2
2b9cb1e
- Added patch to avoid crash on exit
2b9cb1e
69753d6
* Mon Aug 20 2007 Denis Leroy <denis@poolshark.org> - 0.10.8-1
69753d6
- Update to upstream 0.10.8
69753d6
- License tag update
69753d6
f60db54
* Tue Feb 20 2007 Denis Leroy <denis@poolshark.org> - 0.10.7-2
f60db54
- Ship examples in doc directory only, fixes multilib conflict (#228363)
f60db54
- rpmlint cleanup
f60db54
3b35ce7
* Wed Feb 14 2007 Denis Leroy <denis@poolshark.org> - 0.10.7-1
3b35ce7
- Update to 0.10.7
3b35ce7
- Some spec cleanups
3b35ce7
a1dd317
* Mon Dec 11 2006 Denis Leroy <denis@poolshark.org> - 0.10.6-1
a1dd317
- Update to 0.10.6, build with python 2.5
a1dd317
769bba8
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.10.5-2
a1dd317
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
769bba8
79c4490
* Tue Sep 26 2006 Denis Leroy <denis@poolshark.org> - 0.10.5-1
79c4490
- Update to 0.10.5
79c4490
6c1ffa4
* Tue Sep 19 2006 Denis Leroy <denis@poolshark.org> - 0.10.4-2
6c1ffa4
- FE Rebuild
6c1ffa4
104469a
* Thu Jun 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
104469a
- 0.10.4-1
104469a
- new upstream release
104469a
9585f87
* Tue Jan 24 2006 Thomas Vander Stichele <thomas at apestaart dot org>
9585f87
- update to GStreamer Python Bindings 0.10.2
9585f87
- remove -devel requirements
9585f87
d205dbd
* Thu May 19 2005 Thomas Vander Stichele <thomas at apestaart dot org> - 0.8.1-6
d205dbd
- disable docs build - they're already in the tarball
d205dbd
16c218d
* Tue May 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.8.1-5
16c218d
- Move __init__.py* files from lib to _libdir on multilibarchs
16c218d
  Found in thias spec file, fixes x86_64
16c218d
a7d14a5
* Fri Apr  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.8.1-3
a7d14a5
- include missing directories
a7d14a5
80b2a27
* Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.8.1-2
80b2a27
- add deps pygtk2-devel and gstreamer-devel for pkgconfig file
80b2a27
40acb49
* Fri Dec 24 2004 Thomas Vander Stichele <thomas at apestaart dot org>
40acb49
- 0.8.1-1: moved to Fedora Extras CVS
40acb49
40acb49
* Fri Dec 24 2004 Thomas Vander Stichele <thomas at apestaart dot org>
40acb49
- 0.8.1-0.fdr.2: various cleanups
40acb49
40acb49
* Tue Dec 07 2004 Thomas Vander Stichele <thomas at apestaart dot org>
40acb49
- 0.8.1-0.fdr.1: new upstream release
cvsextras 55c571d
40acb49
* Mon Nov 15 2004 Thomas Vander Stichele <thomas at apestaart dot org>
40acb49
- 0.8.0-0.fdr.1: new upstream release
40acb49
40acb49
* Fri Nov 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
40acb49
- 0.7.94-0.fdr.1: new upstream release
40acb49
40acb49
* Tue Oct 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
40acb49
- 0.7.93-0.fdr.1: new upstream release
cvsextras 55c571d
cvsextras 55c571d
* Mon Jun 21 2004 Thomas Vander Stichele <thomas at apestaart dot org>
cvsextras 55c571d
- 0.7.92-0.fdr.1: new upstream release
cvsextras 55c571d
cvsextras 55c571d
* Wed Mar 31 2004 Thomas Vander Stichele <thomas at apestaart dot org>
cvsextras 55c571d
- 0.7.91-0.fdr.1: new upstream release
cvsextras 55c571d
cvsextras 55c571d
* Tue Sep 02 2003 Thomas Vander Stichele <thomas at apestaart dot org>
cvsextras 55c571d
- 0.1.0-0.fdr.1: first fedora release