File python-pyscroll.spec of Package python-pyscroll
#
# spec file for package python-pytmx
#
# Copyright (c) 2020 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/
#
%define commit 65a58a7fbe055a5e61dfa518b96fbc2fe8f907a5
Name: python-pyscroll
Version: 2.19.3
Release: 0
Summary: A generic module for making a fast scrolling image with pygame
License: LGPL-3.0
Group: Development/Libraries/Python
URL: https://github.com/bitcraft/pyscroll
Source: https://github.com/bitcraft/pyscroll/archive/%{commit}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: python3
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-setuptools
BuildRequires: python3-pygame
BuildArch: noarch
%description
pyscroll is a generic module for making a fast scrolling image
with pygame. It uses a lot of magic to get great framerates out
of pygame. It only exists to draw a map. It doesn't load images
or data so you can use your own custom data structures, tile
storage, ect.
%prep
%setup -q -n pyscroll-%{commit}
%build
%python3_build
%install
%python3_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/pyscroll
%files
%license license.txt
%doc README.md
%{python3_sitelib}/*
%changelog