]> git.pld-linux.org Git - SPECS.git/blob - python-pyexcelerator.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-pyexcelerator.spec
1 %define         module  pyexcelerator
2 Summary:        Excel 97+ files Python generator
3 Summary(pl.UTF-8):      Pythonowy generator plików Excela 97+
4 Name:           python-%{module}
5 Version:        0.6.4.1
6 Release:        5
7 License:        BSD
8 Group:          Development/Languages/Python
9 Source0:        http://dl.sourceforge.net/%{module}/%{module}-%{version}.tar.bz2
10 # Source0-md5:  8750d7242c2b2c0d496f9a2aaa083097
11 URL:            http://sourceforge.net/projects/pyexcelerator/
12 BuildRequires:  python-devel
13 BuildRequires:  rpm-pythonprov
14 # if py_postclean is used
15 BuildRequires:  rpmbuild(macros) >= 1.710
16 Requires:       python-libs  >= 2.4
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Generating Excel 97+ files with Python 2.4+ (need decorators),
22 importing Excel 95+ files, support for UNICODE in Excel files, using
23 variety of formatting features and printing options, Excel files and
24 OLE2 compound files dumper.
25
26 %description -l pl.UTF-8
27 Generator plików Excel 97+ wymagajacy Python 2.4 (wymaga
28 dekoratorów). Importuje pliki Excel 95+, wsparcie dla Unicode w
29 plikach Excel, używa sporej ilości formatowań i opcji drukowania.
30 Zrzuty plików Excela oraz plików komponentów OLE2.
31
32 %prep
33 %setup -q -n %{module}-%{version}
34
35 %build
36 %py_build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %py_install
41
42 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
43 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
44 %py_postclean
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 # %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
52 %dir %{py_sitescriptdir}/pyExcelerator
53 %{py_sitescriptdir}/pyExcelerator/*.py[co]
54 %if "%{py_ver}" > "2.4"
55 %{py_sitescriptdir}/pyExcelerator-*.egg-info
56 %endif
This page took 0.899653 seconds and 3 git commands to generate.