1 %define pkgname xlsxwriter
2 Summary: A Python module for creating Excel XLSX files
3 Name: python-%{pkgname}
7 Group: Libraries/Python
8 Source0: https://pypi.python.org/packages/source/X/XlsxWriter/XlsxWriter-%{version}.tar.gz
9 # Source0-md5: 490074368f784c4a06295a5dca2c0d7d
10 URL: https://github.com/jmcnamara/XlsxWriter
11 BuildRequires: python-devel
12 Requires: python-libs >= 1:2.5
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 XlsxWriter is a Python module for writing files in the Excel 2007+
20 XlsxWriter can be used to write text, numbers, formulas and hyperlinks
21 to multiple worksheets and it supports features such as formatting and
23 - 100% compatible Excel XLSX files.
29 - Data validation and drop down lists.
30 - Conditional formatting.
31 - Worksheet PNG/JPEG images.
32 - Rich multi-format strings.
34 - Memory optimisation mode for writing large files.
37 %setup -q -n XlsxWriter-%{version}
43 rm -rf $RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc docs/readme.html README.rst LICENSE.txt
54 %dir %{py_sitescriptdir}/%{pkgname}
55 %{py_sitescriptdir}/%{pkgname}/*.py[co]
56 %{py_sitescriptdir}/XlsxWriter-%{version}-py*.egg-info