Group :: Desenvolvimento/Python
RPM: python-module-pygame
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: python-module-pygame
Version: 1.6.2
Release: alt2
Summary: A Python module for interfacing with the SDL multimedia library
Summary(ru_RU.KOI8-R): òÁÓÛÉÒÅÎÉÅ ÑÚÙËÁ Python ÄÌÑ ÒÁÂÏÔÙ Ó ÂÉÂÌÉÏÔÅËÏÊ SDL
Group: Development/Python
License: LGPL
Url: http://pygame.seul.org
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %url/pygame-%version.tar.bz2
%setup_python_module pygame
%define python_includedir %_includedir/python%__python_version
Provides: python-pygame, %modulename
Obsoletes: %modulename
Requires: libSDL >= 1.2.7
# manually removed: eric
# Automatically added by buildreq on Sun Mar 20 2005
BuildRequires: libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libsmpeg-devel python-base python-dev python-module-Numeric-devel python-modules-encodings xorg-x11-devel
%description
pygame is a Python wrapper module for the SDL multimedia library, written by
Pete Shinners. It contains python functions and classes that will allow you
to use SDL's support for playing cdroms, audio and video output, and keyboard,
mouse and joystick input. pygame also includes support for the Numerical
Python extension. pygame is the successor to the pySDL wrapper project, written
by Mark Baker.
Install %name if you would like to write or play SDL games written in the
python language.
%description -l ru_RU.KOI8-R
pygame - ÒÁÓÛÉÒÅÎÉÅ ÑÚÙËÁ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Python, ÐÏÚ×ÏÌÑÀÝÅÅ
ÉÓÐÏÌØÚÏ×ÁÔØ ×ÏÚÍÏÖÎÏÓÔÉ ÍÕÌØÔÉÍÅÄÉÊÎÏÊ ÂÉÂÌÉÏÔÅËÉ SDL (Simple
DirectMedia Layer), ÐÒÅÄÏÓÔÁ×ÌÑÀÝÅÊ ÎÉÚËÏÕÒÏ×ÎÅ×ÙÊ ÄÏÓÔÕÐ Ë Ú×ÕËÏ×ÙÍ
ÕÓÔÒÏÊÓÔ×ÁÍ, ËÌÁ×ÉÁÔÕÒÅ, ÍÁÎÉÐÕÌÑÔÏÒÕ ÍÙÛØ É Ë ÂÕÆÅÒÕ ÜËÒÁÎÁ ÎÁ
ÍÎÏÖÅÓÔ×Å ÒÁÚÌÉÞÎÙÈ ÐÌÁÔÆÏÒÍ.
%package devel
Summary: Pygame development headers
Summary(ru_RU.KOI8-R): æÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÁ ÐÒÉÌÏÖÅÎÉÊ, ÉÓÐÏÌØÚÕÀÝÉÈ pygame
Group: Development/Python
Requires: %name = %version-%release
%description devel
pygame is a Python wrapper module for the SDL multimedia library, written by
Pete Shinners. It contains python functions and classes that will allow you
to use SDL's support for playing cdroms, audio and video output, and keyboard,
mouse and joystick input. pygame also includes support for Numerical Python
extension. pygame is the successor to the pySDL wrapper project, written by
Mark Baker.
Install %name-devel if you need the API documentation and example programs.
%description devel -l ru_RU.KOI8-R
ðÁËÅÔ ÓÏÄÅÒÖÉÔ ÚÁÇÏÌÏ×ÏÞÎÙÅ ÆÁÊÌÙ, ÄÏËÕÍÅÎÔÁÃÉÀ É ÐÒÉÍÅÒÙ ÐÒÏÇÒÁÍÍ,
ÉÓÐÏÌØÚÕÀÝÉÈ ÒÁÓÛÉÒÅÎÉÅ pygame.
%package doc
Summary: Pygame documentation and example programs
Group: Development/Python
Requires: %name = %version-%release
%description doc
pygame is a Python wrapper module for the SDL multimedia library,
written by Pete Shinners. It contains python functions and classes that
will allow you to use SDL's support for playing cdroms, audio and video
output, and keyboard, mouse and joystick input. pygame also includes
support for Numerical Python extension. pygame is the successor to the
pySDL wrapper project, written by Mark Baker.
Install %name-doc if you need the API documentation and example
programs.
%prep
%setup -q -n %modulename-%version
%__rm -f docs/LGPL
# remove for unliked dependences
%__rm -f lib/macosx.py
%build
export LOCALBASE=%_prefix
%__python config.py
%__python setup.py build
%install
%__python setup.py install --root=%buildroot --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%exclude %python_includedir/%modulename
%python_sitelibdir/pygame
%files devel
%python_includedir/%modulename
%files doc
%doc WHATSNEW install.txt readme.txt docs examples
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.6.2
Release: alt2
Summary: A Python module for interfacing with the SDL multimedia library
Summary(ru_RU.KOI8-R): òÁÓÛÉÒÅÎÉÅ ÑÚÙËÁ Python ÄÌÑ ÒÁÂÏÔÙ Ó ÂÉÂÌÉÏÔÅËÏÊ SDL
Group: Development/Python
License: LGPL
Url: http://pygame.seul.org
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %url/pygame-%version.tar.bz2
%setup_python_module pygame
%define python_includedir %_includedir/python%__python_version
Provides: python-pygame, %modulename
Obsoletes: %modulename
Requires: libSDL >= 1.2.7
# manually removed: eric
# Automatically added by buildreq on Sun Mar 20 2005
BuildRequires: libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libsmpeg-devel python-base python-dev python-module-Numeric-devel python-modules-encodings xorg-x11-devel
%description
pygame is a Python wrapper module for the SDL multimedia library, written by
Pete Shinners. It contains python functions and classes that will allow you
to use SDL's support for playing cdroms, audio and video output, and keyboard,
mouse and joystick input. pygame also includes support for the Numerical
Python extension. pygame is the successor to the pySDL wrapper project, written
by Mark Baker.
Install %name if you would like to write or play SDL games written in the
python language.
%description -l ru_RU.KOI8-R
pygame - ÒÁÓÛÉÒÅÎÉÅ ÑÚÙËÁ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Python, ÐÏÚ×ÏÌÑÀÝÅÅ
ÉÓÐÏÌØÚÏ×ÁÔØ ×ÏÚÍÏÖÎÏÓÔÉ ÍÕÌØÔÉÍÅÄÉÊÎÏÊ ÂÉÂÌÉÏÔÅËÉ SDL (Simple
DirectMedia Layer), ÐÒÅÄÏÓÔÁ×ÌÑÀÝÅÊ ÎÉÚËÏÕÒÏ×ÎÅ×ÙÊ ÄÏÓÔÕÐ Ë Ú×ÕËÏ×ÙÍ
ÕÓÔÒÏÊÓÔ×ÁÍ, ËÌÁ×ÉÁÔÕÒÅ, ÍÁÎÉÐÕÌÑÔÏÒÕ ÍÙÛØ É Ë ÂÕÆÅÒÕ ÜËÒÁÎÁ ÎÁ
ÍÎÏÖÅÓÔ×Å ÒÁÚÌÉÞÎÙÈ ÐÌÁÔÆÏÒÍ.
%package devel
Summary: Pygame development headers
Summary(ru_RU.KOI8-R): æÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÁ ÐÒÉÌÏÖÅÎÉÊ, ÉÓÐÏÌØÚÕÀÝÉÈ pygame
Group: Development/Python
Requires: %name = %version-%release
%description devel
pygame is a Python wrapper module for the SDL multimedia library, written by
Pete Shinners. It contains python functions and classes that will allow you
to use SDL's support for playing cdroms, audio and video output, and keyboard,
mouse and joystick input. pygame also includes support for Numerical Python
extension. pygame is the successor to the pySDL wrapper project, written by
Mark Baker.
Install %name-devel if you need the API documentation and example programs.
%description devel -l ru_RU.KOI8-R
ðÁËÅÔ ÓÏÄÅÒÖÉÔ ÚÁÇÏÌÏ×ÏÞÎÙÅ ÆÁÊÌÙ, ÄÏËÕÍÅÎÔÁÃÉÀ É ÐÒÉÍÅÒÙ ÐÒÏÇÒÁÍÍ,
ÉÓÐÏÌØÚÕÀÝÉÈ ÒÁÓÛÉÒÅÎÉÅ pygame.
%package doc
Summary: Pygame documentation and example programs
Group: Development/Python
Requires: %name = %version-%release
%description doc
pygame is a Python wrapper module for the SDL multimedia library,
written by Pete Shinners. It contains python functions and classes that
will allow you to use SDL's support for playing cdroms, audio and video
output, and keyboard, mouse and joystick input. pygame also includes
support for Numerical Python extension. pygame is the successor to the
pySDL wrapper project, written by Mark Baker.
Install %name-doc if you need the API documentation and example
programs.
%prep
%setup -q -n %modulename-%version
%__rm -f docs/LGPL
# remove for unliked dependences
%__rm -f lib/macosx.py
%build
export LOCALBASE=%_prefix
%__python config.py
%__python setup.py build
%install
%__python setup.py install --root=%buildroot --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%exclude %python_includedir/%modulename
%python_sitelibdir/pygame
%files devel
%python_includedir/%modulename
%files doc
%doc WHATSNEW install.txt readme.txt docs examples
%changelog
…
Todas as alterações você pod ver aqui