2014-07-18 06:40:35 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-openpyxl
|
|
|
|
#
|
2024-01-09 23:14:57 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-07-18 06:40:35 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-08 12:26:06 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-07-18 06:40:35 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-06-30 21:58:23 +02:00
|
|
|
%{?sle15_python_module_pythons}
|
2014-07-18 06:40:35 +02:00
|
|
|
Name: python-openpyxl
|
2024-06-30 21:58:23 +02:00
|
|
|
Version: 3.1.5
|
2014-07-18 06:40:35 +02:00
|
|
|
Release: 0
|
2018-01-10 23:38:14 +01:00
|
|
|
Summary: A Python library to read/write Excel 2010 xlsx/xlsm files
|
2019-01-08 12:26:06 +01:00
|
|
|
License: MIT AND Python-2.0
|
2021-07-27 08:57:44 +02:00
|
|
|
URL: https://foss.heptapod.net/openpyxl/openpyxl
|
2017-05-17 17:17:51 +02:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/o/openpyxl/openpyxl-%{version}.tar.gz
|
2017-08-28 15:13:26 +02:00
|
|
|
BuildRequires: %{python_module et_xmlfile}
|
2024-06-06 17:12:42 +02:00
|
|
|
BuildRequires: %{python_module pip}
|
2017-08-28 15:13:26 +02:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2024-06-06 17:12:42 +02:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-08-28 15:13:26 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-et_xmlfile
|
2014-07-18 06:40:35 +02:00
|
|
|
# for embedded image support
|
|
|
|
Recommends: python-Pillow
|
|
|
|
BuildArch: noarch
|
2017-05-17 17:17:51 +02:00
|
|
|
%python_subpackages
|
2014-07-18 06:40:35 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
openpyxl is a pure python reader and writer of Excel OpenXML files.
|
|
|
|
It is ported from the PHPExcel project
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n openpyxl-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-06-06 17:12:42 +02:00
|
|
|
%pyproject_wheel
|
2014-07-18 06:40:35 +02:00
|
|
|
|
|
|
|
%install
|
2024-06-06 17:12:42 +02:00
|
|
|
%pyproject_install
|
2017-05-17 17:17:51 +02:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2015-06-03 08:35:17 +02:00
|
|
|
mv LICENCE.rst LICENSE.rst
|
2014-07-18 06:40:35 +02:00
|
|
|
|
2017-05-17 17:17:51 +02:00
|
|
|
%files %{python_files}
|
2018-06-29 22:26:07 +02:00
|
|
|
%doc AUTHORS.rst README.rst
|
|
|
|
%license LICENSE.rst
|
2024-06-06 17:12:42 +02:00
|
|
|
%{python_sitelib}/openpyxl
|
|
|
|
%{python_sitelib}/openpyxl-%{version}.dist-info
|
2014-07-18 06:40:35 +02:00
|
|
|
|
|
|
|
%changelog
|