]>
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 | |
6 | Release: 0.%{snap}.1 | |
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 | |
5d8b1fee | 13 | %pyrequires_eq python-modules |
468e201a | 14 | Requires: Zope-DeferredImport |
15 | Requires: Zope-Deprecation | |
16 | Requires: Zope-Event | |
17 | Requires: Zope-Interface | |
18 | Requires: Zope-Proxy | |
19 | Requires: Zope-Testing | |
acbb4a33 | 20 | BuildArch: noarch |
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 |
30 | %setup -q -n zope.component-%{version}dev-%{snap} | |
31 | ||
32 | %build | |
33 | python ./setup.py build | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | python ./setup.py install \ | |
39 | --optimize 2 \ | |
40 | --root=$RPM_BUILD_ROOT | |
41 | ||
42 | %{py_postclean} | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %{py_sitescriptdir}/zope/component | |
acbb4a33 JB |
50 | %{py_sitescriptdir}/zope.component-*.egg-info |
51 | %{py_sitescriptdir}/zope.component-*-nspkg.pth |