]> git.pld-linux.org Git - packages/Zope-Component.git/blob - Zope-Component.spec
- python 2.5 for .egg-info
[packages/Zope-Component.git] / Zope-Component.spec
1 %define snap r73807
2 Summary:        Core of the Zope Component Architecture
3 Summary(pl.UTF-8):      Rdzeń Zope Component Architecture
4 Name:           Zope-Component
5 Version:        3.4
6 Release:        0.%{snap}.1
7 License:        ZPL 2.1
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 %pyrequires_eq  python-modules
14 Requires:       Zope-DeferredImport
15 Requires:       Zope-Deprecation
16 Requires:       Zope-Event
17 Requires:       Zope-Interface
18 Requires:       Zope-Proxy
19 Requires:       Zope-Testing
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Core of the Zope Component Architecture.
25
26 %description -l pl.UTF-8
27 Rdzeń architektury komponentowej Zope Component Architecture.
28
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
50 %{py_sitescriptdir}/zope.component-*.egg-info
51 %{py_sitescriptdir}/zope.component-*-nspkg.pth
This page took 0.068678 seconds and 4 git commands to generate.