Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37593401
en ru br
ALT Linux repositórios
5.0: 2.06-alt2.1
4.1: 2.06-alt2.1
4.0: 2.06-alt2
3.0: 2.04-alt3

Group :: Desenvolvimento/Python
RPM: python-module-xmms

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# $Id: python-module-SAMPLE.spec 138 2004-03-26 23:17:36Z cray $
# vim: termencoding=koi8-r
# vim: encoding=utf-8
%define version 2.06
%define release alt2

%setup_python_module xmms

Summary: XMMS control bindings for Python
Summary(ru_RU.UTF-8): Управление XMMS из Python
Name: %packagename
Version: %version
Release: %release.1
License: BSD
Group: Development/Python
Prefix: %_prefix
Url: http://people.via.ecp.fr/~flo/2002/PyXMMS
Source: %url/dist/py%modulename-%version.tar.bz2
Patch: pyxmms.setup.usr.patch

#BuildRequires: python-dev glib-devel libxmms-devel

BuildRequires: glib-devel libxmms-devel

%description
PyXMMS is a Python interface to XMMS, a free multimedia player for X-Window1.
PyXMMS consists of two components as of version 2.00:
 * a set of bindings for the xmms_remote* functions of the libxmms library,
   plus some higher-level functions
 * a Pythonic interface to manage (including reading and writing) the main
   configuration file for XMMS.
In other words, PyXMMS can be used to control XMMS or manage its main
configuration file from a Python program.

This module is built for python %__python_version

%description -l ru_RU.UTF-8
С помощью этого модуля можно управлять XMMS, музыкальным проигрывателем для X.
В модуль входит два набора функций:
 * Обёртки дл функций xmms_remote* из libxmms
 * Функции разбора файла настроек XMMS

Этот модуль собран для Python версии %__python_version

%prep
%setup -q -n py%modulename-%version
%patch

%build
mkdir -p buildroot

# Unfortunately build and install steps should be done at once

# because otherwise .pyo files won't get into INSTALLED_FILES
# record

CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=`pwd`/buildroot \
--record=INSTALLED_FILES
%__python build-documentation.py

%install

cp -pr buildroot %buildroot

unset RPM_PYTHON

%files -f INSTALLED_FILES
%doc doc/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009