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