]> git.pld-linux.org Git - packages/Zope-Component.git/blob - Zope-Component.spec
- BR: python-setuptools
[packages/Zope-Component.git] / Zope-Component.spec
1 Summary:        Core of the Zope Component Architecture
2 Summary(pl.UTF-8):      Rdzeń Zope Component Architecture
3 Name:           Zope-Component
4 Version:        3.7.1
5 Release:        1
6 License:        ZPL 2.1
7 Group:          Libraries/Python
8 Source0:        http://pypi.python.org/packages/source/z/zope.component//zope.component-%{version}.tar.gz
9 # Source0-md5:  40e71d0cf60db6080b88f17297d778a0
10 BuildRequires:  python >= 1:2.5
11 BuildRequires:  python-devel >= 1:2.5
12 BuildRequires:  python-setuptools
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.219
15 %pyrequires_eq  python-modules
16 Requires:       Zope-DeferredImport
17 Requires:       Zope-Deprecation
18 Requires:       Zope-Event
19 Requires:       Zope-Interface
20 Requires:       Zope-Proxy
21 Requires:       Zope-Testing
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Core of the Zope Component Architecture.
26
27 %description -l pl.UTF-8
28 Rdzeń architektury komponentowej Zope Component Architecture.
29
30 %prep
31 %setup -q -n zope.component-%{version}
32
33 %build
34 python ./setup.py build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 python ./setup.py install \
40         --install-purelib=%{py_sitedir} \
41         --optimize 2 \
42         --root=$RPM_BUILD_ROOT
43
44 %py_postclean
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %{py_sitedir}/zope/component
52 %{py_sitedir}/zope.component-*.egg-info
53 %{py_sitedir}/zope.component-*-nspkg.pth
This page took 0.02569 seconds and 4 git commands to generate.