]> git.pld-linux.org Git - SPECS.git/blob - python-xlsxwriter.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.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:  rpmbuild(macros) >= 1.710
12 BuildRequires:  python-devel
13 Requires:       python-libs >= 1:2.5
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 XlsxWriter is a Python module for writing files in the Excel 2007+
19 XLSX file format.
20
21 XlsxWriter can be used to write text, numbers, formulas and hyperlinks
22 to multiple worksheets and it supports features such as formatting and
23 many more, including:
24 - 100% compatible Excel XLSX files.
25 - Full formatting.
26 - Merged cells.
27 - Defined names.
28 - Charts.
29 - Autofilters.
30 - Data validation and drop down lists.
31 - Conditional formatting.
32 - Worksheet PNG/JPEG images.
33 - Rich multi-format strings.
34 - Cell comments.
35 - Memory optimisation mode for writing large files.
36
37 %prep
38 %setup -q -n XlsxWriter-%{version}
39
40 %build
41 %py_build
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 %py_install
46
47 %py_postclean
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc docs/readme.html README.rst LICENSE.txt
55 %dir %{py_sitescriptdir}/%{pkgname}
56 %{py_sitescriptdir}/%{pkgname}/*.py[co]
57 %{py_sitescriptdir}/XlsxWriter-%{version}-py*.egg-info
This page took 0.33309 seconds and 3 git commands to generate.