Name: python-Morpyon Version: 2.0.1 Release: 6mamba Summary: A game where you must align 5 pieces on a board Group: Graphical Desktop/Applications/Games Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://flibuste.net/libre/morpyon/ Source0: http://flibuste.net/libre/morpyon/Morpyon-%{version}.tar.gz Source1: python-morpyon.desktop Patch: python-morpyon-2.0.1-path.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel BuildRequires: python-pygame-devel ## AUTOBUILDREQ-END Requires: python Requires: python-pygame Provides: Morpyon, morpyon Provides: python-morpyon Obsoletes: python-morpyon BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Morpyon (also known as "gomoku") is a game where you must align 5 pieces on a board against a computer opponent. %prep %setup -q -n Morpyon-%{version} %patch -p1 %build %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %{__python} setup.py install \ --root=%{buildroot} \ --install-headers=%{_includedir}/python \ --install-lib=%{python_sitearch} \ --install-data=%{_datadir}/%{name} install -D -m755 morpyon.py %{buildroot}%{_bindir}/morpyon.py install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/morpyon_pygame.py %{_bindir}/morpyon.py %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_datadir}/applications/%{name}.desktop %{python_sitearch}/Morpyon-%{version}-py*.egg-info %changelog * Fri May 17 2013 Silvan Calarco 2.0.1-6mamba - python 2.7 mass rebuild * Sat Oct 17 2009 Silvan Calarco 2.0.1-5mamba - specfile updated and rebuilt with python 2.6 * Fri Dec 23 2005 Davide Madrisan 2.0.1-4qilnx - new desktop file * Wed Aug 17 2005 Massimo Pintore 2.0.1-3qilnx - library directory changed from %{_libdir}/python to %{_libdir}/site-python * Wed Jul 27 2005 Massimo Pintore 2.0.1-2qilnx - added missing requires (python-pygame) * Tue Jul 26 2005 Massimo Pintore 2.0.1-1qilnx - package created by autospec