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