]> git.pld-linux.org Git - packages/Zope-Component.git/blob - Zope-Component.spec
02a86a7d12699cd561995271c9c73fdecb3fbe26
[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
12 BuildRequires:  python-devel
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Core of the Zope Component Architecture.
24
25 %description -l pl.UTF-8
26 Rdzeń architektury komponentowej Zope Component Architecture.
27
28 %prep
29 %setup -q -n zope.component-%{version}dev-%{snap}
30
31 %build
32 python ./setup.py build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 python ./setup.py install \
38         --optimize 2 \
39         --root=$RPM_BUILD_ROOT
40
41 %{py_postclean}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %{py_sitescriptdir}/zope/component
49 %{py_sitescriptdir}/zope*egg*
50 %{py_sitescriptdir}/zope*pth
This page took 0.118009 seconds and 3 git commands to generate.