1 %define module pyexcelerator
2 Summary: Excel 97+ files Python generator
3 Summary(pl.UTF-8): Pythonowy generator plików Excela 97+
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
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
33 %setup -q -n %{module}-%{version}
39 rm -rf $RPM_BUILD_ROOT
42 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
43 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
47 rm -rf $RPM_BUILD_ROOT
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