]> git.pld-linux.org Git - packages/Zope-Component.git/blob - Zope-Component.spec
- fixed summary/description
[packages/Zope-Component.git] / Zope-Component.spec
1 %define snap r73807
2 Summary:        Core of the Zope Component Architecture
3 Name:           Zope-Component
4 Version:        3.4
5 Release:        0.%{snap}.1
6 License:        ZPL 2.1
7 Group:          Libraries/Python
8 Source0:        http://download.zope.org/distribution/zope.component-%{version}dev-%{snap}.tar.gz
9 # Source0-md5:  d91d7c64259a1a2f8e56860a1326725e
10 BuildRequires:  python
11 BuildRequires:  python-devel
12 %pyrequires_eq  python-modules
13 Requires:       Zope-DeferredImport
14 Requires:       Zope-Deprecation
15 Requires:       Zope-Event
16 Requires:       Zope-Interface
17 Requires:       Zope-Proxy
18 Requires:       Zope-Testing
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Core of the Zope Component Architecture.
23
24 %prep
25 %setup -q -n zope.component-%{version}dev-%{snap}
26
27 %build
28 python ./setup.py build
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 python ./setup.py install \
34         --optimize 2 \
35         --root=$RPM_BUILD_ROOT
36
37 %{py_postclean}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %{py_sitescriptdir}/zope/component
45 %{py_sitescriptdir}/zope*egg*
46 %{py_sitescriptdir}/zope*pth
This page took 0.078047 seconds and 5 git commands to generate.