automatic version update by autodist [release 2.4.0-1mamba;Mon May 01 2023]
This commit is contained in:
parent
4580c72f63
commit
2199a3a2bb
@ -1,29 +1,28 @@
|
|||||||
Name: python-pygame
|
Name: python-pygame
|
||||||
Version: 1.9.6
|
Version: 2.4.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A set of Python modules designed for writing games
|
Summary: A set of Python modules designed for writing games
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://pygame.org/
|
URL: https://www.pygame.org/news
|
||||||
Source: http://pygame.org/ftp/pygame-%{version}.tar.gz
|
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
|
Patch0: python-pygame-1.9.1-remove-v4l.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libSDL2-devel
|
||||||
|
BuildRequires: libSDL2_ttf-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libportmidi-devel
|
BuildRequires: libportmidi-devel
|
||||||
BuildRequires: libpython27-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libsdl2_image-devel
|
||||||
BuildRequires: libSDL-devel
|
BuildRequires: libsdl2_mixer-devel
|
||||||
BuildRequires: libSDL_image-devel
|
|
||||||
BuildRequires: libSDL_mixer-devel
|
|
||||||
BuildRequires: libSDL_ttf-devel
|
|
||||||
BuildRequires: libsmpeg-devel
|
|
||||||
BuildRequires: libX11-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python-numeric-devel
|
BuildRequires: python-numeric-devel
|
||||||
Requires: python >= 2.3.4
|
Requires: python >= 2.3.4
|
||||||
@ -42,44 +41,78 @@ Requires: %{name} = %{version}
|
|||||||
Pygame is a set of Python modules designed for writing games.
|
Pygame is a set of Python modules designed for writing games.
|
||||||
This package contains static libraries and header files need for development.
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pygame-%{version}
|
%setup -q -n pygame-%{version}
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build << _EOF
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
Y
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
%{__python} setup.py install --root %{buildroot}\
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{python_inc} \
|
||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--install-headers=%{_includedir}/python/pygame/
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
#--install-headers=%{_includedir}/python/pygame/
|
||||||
|
|
||||||
rm -f %{buildroot}%{python_sitearch}/pygame/freesansbold.ttf
|
rm -f %{buildroot}%{python_sitearch}/pygame/freesansbold.ttf
|
||||||
ln -s %{_datadir}/fonts/truetype/FreeSansBold.ttf %{buildroot}%{python_sitearch}/pygame/freesansbold.ttf
|
ln -s %{_datadir}/fonts/truetype/FreeSansBold.ttf %{buildroot}%{python_sitearch}/pygame/freesansbold.ttf
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/pygame/
|
|
||||||
%{python_sitearch}/pygame/*
|
|
||||||
%dir %{python_sitearch}/pygame-%{version}-py*.egg-info
|
|
||||||
%{python_sitearch}/pygame-%{version}-py*.egg-info/*
|
|
||||||
#%doc WHATSNEW README.txt
|
|
||||||
|
|
||||||
%files devel
|
#%files devel
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%dir %{_includedir}/python/pygame
|
#%dir %{_includedir}/python/pygame
|
||||||
%{_includedir}/python/pygame/*.h
|
#%{_includedir}/python/pygame/*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 01 2023 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Feb 28 2023 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Feb 15 2023 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Dec 27 2021 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Dec 25 2021 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Nov 07 2021 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Nov 01 2021 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Oct 11 2021 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
||||||
|
- update to 2.0.0
|
||||||
|
|
||||||
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.6-1mamba
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.6-1mamba
|
||||||
- update to 1.9.6
|
- update to 1.9.6
|
||||||
|
|
||||||
@ -89,7 +122,7 @@ ln -s %{_datadir}/fonts/truetype/FreeSansBold.ttf %{buildroot}%{python_sitearch}
|
|||||||
* Sat Mar 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-3mamba
|
* Sat Mar 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-3mamba
|
||||||
- rebuilt with libjpeg 8
|
- rebuilt with libjpeg 8
|
||||||
|
|
||||||
* Sat Oct 30 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.9.1-1mamba
|
* Fri Oct 30 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.9.1-1mamba
|
||||||
- update to 1.9.1
|
- update to 1.9.1
|
||||||
|
|
||||||
* Fri Oct 03 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.8.1-2mamba
|
* Fri Oct 03 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.8.1-2mamba
|
||||||
|
Loading…
Reference in New Issue
Block a user