cacc47a
%global pypi_name xlsxwriter
cacc47a
%global src_name XlsxWriter
cacc47a
cacc47a
Name:		python-%{pypi_name}
c71137c
Version:	1.1.8
0cf92fd
Release:	2%{?dist}
cacc47a
Summary:	Python module for writing files in the Excel 2007+ XLSX file format
cacc47a
License:	BSD
cacc47a
URL:		https://pypi.python.org/pypi/XlsxWriter
cacc47a
Source0:	https://files.pythonhosted.org/packages/source/X/%{src_name}/%{src_name}-%{version}.tar.gz
cacc47a
cacc47a
BuildArch:	noarch
cacc47a
cacc47a
%global common_desc\
cacc47a
XlsxWriter is a Python module for writing files in the Excel 2007+\
cacc47a
XLSX file format.\
cacc47a
\
cacc47a
XlsxWriter can be used to write text, numbers, formulas and hyperlinks\
cacc47a
to multiple worksheets and it supports features such as formatting and\
cacc47a
many more, including:\
cacc47a
\
cacc47a
	100% compatible Excel XLSX files.\
cacc47a
	Full formatting.\
cacc47a
	Merged cells.\
cacc47a
	Defined names.\
cacc47a
	Charts.\
cacc47a
	Autofilters.\
cacc47a
	Data validation and drop down lists.\
cacc47a
	Conditional formatting.\
cacc47a
	Worksheet PNG/JPEG images.\
cacc47a
	Rich multi-format strings.\
cacc47a
	Cell comments.\
cacc47a
	Integration with Pandas.\
cacc47a
	Textboxes.\
cacc47a
	Memory optimization mode for writing large files.\
cacc47a
\
cacc47a
It supports Python 2.7, 3.4+, Jython and PyPy and uses standard libraries only.
cacc47a
cacc47a
%description
cacc47a
%{common_desc}
cacc47a
cacc47a
%package -n python3-%{pypi_name}
7972baf
Summary:		Python 3 modules for writing files in the Excel 2007+ XLSX file format
7972baf
BuildRequires:	python3-setuptools
7972baf
BuildRequires:	python3-devel
cacc47a
%{?python_provide:%python_provide python3-%{pypi_name}}
cacc47a
cacc47a
%description -n python3-%{pypi_name}
cacc47a
%{common_desc}
cacc47a
cacc47a
%prep
cacc47a
%setup -q -n %{src_name}-%{version}
cacc47a
# Remove bundled egg-info
cacc47a
rm -rf %{src_name}.egg-info
cacc47a
cacc47a
%build
cacc47a
%py3_build
cacc47a
cacc47a
%install
cacc47a
%py3_install
cacc47a
cacc47a
%files -n python3-%{pypi_name}
cacc47a
%doc README.rst
cacc47a
%license LICENSE.txt
cacc47a
%{python3_sitelib}/%{pypi_name}
cacc47a
%{python3_sitelib}/%{src_name}-%{version}-py?.?.egg-info
cacc47a
%{_bindir}/vba_extract.py
cacc47a
cacc47a
%changelog
0cf92fd
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.8-2
0cf92fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0cf92fd
c71137c
* Sat May 18 2019 Rajeesh K V <rajeeshknambiar@gmail.com> - 1.1.8-1
c71137c
- New version 1.1.8
c71137c
0b0014c
* Sun Apr 21 2019 Rajeesh K V <rajeeshknambiar@gmail.com> - 1.1.7-1
0b0014c
- New version 1.1.7
0b0014c
7972baf
* Mon Apr 08 2019 Rajeesh KV <rajeeshknambiar@fedoraproject.org> 1.1.6-1
7972baf
- Release 1.1.6, fix issues with  images that started in hidden rows/columns
7972baf
- and mime-type reported by system file(1)
7972baf
cacc47a
* Mon Mar 11 2019 Rajeesh KV <rajeeshknambiar@fedoraproject.org> 1.1.5-1
cacc47a
- Release 1.1.5, initial packaging for Fedora