]> git.pld-linux.org Git - packages/Zope-Component.git/blame - Zope-Component.spec
- based on Zope-Testing.spec
[packages/Zope-Component.git] / Zope-Component.spec
CommitLineData
5d8b1fee 1%define snap r73807
2Summary: zope.component package used in Zope 3
3Name: Zope-Component
4Version: 3.4
5Release: 0.%{snap}.1
6License: ZPL 2.0
7Group: Development/Tools
8Source0: http://download.zope.org/distribution/zope.component-%{version}dev-%{snap}.tar.gz
9# Source0-md5: d91d7c64259a1a2f8e56860a1326725e
10BuildRequires: python
11BuildRequires: python-devel
12%pyrequires_eq python-modules
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16zope.component package used in Zope 3.
17
18%prep
19%setup -q -n zope.component-%{version}dev-%{snap}
20
21%build
22python ./setup.py build
23
24%install
25rm -rf $RPM_BUILD_ROOT
26
27python ./setup.py install \
28 --optimize 2 \
29 --root=$RPM_BUILD_ROOT
30
31%{py_postclean}
32
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36%files
37%defattr(644,root,root,755)
38%{py_sitescriptdir}/zope/component
39%{py_sitescriptdir}/zope*egg*
40%{py_sitescriptdir}/zope*pth
This page took 0.066062 seconds and 5 git commands to generate.