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