Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
python-pygame
python-pygame.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pygame.spec of Package python-pygame
# # spec file for package python-pygame (Version 1.9.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: python-pygame BuildRequires: SDL_image-devel SDL_mixer-devel SDL_ttf-devel libjpeg-devel libpng-devel python-devel xorg-x11 %if %suse_version > 1110 BuildRequires: python-numpy %else BuildRequires: python-numeric %endif Version: 1.9.0 Release: 1 Source: pygame-%{version}release.tar.bz2 Source1: README.SuSE Patch1: pygame-1.9.0-readme.html.patch Summary: A Python Module for Interfacing with the SDL Multimedia Library License: LGPL v2.1 or later Group: Development/Libraries/Python Url: http://www.pygame.org/ Provides: pygame Obsoletes: pygame AutoReqProv: on %{py_requires} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Pygame is a Python wrapper module for the SDL multimedia library. It contains Python functions and classes that allow you to use SDL's support for playing CD-ROMs, 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. Authors: -------- Pete Shinners <pete@shinners.org> %package doc License: LGPL v2.1 or later Summary: Pygame documentation and example programs Group: Development/Libraries/Python Provides: pygame-doc Obsoletes: pygame-doc Requires: python-pygame = %{version} %description doc Pygame is a Python wrapper module for the SDL multimedia library. 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. Authors: -------- Pete Shinners <pete@shinners.org> %prep %setup -q -n pygame-%{version}release %patch1 %build export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing" yes "y" | python -d config.py python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES #install doc install -d $RPM_BUILD_ROOT%{_docdir}/python-pygame install -m 644 WHATSNEW README.txt %{S:1} $RPM_BUILD_ROOT%{_docdir}/python-pygame cp -r docs/ examples/ $RPM_BUILD_ROOT%{_docdir}/python-pygame %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(644, root, root, 755) %doc %dir %{_docdir}/python-pygame %doc %{_docdir}/python-pygame/WHATSNEW %doc %{_docdir}/python-pygame/README.txt %doc %{_docdir}/python-pygame/README.SuSE %files doc %defattr(644, root, root, 755) %doc %{_docdir}/python-pygame/docs %doc %{_docdir}/python-pygame/examples %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor