Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 773b7ae2de68d56d9de4eb45e3bfb4bb > files > 2

pyxmms-2.02-2mdk.src.rpm

%define name pyxmms
%define version 2.02
%define release 2mdk

Summary: Python bindings for XMMS
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
License: GPL
Group: Development/Python
URL: http://www.via.ecp.fr/~flo/	
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: libpython-devel
BuildRequires: libxmms-devel
Requires: xmms

%description
This is PyXMMS, a Python interface to XMMS (the X MultiMedia System), an audio
(and video) player running on Unix platforms.
 
PyXMMS is a set of Python bindings for all the xmms_remote_* functions
accessible through the libxmms library (which comes with XMMS), plus a few
useful higher-level functions.

%prep
%setup -q

%build
python setup.py build
python ./build-documentation.py
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --prefix=%_prefix --root=%buildroot -O2

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README COPYING ChangeLog AUTHORS doc/*
%_libdir/python%pyver/site-packages/*xmms*

%changelog
* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 2.02-2mdk
- Rebuild for new python

* Thu Feb 19 2004 Götz Waschk <waschk@linux-mandrake.com> 2.02-1mdk
- add the docs
- drop patch
- new version

* Sun Sep 14 2003 Götz Waschk <waschk@linux-mandrake.com> 1.06-1mdk
- initial package