[packages/python-xlsxwriter] new, version 0.5.3

glen glen at pld-linux.org
Fri Apr 18 10:51:40 CEST 2014


commit 211b7556cc454e438680c1754089a5d3c4944941
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Apr 18 11:51:21 2014 +0300

    new, version 0.5.3

 python-xlsxwriter.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
---
diff --git a/python-xlsxwriter.spec b/python-xlsxwriter.spec
new file mode 100644
index 0000000..36891e3
--- /dev/null
+++ b/python-xlsxwriter.spec
@@ -0,0 +1,59 @@
+%define		pkgname	xlsxwriter
+Summary:	A Python module for creating Excel XLSX files
+Name:		python-%{pkgname}
+Version:	0.5.3
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+Source0:	https://pypi.python.org/packages/source/X/XlsxWriter/XlsxWriter-%{version}.tar.gz
+# Source0-md5:	490074368f784c4a06295a5dca2c0d7d
+URL:		https://github.com/jmcnamara/XlsxWriter
+BuildRequires:	python-devel
+Requires:	python-libs >= 1:2.5
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+XlsxWriter is a Python module for writing files in the Excel 2007+
+XLSX file format.
+
+XlsxWriter can be used to write text, numbers, formulas and hyperlinks
+to multiple worksheets and it supports features such as formatting and
+many more, including:
+- 100% compatible Excel XLSX files.
+- Full formatting.
+- Merged cells.
+- Defined names.
+- Charts.
+- Autofilters.
+- Data validation and drop down lists.
+- Conditional formatting.
+- Worksheet PNG/JPEG images.
+- Rich multi-format strings.
+- Cell comments.
+- Memory optimisation mode for writing large files.
+
+%prep
+%setup -q -n XlsxWriter-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/readme.html README.rst LICENSE.txt
+%dir %{py_sitescriptdir}/%{pkgname}
+%{py_sitescriptdir}/%{pkgname}/*.py[co]
+%{py_sitescriptdir}/XlsxWriter-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-xlsxwriter.git/commitdiff/211b7556cc454e438680c1754089a5d3c4944941



More information about the pld-cvs-commit mailing list