2 Summary: Core of the Zope Component Architecture
3 Summary(pl.UTF-8): Rdzeń Zope Component Architecture
8 Group: Libraries/Python
9 Source0: http://download.zope.org/distribution/zope.component-%{version}dev-%{snap}.tar.gz
10 # Source0-md5: d91d7c64259a1a2f8e56860a1326725e
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-DeferredImport
17 Requires: Zope-Deprecation
19 Requires: Zope-Interface
21 Requires: Zope-Testing
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Core of the Zope Component Architecture.
28 %description -l pl.UTF-8
29 Rdzeń architektury komponentowej Zope Component Architecture.
32 %setup -q -n zope.component-%{version}dev-%{snap}
35 python ./setup.py build
38 rm -rf $RPM_BUILD_ROOT
40 python ./setup.py install \
41 --install-purelib=%{py_sitedir} \
43 --root=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{py_sitedir}/zope/component
53 %{py_sitedir}/zope.component-*.egg-info
54 %{py_sitedir}/zope.component-*-nspkg.pth