]> git.pld-linux.org Git - packages/python-xlsxwriter.git/blob - python-xlsxwriter.spec
- release 2 (by relup.sh)
[packages/python-xlsxwriter.git] / python-xlsxwriter.spec
1 %define         pkgname xlsxwriter
2 Summary:        A Python module for creating Excel XLSX files
3 Name:           python-%{pkgname}
4 Version:        0.5.3
5 Release:        2
6 License:        BSD
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
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 XlsxWriter is a Python module for writing files in the Excel 2007+
18 XLSX file format.
19
20 XlsxWriter can be used to write text, numbers, formulas and hyperlinks
21 to multiple worksheets and it supports features such as formatting and
22 many more, including:
23 - 100% compatible Excel XLSX files.
24 - Full formatting.
25 - Merged cells.
26 - Defined names.
27 - Charts.
28 - Autofilters.
29 - Data validation and drop down lists.
30 - Conditional formatting.
31 - Worksheet PNG/JPEG images.
32 - Rich multi-format strings.
33 - Cell comments.
34 - Memory optimisation mode for writing large files.
35
36 %prep
37 %setup -q -n XlsxWriter-%{version}
38
39 %build
40 %py_build
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 %py_install
45
46 %py_postclean
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
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
This page took 0.166372 seconds and 4 git commands to generate.