2014-07-18 06:40:35 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-openpyxl
|
|
|
|
#
|
2018-01-10 23:38:14 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-05-17 17:17:51 +02:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2014-07-18 06:40:35 +02:00
|
|
|
Name: python-openpyxl
|
2019-01-08 12:26:06 +01:00
|
|
|
Version: 2.5.12
|
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
|
2014-07-18 06:40:35 +02:00
|
|
|
Group: Development/Languages/Python
|
|
|
|
Url: http://openpyxl.readthedocs.org
|
2017-05-17 17:17:51 +02:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/o/openpyxl/openpyxl-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module devel}
|
2017-08-28 15:13:26 +02:00
|
|
|
BuildRequires: %{python_module et_xmlfile}
|
2017-05-17 17:17:51 +02:00
|
|
|
BuildRequires: %{python_module jdcal}
|
2017-08-28 15:13:26 +02:00
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-et_xmlfile
|
2015-06-03 08:35:17 +02:00
|
|
|
Requires: python-jdcal
|
2014-07-18 06:40:35 +02:00
|
|
|
# for embedded image support
|
|
|
|
Recommends: python-Pillow
|
|
|
|
BuildArch: noarch
|
2018-06-29 22:26:07 +02:00
|
|
|
|
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
|
2017-05-17 17:17:51 +02:00
|
|
|
%python_build
|
2014-07-18 06:40:35 +02:00
|
|
|
|
|
|
|
%install
|
2017-05-17 17:17:51 +02:00
|
|
|
%python_install
|
|
|
|
%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
|
2014-07-18 06:40:35 +02:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|