2020-01-13 08:36:29 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-simplekml
|
|
|
|
#
|
2020-03-15 07:41:49 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2020-01-13 08:36:29 +00:00
|
|
|
# Copyright (c) 2016-2019, Martin Hauke <mardnh@gmx.de>
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-03-15 07:41:49 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
2020-01-13 08:36:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
Name: python-simplekml
|
2020-04-15 16:33:22 +00:00
|
|
|
Version: 1.3.5
|
2020-01-13 08:36:29 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A Simple KML creator
|
2020-03-15 07:41:49 +00:00
|
|
|
License: LGPL-3.0-or-later
|
2020-01-13 08:36:29 +00:00
|
|
|
URL: http://readthedocs.org/projects/simplekml/
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/s/simplekml/simplekml-%{version}.tar.gz
|
2020-04-15 16:33:22 +00:00
|
|
|
Source1: https://raw.githubusercontent.com/eisoldt/simplekml/master/LICENSE.txt
|
2020-01-13 08:36:29 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
The python package simplekml was created to generate kml (or kmz).
|
|
|
|
It was designed to alleviate the burden of having to study KML in order to
|
|
|
|
achieve anything worthwhile with it.
|
|
|
|
If you have a simple understanding of the structure of KML, then simplekml
|
|
|
|
is easy to run with and create usable KML.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n simplekml-%{version}
|
2020-04-15 16:33:22 +00:00
|
|
|
sed -i 's/\r$//' README.md
|
2020-01-13 08:36:29 +00:00
|
|
|
cp %{SOURCE1} .
|
2020-03-15 07:41:49 +00:00
|
|
|
|
2020-01-13 08:36:29 +00:00
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
#%%check
|
|
|
|
#Upstream does not have any checks
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE.txt
|
2020-04-15 16:33:22 +00:00
|
|
|
%doc README.md
|
2020-01-13 08:36:29 +00:00
|
|
|
%{python_sitelib}/simplekml
|
2020-03-15 07:41:49 +00:00
|
|
|
%{python_sitelib}/simplekml-%{version}-py%{python_version}.egg-info
|
2020-01-13 08:36:29 +00:00
|
|
|
|
|
|
|
%changelog
|