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