-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-openpyxl.spec
More file actions
49 lines (40 loc) · 1.33 KB
/
python-openpyxl.spec
File metadata and controls
49 lines (40 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
%define module openpyxl
Summary: A Python library to read/write Excel 2007 xlsx/xlsm files
Summary(pl.UTF-8): Biblioteka Pythona do odczytu/zapisu plików w formacie Excela 2007 xlsx/xlsm
Name: python-%{module}
# keep 2.x here for python2 support
Version: 2.6.4
Release: 1
License: MIT/Expat
Group: Development/Languages/Python
Source0: https://files.pythonhosted.org/packages/source/o/openpyxl/%{module}-%{version}.tar.gz
# Source0-md5: f17ddbc7329bca82c2c8d6cd293f3d03
URL: https://openpyxl.readthedocs.io/
BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
Requires: python-modules >= 1:2.7
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Openpyxl is a pure python reader and writer of Excel OpenXML files. It
was initially ported from the PHPExcel project.
%description -l pl.UTF-8
Openpyxl to czysto pythonowa biblioteka do odczytu i zapisu plików
Excel OpenXML. Początkowo był to port projektu PHPExcel.
%prep
%setup -q -n %{module}-%{version}
%build
%py_build
%install
rm -rf $RPM_BUILD_ROOT
%py_install
%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS.rst LICENCE.rst README.rst
%{py_sitescriptdir}/%{module}
%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info