15
0

Accepting request 624863 from home:mnhauke:games

Initial package for python-xsge_path

OBS-URL: https://build.opensuse.org/request/show/624863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xsge_path?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2018-07-24 07:02:18 +00:00
committed by Git OBS Bridge
commit 44b8d64ea8
5 changed files with 92 additions and 0 deletions

61
python-xsge_path.spec Normal file
View File

@@ -0,0 +1,61 @@
#
# spec file for package python-xsge_path
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xsge_path
Version: 1.0.1
Release: 0
Summary: xSGE Path
License: GPL-3.0-or-later
Group: Development/Languages/Python
URL: http://xsge.nongnu.org
Source: https://files.pythonhosted.org/packages/source/x/xsge_path/xsge_path-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-sge-pygame >= 1.0
BuildArch: noarch
%python_subpackages
%description
xSGE is a collection of extensions for the SGE licensed under the GNU
General Public License. They are designed to give additional features
to free/libre software games which aren't necessary, but are nice to
have.
xSGE extensions are not dependent on any particular SGE implementation.
They should work with any implementation that follows the specification.
This extension provides paths for the SGE. Paths are used to make
objects move in a certain way.
%prep
%setup -q -n xsge_path-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README
%license xsge_path/COPYING
%{python_sitelib}/*
%changelog