]> git.pld-linux.org Git - packages/Zope-Component.git/blob - Zope-Component.spec
- final 3.4.0
[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.4.0
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:  94afb57dfe605d7235ff562d1eaa3bed
10 BuildRequires:  python >= 1:2.5
11 BuildRequires:  python-devel >= 1:2.5
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.219
14 %pyrequires_eq  python-modules
15 Requires:       Zope-DeferredImport
16 Requires:       Zope-Deprecation
17 Requires:       Zope-Event
18 Requires:       Zope-Interface
19 Requires:       Zope-Proxy
20 Requires:       Zope-Testing
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}
31
32 %build
33 python ./setup.py build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 python ./setup.py install \
39         --install-purelib=%{py_sitedir} \
40         --optimize 2 \
41         --root=$RPM_BUILD_ROOT
42
43 %py_postclean
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %{py_sitedir}/zope/component
51 %{py_sitedir}/zope.component-*.egg-info
52 %{py_sitedir}/zope.component-*-nspkg.pth
This page took 0.044476 seconds and 4 git commands to generate.