update spec file

Original commit message from CVS:
update spec file
This commit is contained in:
Christian Schaller 2004-11-05 17:39:21 +00:00
parent 1455ae5c15
commit 90fc3c1629

View file

@ -1,4 +1,9 @@
Name: gstreamer-python %define gst_minver 0.8.0
%define gstp_minver 0.8.0
%define majorminor 0.8
%define gstreamer gstreamer
Name: %{gstreamer}-python
Version: @VERSION@ Version: @VERSION@
Release: 1 Release: 1
Summary: Python bindings for GStreamer. Summary: Python bindings for GStreamer.
@ -6,19 +11,29 @@ Summary: Python bindings for GStreamer.
Group: Development/Languages Group: Development/Languages
License: LGPL License: LGPL
URL: http://gstreamer.net/ URL: http://gstreamer.net/
Vendor: GStreamer Backpackers Team <package@gstreamer.net>
Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%define _pygtk @pygtk_required_version@ Requires: python >= 2
%define _gtk @gtk_required_version@ Requires: gnome-python2
Requires: pygtk2 >= 2.4.0
Requires: %{gstreamer}
Requires: %{gstreamer}-plugins
Requires: python2 BuildRequires: python >= 2
Requires: gnome-python2 = %{version} BuildRequires: python-devel >= 2
Requires: pygtk2 >= %_pygtk BuildRequires: pygtk2-devel >= 2.4.0
Requires: gstreamer >= 0.8.1 BuildRequires: xmlto
BuildRequires: pygtk2-devel = %_pygtk BuildRequires: links
BuildRequires: python2-devel
# xwindowlistener needs X11 headers
BuildRequires: XFree86-devel
BuildRequires: %{gstreamer}-devel
BuildRequires: %{gstreamer}-plugins-devel
# sigh, libtool
BuildRequires: gcc-c++
%description %description
This module contains a wrapper that allows GStreamer applications This module contains a wrapper that allows GStreamer applications
@ -26,30 +41,47 @@ to be written in Python.
%prep %prep
%setup -q -n gst-python-%{version} %setup -q -n gst-python-%{version}
# export PYTHON=/usr/bin/python2.2
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
%build %build
make %configure
make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%makeinstall %makeinstall
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(644,root,root,755) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog README NEWS examples/gstreamer/*.py %doc AUTHORS COPYING ChangeLog NEWS README
%dir %{_libdir}/python?.?/site-packages/gstreamer %doc examples/gst/*.py
%{_libdir}/python?.?/site-packages/gstreamer/__init__.* %doc examples/gstplay/*.py
%{_libdir}/python?.?/site-packages/gstreamer/_gstreamermodule.so %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
%dir %{_datadir}/gst-python
%{_datadir}/gst-python/examples
%{_datadir}/gst-python/2.0/defs/*.defs
%{_libdir}/pkgconfig/gst-python-0.8.pc
%changelog %changelog
* Wed Jun 11 2003 Thomas Vander Stichele <thomas at apestaart dot org> * Fri Nov 05 2004 Christian Schaller < uraeus at gnome org >
- Update - Remerged spec file with cvs version
* Sat Mar 23 2002 David I. Lehn <dlehn@vt.edu> * Tue Oct 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- new gst-python package based on pygtk and gconf binding packages - 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