]>
Commit | Line | Data |
---|---|---|
468e201a | 1 | Summary: Core of the Zope Component Architecture |
7df4ba0e | 2 | Summary(pl.UTF-8): Rdzeń Zope Component Architecture |
5d8b1fee | 3 | Name: Zope-Component |
c387674a | 4 | Version: 3.5.1 |
5 | Release: 1 | |
468e201a | 6 | License: ZPL 2.1 |
7 | Group: Libraries/Python | |
4d3949ec | 8 | Source0: http://pypi.python.org/packages/source/z/zope.component//zope.component-%{version}.tar.gz |
c387674a | 9 | # Source0-md5: 006c43ad77ed4982e49c07f6e65b68a2 |
acbb4a33 JB |
10 | BuildRequires: python >= 1:2.5 |
11 | BuildRequires: python-devel >= 1:2.5 | |
e1aeb040 JB |
12 | BuildRequires: rpm-pythonprov |
13 | BuildRequires: rpmbuild(macros) >= 1.219 | |
5d8b1fee | 14 | %pyrequires_eq python-modules |
468e201a | 15 | Requires: Zope-DeferredImport |
16 | Requires: Zope-Deprecation | |
17 | Requires: Zope-Event | |
18 | Requires: Zope-Interface | |
19 | Requires: Zope-Proxy | |
20 | Requires: Zope-Testing | |
5d8b1fee | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
468e201a | 24 | Core of the Zope Component Architecture. |
5d8b1fee | 25 | |
7df4ba0e JB |
26 | %description -l pl.UTF-8 |
27 | Rdzeń architektury komponentowej Zope Component Architecture. | |
28 | ||
5d8b1fee | 29 | %prep |
4d3949ec | 30 | %setup -q -n zope.component-%{version} |
5d8b1fee | 31 | |
32 | %build | |
33 | python ./setup.py build | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | python ./setup.py install \ | |
b053b81e | 39 | --install-purelib=%{py_sitedir} \ |
5d8b1fee | 40 | --optimize 2 \ |
41 | --root=$RPM_BUILD_ROOT | |
42 | ||
e1aeb040 | 43 | %py_postclean |
5d8b1fee | 44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
b053b81e | 50 | %{py_sitedir}/zope/component |
51 | %{py_sitedir}/zope.component-*.egg-info | |
52 | %{py_sitedir}/zope.component-*-nspkg.pth |