File python3-pytmx.spec of Package python-pytmx
#
# 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 eb96efea30d57b731654b2a167d86b8b553b147d
Name: python3-pytmx
Version: 3.24
Release: 0
Summary: Python library to read Tiled Map Editor's TMX maps
License: LGPL-3.0
Group: Development/Libraries/Python
URL: https://github.com/bitcraft/pytmx
Source: https://github.com/bitcraft/pytmx/archive/%{commit}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: python3
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-setuptools
BuildRequires: python3-six
BuildArch: noarch
%description
PyTMX is a map loader for python/pygame designed for games.
It provides smart tile loading with a fast and efficient
storage base. Not only does it correctly handle most Tiled
object types, it also will load metadata for them so you
can modify your maps and objects in Tiled instead of
modifying your source code.
%prep
%setup -q -n pytmx-%{commit}
%build
%python3_build
%install
%python3_install
%files
%license LICENSE
%doc changelog readme.md
%{python3_sitelib}/*
%changelog