]>
Commit | Line | Data |
---|---|---|
322e8459 JB |
1 | Summary: Defer Python module import |
2 | Summary(pl.UTF-8): Opóźnianie importu modułów Pythona | |
2a1d1a85 | 3 | Name: Zope-DeferredImport |
4 | Version: 3.4.0 | |
abccdf26 | 5 | Release: 2 |
3dce3665 | 6 | License: ZPL 2.1 |
7 | Group: Libraries/Python | |
2a1d1a85 | 8 | Source0: http://download.zope.org/distribution/zope.deferredimport-%{version}.tar.gz |
9 | # Source0-md5: fb1929c582c470fe1bfe90f0568f7b20 | |
3989f43c | 10 | URL: http://www.zope.org/ |
322e8459 JB |
11 | BuildRequires: python >= 1:2.5 |
12 | BuildRequires: python-devel >= 1:2.5 | |
13 | BuildRequires: rpm-pythonprov | |
14 | BuildRequires: rpmbuild(macros) >= 1.219 | |
2a1d1a85 | 15 | %pyrequires_eq python-modules |
3dce3665 | 16 | Requires: Zope-Proxy |
17 | Requires: Zope-Testing | |
322e8459 | 18 | BuildArch: noarch |
2a1d1a85 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
322e8459 JB |
22 | Defer Python module import. |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Opóźnianie importu modułów Pythona. | |
2a1d1a85 | 26 | |
27 | %prep | |
28 | %setup -q -n zope.deferredimport-%{version} | |
29 | ||
30 | %build | |
31 | python ./setup.py build | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | python ./setup.py install \ | |
abccdf26 | 37 | --install-purelib=%{py_sitedir} \ |
2a1d1a85 | 38 | --optimize 2 \ |
39 | --root=$RPM_BUILD_ROOT | |
40 | ||
322e8459 | 41 | %py_postclean |
2a1d1a85 | 42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
abccdf26 | 48 | %{py_sitedir}/zope/deferredimport |
49 | %{py_sitedir}/zope.deferredimport-*.egg-info | |
50 | %{py_sitedir}/zope.deferredimport-*-nspkg.pth |