]>
Commit | Line | Data |
---|---|---|
5d8b1fee | 1 | %define snap r73807 |
468e201a | 2 | Summary: Core of the Zope Component Architecture |
7df4ba0e | 3 | Summary(pl.UTF-8): Rdzeń Zope Component Architecture |
5d8b1fee | 4 | Name: Zope-Component |
5 | Version: 3.4 | |
b053b81e | 6 | Release: 0.%{snap}.2 |
468e201a | 7 | License: ZPL 2.1 |
8 | Group: Libraries/Python | |
5d8b1fee | 9 | Source0: http://download.zope.org/distribution/zope.component-%{version}dev-%{snap}.tar.gz |
10 | # Source0-md5: d91d7c64259a1a2f8e56860a1326725e | |
acbb4a33 JB |
11 | BuildRequires: python >= 1:2.5 |
12 | BuildRequires: python-devel >= 1:2.5 | |
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 |
31 | %setup -q -n zope.component-%{version}dev-%{snap} | |
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 |