Name: python-pygame Version: 2.5.2 Release: 1mamba Summary: A set of Python modules designed for writing games Group: Development/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.pygame.org/news Source: https://pypi.debian.net/pygame/pygame-%{version}.tar.gz #Source: http://pygame.org/ftp/pygame-%{version}.tar.gz Patch0: python-pygame-1.9.1-remove-v4l.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libSDL2-devel BuildRequires: libX11-devel BuildRequires: libfreetype-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libportmidi-devel BuildRequires: libpython3-devel BuildRequires: libsdl2_image-devel BuildRequires: libsdl2_mixer-devel BuildRequires: libsdl2_ttf-devel ## AUTOBUILDREQ-END BuildRequires: python-numeric-devel Requires: python >= 2.3.4 Requires: python-numeric >= 23.6 Requires: ttf-freefont %description Pygame is a set of Python modules designed for writing games. It is written on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version} %description devel Pygame is a set of Python modules designed for writing games. This package contains static libraries and header files need for development. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n pygame-%{version} #%patch0 -p1 %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist #--install-headers=%{_includedir}/python/pygame/ rm -f %{buildroot}%{python_sitearch}/pygame/freesansbold.ttf ln -s %{_datadir}/fonts/truetype/FreeSansBold.ttf %{buildroot}%{python_sitearch}/pygame/freesansbold.ttf %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) #%files devel #%defattr(-,root,root) #%dir %{_includedir}/python/pygame #%{_includedir}/python/pygame/*.h %changelog * Mon Sep 18 2023 Automatic Build System 2.5.2-1mamba - automatic version update by autodist * Mon Aug 14 2023 Automatic Build System 2.5.1-1mamba - automatic version update by autodist * Sun Jun 25 2023 Automatic Build System 2.5.0-1mamba - automatic version update by autodist * Mon May 01 2023 Automatic Build System 2.4.0-1mamba - automatic version update by autodist * Tue Mar 14 2023 Automatic Build System 2.3.0-1mamba - automatic version update by autodist * Tue Feb 28 2023 Automatic Build System 2.2.0-1mamba - automatic version update by autodist * Wed Feb 15 2023 Automatic Build System 2.1.3-1mamba - automatic version update by autodist * Mon Dec 27 2021 Automatic Build System 2.1.2-1mamba - automatic version update by autodist * Sat Dec 25 2021 Automatic Build System 2.1.1-1mamba - automatic version update by autodist * Sun Nov 07 2021 Automatic Build System 2.1.0-1mamba - automatic version update by autodist * Mon Nov 01 2021 Automatic Build System 2.0.3-1mamba - automatic version update by autodist * Mon Oct 11 2021 Automatic Build System 2.0.2-1mamba - automatic version update by autodist * Sat Feb 27 2021 Automatic Build System 2.0.1-1mamba - automatic version update by autodist * Tue Nov 10 2020 Silvan Calarco 2.0.0-1mamba - update to 2.0.0 * Sun Aug 18 2019 Silvan Calarco 1.9.6-1mamba - update to 1.9.6 * Thu May 23 2013 Silvan Calarco 1.9.1-4mamba - python 2.7 mass rebuild * Sat Mar 26 2011 Silvan Calarco 1.9.1-3mamba - rebuilt with libjpeg 8 * Fri Oct 30 2009 Ercole 'ercolinux' Carpanetto 1.9.1-1mamba - update to 1.9.1 * Fri Oct 03 2008 Tiziana Ferro 1.8.1-2mamba - fixed freesansbold.ttf permissions * Tue Sep 30 2008 Tiziana Ferro 1.8.1-1mamba - update to 1.8.1 * Tue Aug 09 2005 Silvan Calarco 1.6.2-1qilnx - update to version 1.6.2 by autospec * Mon Dec 20 2004 Massimo Pintore 1.6-1qilnx - package created by autospec