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