mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
update spec I know
Original commit message from CVS: update spec I know
This commit is contained in:
parent
396316a7e4
commit
987621e5c7
1 changed files with 21 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
|||
%define _pygtk @PYGTK_REQ@
|
||||
%define _gst @GST_REQ@
|
||||
|
||||
Name: %{gstreamer}-python
|
||||
Name: %{gstreamer}09-python
|
||||
Version: @VERSION@
|
||||
Release: 1
|
||||
Summary: Python bindings for GStreamer.
|
||||
|
@ -11,14 +11,25 @@ Summary: Python bindings for GStreamer.
|
|||
Group: Development/Languages
|
||||
License: LGPL
|
||||
URL: http://gstreamer.net/
|
||||
Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz
|
||||
Vendor: GStreamer Backpackers Team <package@gstreamer.net>
|
||||
Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%define _pygtk 2.3.97
|
||||
%define _gtk @gtk_required_version@
|
||||
|
||||
Requires: python2
|
||||
Requires: pygtk2 >= %_pygtk
|
||||
Requires: gstreamer09 >= 0.9.1
|
||||
BuildRequires: pygtk2-devel >= %_pygtk
|
||||
BuildRequires: python2-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: python >= 2
|
||||
Requires: gnome-python2
|
||||
Requires: pygtk2 >= %_pygtk
|
||||
Requires: %{gstreamer}
|
||||
Requires: %{gstreamer}-plugins
|
||||
Requires: %{gstreamer}09
|
||||
Requires: %{gstreamer}09-plugins
|
||||
|
||||
BuildRequires: python >= 2
|
||||
BuildRequires: python-devel >= 2
|
||||
|
@ -29,8 +40,8 @@ BuildRequires: links
|
|||
# xwindowlistener needs X11 headers
|
||||
BuildRequires: XFree86-devel
|
||||
|
||||
BuildRequires: %{gstreamer}-devel >= %_gst
|
||||
BuildRequires: %{gstreamer}-plugins-devel >= %_gst
|
||||
BuildRequires: %{gstreamer}09-devel >= %_gst
|
||||
BuildRequires: %{gstreamer}09-plugins-base-devel >= %_gst
|
||||
|
||||
# sigh, libtool
|
||||
BuildRequires: gcc-c++
|
||||
|
@ -56,19 +67,19 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(644,root,root,755)
|
||||
%doc AUTHORS ChangeLog README NEWS
|
||||
%{_libdir}/*
|
||||
%{_datadir}/*
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%doc examples/*.py
|
||||
%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/_gst.so
|
||||
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/interfaces.so
|
||||
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/play.so
|
||||
%dir %{_datadir}/gst-python
|
||||
%{_datadir}/gst-python/examples
|
||||
%{_datadir}/gst-python/2.0/defs/*.defs
|
||||
%{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
|
||||
|
||||
%changelog
|
||||
|
|
Loading…
Reference in a new issue