Репозитории ALT
5.1: | 1.8.1-alt2 |
4.1: | 1.7.1-alt2.1 |
4.0: | 1.7.1-alt0.1 |
3.0: | 1.6.2-alt2 |
Группа :: Разработка/Python
Пакет: python-module-pygame
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: python-module-pygame
Version: 1.7.1
Release: alt0.1
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: http://pygame.seul.org/ftp//pygame-%{version}release.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}release
%__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
%files
%python_sitelibdir/%modulename/
%files devel
%python_includedir/%modulename/
%files doc
%doc WHATSNEW install.html readme.txt docs examples
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.7.1
Release: alt0.1
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: http://pygame.seul.org/ftp//pygame-%{version}release.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}release
%__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
%files
%python_sitelibdir/%modulename/
%files devel
%python_includedir/%modulename/
%files doc
%doc WHATSNEW install.html readme.txt docs examples
%changelog
…
Полный changelog можно просмотреть здесь