forked from pool/python-pygame
Accepting request 77836 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/77836 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
d5beb7fdc3
commit
6638a97002
@@ -22,6 +22,7 @@ Version: 1.9.1
|
||||
Release: 1
|
||||
Source: http://pygame.org/ftp/pygame-%{version}release.tar.gz
|
||||
Source1: README.SUSE
|
||||
Patch1: pygame-v4l-2.6.38.patch
|
||||
Summary: A Python Module for Interfacing with the SDL Multimedia Library
|
||||
License: LGPLv2.1+
|
||||
Group: Development/Libraries/Python
|
||||
@@ -41,6 +42,9 @@ BuildRequires: python-numpy
|
||||
%else
|
||||
BuildRequires: python-numeric
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1210
|
||||
BuildRequires: libv4l-devel >= 0.8.4
|
||||
%endif
|
||||
%{py_requires}
|
||||
|
||||
%description
|
||||
@@ -69,6 +73,9 @@ written by Mark Baker.
|
||||
|
||||
%prep
|
||||
%setup -q -n pygame-%{version}release
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%patch1
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"
|
||||
|
Reference in New Issue
Block a user