14
0
Files
python-sge-pygame/python-sge-pygame.spec

60 lines
1.9 KiB
RPMSpec

#
# spec file for package python-sge-pygame
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sge-pygame
Version: 1.7.1
Release: 0
Summary: A 2-D game engine for Python
License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://python-sge.github.io
Source: https://files.pythonhosted.org/packages/source/s/sge/sge-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-pygame >= 1.9.1
Requires: python-six >= 1.4.0
Requires: python-uniseg
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
%description
The SGE Game Engine is a general-purpose 2-D game engine. It takes
care of several details, such as window size management, collision
detection, parallax scrolling, image transformation.
This implementation of the SGE uses Pygame as a backend.
%prep
%setup -q -n sge-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README README.pygame WHATSNEW WHATSNEW.pygame
%license sge/COPYING sge/COPYING.LESSER
%{python_sitelib}/*
%changelog